Can't Change Package Name via cmd line - 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!

brendan
Posts: 1
Joined: Tue Apr 20, 2010 5:33 am

Can't Change Package Name via cmd line

The instructions are pretty vague on how to properly edit project files. I need to do this without executing a file of commands, as I need to use env variables for which I don't want to have to parse and edit the execute file with each build..

Currently I am doing the following:
AdvancedInstaller.com /edit foo.aip /SetPackageName foo-X.X.%SVN_REVISION%.msi -buildname DefaultBuild
AdvancedInstaller.com /edit foo.aip /SetVersion X.X.%SVN_REVISION%
AdvancedInstaller.com /build foo.aip

The package builds fine, but the package name and version are not updated. And I am given a package named "foo.msi".

The instructions say:
The Advanced Installer command line accepts a set of commands that modify the specified project. The modification is performed in three stages, sequenced as follows:
Load
Modify
Save
Am I assuming correctly that the '/edit' command executes these 3 stages? Or could my problem be that I am need to load and save the edited aip file somehow as well?

thanks for any help in advance
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Can't Change Package Name via cmd line

Hi,

This problem is caused by a bug in Advanced Installer 7.6 regarding the command line option "/SetPackageName". The fix has been issued and will be available
in the next version, 7.6.1, very soon.

Until then you can use a previous version of Advanced Installer with no problems.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”