
01-13-2010
|
|
|
|
Application crashes if installed in C:\Program Files
Hi,
I've created an application that crashes with a Vista error message
when it's installed in C:\Program Files(the default location). If I just
copy the application folder into, say, C:\, it works. The application
also works flawlessly in XP. I'm guessing this has something to do with
the fact that Vista doesn't allow write access to C:\Program Files? How
can I get the application to work? From what I've read online, Vista is
supposed to transparently relocate the files to
C:\Users\username\AppData\VirtualStore\Program Files\My Application\ but
this doesn't seem to happen since it crashes.
My application works if I run it as administrator btw. It's built with
Visual Studio 2005 with the Vista SP1 update.
Thanks.
--
galapogos
|