cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted

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
Pilgrim

Re: How to change permission of installed file during installation ?

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

Re: How to change permission of installed file during installation ?

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