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: Automatically reset read-only flag of files that are installed
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
Jun 18, 2009
11:01 PM
Automatically reset read-only flag of files that are installed
Our ancient version of Installshield Express would automatically clear the read-only flag of all the files that we install. Is there any way to do that from Installshield 2008? We are installing several hundred files in multiple folders, so not very simple to go through all that with a SetFileInfo call.
(1) Reply
Jul 12, 2009
08:27 PM
Check the directories that InstallShield is retrieving the files from when building the installer. Do the files in these directories already have the read-only attribute set? By default, InstallShield automatically carries over the files' read-only attribute. There are at least two ways to change this:
1. Unset the read-only attribute on the files before building the installer.
2. Go to the File Properties dialog for the file in question and check the "Override system attributes" checkbox. Then uncheck the "Read-only" checkbox. Check or uncheck the other checkboxes as appropriate.
1. Unset the read-only attribute on the files before building the installer.
2. Go to the File Properties dialog for the file in question and check the "Override system attributes" checkbox. Then uncheck the "Read-only" checkbox. Check or uncheck the other checkboxes as appropriate.