cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
chetanchatwani
Level 3

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
Labels (1)
0 Kudos
(2) Replies
RobertDickau
Flexera Alumni

I haven't tried it, but perhaps the setFileAttributes method of FileService will do it?
0 Kudos
MEinstaller
Level 7

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.
0 Kudos