newinst cmd line it's not working - Advanced Installer Community
phistecaca
Posts: 6
Joined: Fri Oct 14, 2016 8:31 am

newinst cmd line it's not working

Hi! I'm trying to use the /newinst parameter for my .exe build but it's not working. The msiexec help pops up... I'm using AI 10.3 build 51779 in trial mode.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: newinst cmd line it's not working

Hello,

This is because the command line support for multiple instances was added starting with version 11.6 of Advanced Installer. So, to use the multiple instances command line support you will need to use Advanced Installer 11.6 or newer.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
phistecaca
Posts: 6
Joined: Fri Oct 14, 2016 8:31 am

Re: newinst cmd line it's not working

Thanks, newer version works correctly!
Do you know if it's possible to avoid default instance installation in order to force the gui to show instance selection even on first installation?
phistecaca
Posts: 6
Joined: Fri Oct 14, 2016 8:31 am

Re: newinst cmd line it's not working

I think I've found a partial solution. From Table Editor, select BootstrapperUISequence table and remove the "AI_BOOTSTRAPPER AND AI_EXIST_INSTANCES" condition from "MultipleInstancesDlg" action. Now the MultipleInstancesDlg is shown even when the installer is launched from the very first time. The problem is that the instances list contains the default instance #0 that must not be selectable by the user. Is it possible to remove it from that list?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: newinst cmd line it's not working

Hello,
Do you know if it's possible to avoid default instance installation in order to force the gui to show instance selection even on first installation?
I'm afraid that this is the normal behavior and we do not have support for instance selection dialog on first install.

Also, we don't recommend changing values in BootstrapperUISequence table, because doing this can change how the multiple instances projects works and can lead to installation erroneous behavior.

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

Return to “Common Problems”