Thank you for your help Ronnie.
I did find it interesting that if our program is run by right clicking our
shortcut and then select run as administrator, the hidden files now appear
within the softwares, program files folder. Thus appearing to bypass the
virtualization folders. Its also still intersting that by using the FAR
program i listed, you can still see the files in the original folder.
Virtualization was somthing we were not very aware of in vista.
Functionally speaking our software works well in xp, and also vista however
this new virtualization is giving us some difficulties in
installing/uninstalling and updating our software, as well as some
annoyances in running our progam.
Some of the issues we are having which may be in part to the virtualiztion
and new permissions/security UAC systems are as follows:
Problem 1: Installer issues:
Our installer does not overwrite the files which end up in the
virtualization folder, Possibly because it is not aware of this feature, so
we are looking into trying a new version of our existing installer or
entirely new installer. This is problematic when it comes to uninstalling or
installing over our software. Thus upgrading our software is currently not
possible without manualy deleting these hidden virtualized files or their
containing folders (which is somthing we want to avoid). Our current
installer also allows the user to select which folder they want to install
our software to, thus nothing stops them from using protected folders like
program files (which is still our default folder to install to). This is
somthing we have to resolve, and i guess we may have to put limits on which
folders our software is allowed to install in, and maybe change our default
folder to somewhere else avoiding program files.
Problem 2: Config file writting:
So now since we can no longer write to our .cfg files in program files, we
are left to finding an alternative location for these files, or start writing
this data to some other non standard madeup extension file other then .cfg.
Problem 3: Unidentified Publisher:
We now have to look into how we can become an identified publisher.
Basically what is necesary to avoid these warnings that pop up every time we
try running our program as administrator.
So we are searching to see what is necessary, and what this is going to cost
us.
Problem 4: Run without Administrator:
Right now if we run manually select our software shortcut and run as
administrator, the files show up in our usuall program files folder, and
everything works as usuall. So maybe one option is to find a way to always
run our software with full admin, yet avoid the annoying warning signs,
without resorting to disabling UAC, which we dont want or plan on doing, as
we wouldent expect people who use our software to have to do this. Also a
better option is to do what is necessary to our software so that it fully
operates in the least permission normal accounts.
In regards to the above problems we have found some websites that do explain
a few things, but some of this is confusing, with various possible solutions
making it difficult to select our best path forward, this is somthing that
will take some time for us to test out and discover.
Any further help you can provide in terms of links or advice is greatly
appreciated.
Many thanks, for your two posts which have been very informative.
"Ronnie Vernon MVP" wrote:
> Lab Technician
>
> Have you searched the drive for these files?
>
> These files may be subject to the Virtualization for Vista, this is for
> non-compatible programs that store user configurable files such as .cfg,
> .ini, and other user files out of the
>
> %systemroot%\Program Files\program name, folder(s)
>
> and places them in the
>
> %systemroot%\Users\username\AppData\Local\VirtualStore\Program Files\program
> name, folder.
>
> If this is the case, then when you open your software programs folder In
> Windows Explorer, you should see a "Show compatability files" button on the
> Command Bar. Clicking this button will take you directly to the Virtual
> Store folder.
>
> --
>
> Ronnie Vernon
> Microsoft MVP
> Windows Shell/User
>
>
> "LabTechnician" <LabTechnician@discussions.microsoft.com> wrote in message
> news:4EDCFB41-22AA-4BB0-9276-0BBD4EAC7049@microsoft.com...
> > Hello.
> > We have a computer with Windows Vista Business 32bit on a Machine here in
> > our Lab.
> > We are trying to figure out why some of the files in our software are
> > always
> > hidden.
> > We are logged in as administrator, and we have set the folder options so
> > that it always shows hidden files and folders, and to always show
> > protected
> > operating system files. and to always show file extensions.
> >
> > In windows xp we see these files in windows explorer, with no problems.
> > However to see them in windows vista we have to use the following
> > application
> > http://farmanager.com/
> > With this application we can see all the hidden files in the folder,
> > however
> > for some reason windows vista's explorer does not show these files, and we
> > can not see them even in the windows vista Dos comand prompt.
> >
> > We have no idea why these files are hidden or how to make it so that they
> > are not hidden in windows vista, after they are installed through our
> > installer.
> > some of the file names are as follows.
> > _config.cfg
> > _sa.cfg
> > We are not sure if it is because vista will always hide files named this
> > way, we tried renaming one of the files to random dfl.bda, and then all of
> > a
> > sudden we could see the file.
> >
> > We appreciate all the help anyone can give us.
> > Thanks in advance.
>