Patch file command line options not working - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

neilrobertson
Posts: 9
Joined: Tue Sep 01, 2009 11:08 am

Patch file command line options not working

just tried 7.2's new command line patch features and they dont appear to be working I just get the unrecognised command
list come up ie just a list of valid commands as the exe file is not recognising the /NewMspTarget command any ideas?

Neil
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Patch file command line options not working

Hi Neil,

Please make sure that the .aip project you are editing through the command line is a patch project. Here is an example of correct usage:

Code: Select all

AdvancedInstaller.com /edit MyMspProject.aip 
    /NewMspTarget -upgraded "MyUpgradedImage" -target "MyTargetImage" 
    -path "C:\target.msi"
Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
neilrobertson
Posts: 9
Joined: Tue Sep 01, 2009 11:08 am

Re: Patch file command line options not working

tried the correct syntax and I get the target and upgrdaded msi's added but they dont add correctlly. if you do it from the command line the msi's are not unpacked as they are when you do it from the gui and consequently when you come to do a build it fails, because AI can't find any of the unpackaged msi contents as they are obvously not there. Any ideas / Help!!!!?

Return to “Common Problems”