I'm trying to automate the create of the installer using command line. However, I'm on the step to add different permissions to files but it fails.
I've used the sample commands provided on the website to be sure I'm not making a mistake anywhere.
Code: Select all
C:\>mkdir MyProject
C:\>"AdvancedInstaller.com" /newproject "C:\MyProject\Sample.aip" -type "professional" -lang "en" -overwrite
C:\>"AdvancedInstaller.com" /edit "C:\MyProject\Sample.aip" /AddFile APPDIR C:\Windows\notepad.exe
C:\>advancedinstaller.com /edit "C:\MyProject\Sample.aip" /AddFilePermission APPDIR\notepad.exe -username Everyone -full_control
Invalid MSI identifier string [APPDIR\notepad.exe].
If I'm using /SetFilePermission instead of /AddFilePermission the error message is: "Unexpected exception"
FOLLOW US
Get the latest news in Application Packaging