Set version per command line - Advanced Installer Community
Kratzer
Posts: 66
Joined: Wed Apr 10, 2013 5:36 pm

Set version per command line

Hello all,

I have a question about setting version of installer package / merge modules.

We have a setup project where translation of directories is enabled because of different entries in start menu. Now we have a lot of auto generated documentation as pdf and html etc.
Html directories are varying some times, so folders have been moved to merge modules without translation of directores.

Is it correct that versions of merge modules have to be increased too if complete package is used as major upgrade?

There are 11 merge modules...

Do I have a chnace to increase the versions of the merge modules via command line or is it possible to set it via environment variable?

Thank you and best regards,
Bernd
Kratzer
Posts: 66
Joined: Wed Apr 10, 2013 5:36 pm

Re: Set version per command line

...may be it is ok to set "always overwrite" for all files in merge module and let the version as it is.

Best regards,
Bernd
Kratzer
Posts: 66
Joined: Wed Apr 10, 2013 5:36 pm

Re: Set version per command line

...setting option "Always overwrite" in MM does not help, doesn't help in Setup package using MMs.

Best regards
Bernd
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Set version per command line

Hello Bernd,
Is it correct that versions of merge modules have to be increased too if complete package is used as major upgrade?
No, this is not mandatory. The version of the MSM package doesn't influence in any manner an upgrade installation. The MSM version should be used only to differentiate two different versions of the same MSM package.
Do I have a chnace to increase the versions of the merge modules via command line or is it possible to set it via environment variable?
I'm afraid neither of these is possible. I've added on our list to add CLI support to set the MSM version. Thank you for your suggestions.

If there is anything else we can assist you with just let us know.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Kratzer
Posts: 66
Joined: Wed Apr 10, 2013 5:36 pm

Re: Set version per command line

Hi Daniel,

thank you for adding it to your issue list.

Forget my comments after my initial question, it was my mistake :-)

We use Jenkins to auto install one of all our versions (currently 3) with monthly upgrades (--> 36 Setups at the end of the year :-)).
Jenkins jobs use variables to install the desired Version, and I forgot to set the correct one.

Thank you and best regards,
Bernd
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Set version per command line

Hello Bernd,

I've talked with our development team about /SetVersion command for merge modules projects and it seems our existing /SetVersion command already works for MSMs too. Therefore you can simply use it for your MSM projects too:

Code: Select all

AdvancedInstaller.com /edit myMSM.aip /SetVersion 2.0.0
We will update our help files with this info in the next version of Advanced Installer. Thank you for bringing this to our attention.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”