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!

VivRajkumar
Posts: 3
Joined: Wed Aug 20, 2014 6:53 pm

Set Launch Condition for BuildType Restriction from command line

Heya,

Just wondering if it's possible to set the launch condition for the installer as x86/x64 from the command line before invoking build?

Currently with our project, from the command line, we set

PackageVersion
PackageType
APPDIR

by setting these three from the command line and then invoking the build of the project also from the command line, we're able to share one project to share all the installer setup code and build corresponding installers for x86/x64.

When we now want to restrict the x64 installer from getting run on an x86 machine, the launch condition is ideal to restrict the same. However it doesnt seem to be an option we can set from the command line. We're thus forced to have two builds one for x86 and another for x64. This makes updating the project a pain cos you now got to remember and make the same change in both builds for 99% of things.

Is there any way to do this without needing a new buildlist entry or separate project alltogether?
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Set Launch Condition for BuildType Restriction from command line

Hi,

I'm afraid we don't have support for this. However, we have added an improvement on our TODO list for a new command line and it will be available next year in a future version of Advanced Installer. Thank you for your suggestion.

If you have other questions, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Set Launch Condition for BuildType Restriction from command line

Hello,

This improvement has been added in version 13.0 of Advanced Installer released on June 2nd, 2016.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”