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: How to change permission of installed file during installation ?
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
‎Dec 27, 2007
06:52 AM
How to change permission of installed file during installation ?
Hi ,
During installation installer is extracting a zip and now we want to change the
permission of the extracted file to executable. Can anyone suggest how to do it ?
We are using ExpandArchive Product action to extract a zip file, downloaded from URL :http://www.installshield.com//downloads/beans.asp?prod=mpf
Regards,
Chetan
During installation installer is extracting a zip and now we want to change the
permission of the extracted file to executable. Can anyone suggest how to do it ?
We are using ExpandArchive Product action to extract a zip file, downloaded from URL :http://www.installshield.com//downloads/beans.asp?prod=mpf
Regards,
Chetan
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 28, 2007
07:58 AM
I haven't tried it, but perhaps the setFileAttributes method of FileService will do it?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 09, 2008
08:24 AM
Are you saying that you just want to give the file extracted from the zip executable permissions?
If so then you should be able to do this on Unix using the chmod command and on Windows you can use the cacls command. Just type cacls into a Windows command window and you will see the options.
If so then you should be able to do this on Unix using the chmod command and on Windows you can use the cacls command. Just type cacls into a Windows command window and you will see the options.