This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Windows Vista Folder Permissions
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Nov 20, 2008
10:10 AM
Windows Vista Folder Permissions
Hi,
I'm having problems with folder permissions in InstallShield Express 2009. I can create a package, and install runs fine on Vista, but after install when we try to overwrite files to the installation folder in code, it fails, we suspect due to folder and file permissions. If the install installs to the desktop, it works fine and we have permissions, but if we install to "program files", later when we wish to write files to the folder, again, it fails.
How do we force the installation to make sure the folders it creates at installation time allow the user full read/write permissions?
This works fine on XP.
I notice there is a page allowing us to set folder permissions in InstallShield, but it asks for a "Domain" and a "User". However, we wish everyone to have full permissions on the folder after install, so what do we have to set here, or anywhere, to get around this problem?
Thanks,
Jim
I'm having problems with folder permissions in InstallShield Express 2009. I can create a package, and install runs fine on Vista, but after install when we try to overwrite files to the installation folder in code, it fails, we suspect due to folder and file permissions. If the install installs to the desktop, it works fine and we have permissions, but if we install to "program files", later when we wish to write files to the folder, again, it fails.
How do we force the installation to make sure the folders it creates at installation time allow the user full read/write permissions?
This works fine on XP.
I notice there is a page allowing us to set folder permissions in InstallShield, but it asks for a "Domain" and a "User". However, we wish everyone to have full permissions on the folder after install, so what do we have to set here, or anywhere, to get around this problem?
Thanks,
Jim
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Nov 25, 2008
04:43 AM
In the Vista model you should ideally be writing data into the program data area, but then I prefer to keep stuff all in one place, and having code that behaves differently under XP and Vista is a pain.
What I have done is add Users as the user to the permissions and granted them the permissions I want in the Files Folder.
Using the generic name Users seems to add all the actual users i.e. the Users group on the vista box
What I have done is add Users as the user to the permissions and granted them the permissions I want in the Files Folder.
Using the generic name Users seems to add all the actual users i.e. the Users group on the vista box
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)