Loading
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

  • Community Manager (Flexera Software)

    I haven't tried it, but perhaps the setFileAttributes method of FileService will do it?
  • 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.

Loading
How to change permission of installed file during installation ?