|
-
May 22nd, 2008, 07:46 PM
#1
Thread Starter
PowerPoster
Path/File access error in Vista
In the latest update to one of our programs a file located at 'C:\Program Files\AppName' was renamed which works OK on all OS except Vista where I (as well as other users) are getting a 'Error 75 Path/File access' error.
If I right click on the app shortcut and select Run as Administrator the file is renamed without error but the database for the program is now being read from C:\Program File\AppName where previously (on Vista) it was being read from Computer --> C: --> Users --> 'YourUserName' --> AppData --> Local --> VirtualStore --> Program Files --> AppName so when the app opens it's reading the wrong database.
So my questions are:
1. Why is the error occurring when attempting to rename the file in C:\Program Files\AppName and how do I overcome this?
2. During the App Setup (use Inno) can I somehow make sure the App is run as administrator on Vista?
Thanks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|