Code: Select all
1. Create new professional project file
AdvancedInstaller.com /newproject passportpos.aip -type professional
2. Set the application dir for the project
AdvancedInstaller.com /edit passportpos.aip /SetAppDir -buildname DefaultBuild -path [ProgramFilesFolder][Manufacturer]\[ProductName]
3. Set the shortcut directory (the name of the folder structure for the shortcut in the start menu)
AdvancedInstaller.com /edit passportpos.aip /SetShortcutdir -buildname DefaultBuild -path [ProgramMenuFolder][ProductName]
4. Add files/folders to the project (files/folders can be added individually. this syncs the folders so it's always up-to-date)
AdvancedInstaller.com /edit passportpos.aip /NewSync "APPDIR" "..\bin-release\Passport POS" -existingfiles delete
Code: Select all
AdvancedInstaller.com /edit Passport-cache /SetPackageName "Passport POS.exe" -buildname DefaultBuild
File not found: "<path to parent of project>\Passport-cache".