Prerequisities and features in command line install - 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!

mari
Posts: 6
Joined: Thu Mar 17, 2011 10:18 am

Prerequisities and features in command line install

Hello,

I am wondering if I can choose which prerequisities are installed when launching installer from command line without user interaction. For example, can I add some parameters to:

Code: Select all

MyInstaller.exe /qn
JRE and .exe prerequsities work fine in GUI installation. Prequisities use "Global prerequisite installs before main MSI install". The above command line call installs MainFeature silently but shows a GUI for prerequisities. I would like to disable user interaction totally.

BR
- Mari -
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Prerequisities and features in command line install

Hi Mari and welcome to the Advanced Installer Forums,
I am wondering if I can choose which prerequisities are installed when launching installer from command line without user interaction.
An installer package's prerequisites are installed only if their detection criteria is not met. For more information please follow this article from our user guide. The prerequisite concept is also resumed at this web page.
The above command line call installs MainFeature silently but shows a GUI for prerequisities. I would like to disable user interaction totally.
This can be achieved from the Prerequisites Page by selecting a Silent Install UI Level for the Bootstrapper UI. Also, you should add the "/qn" switch to the command line of each prerequisite.

Best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
mari
Posts: 6
Joined: Thu Mar 17, 2011 10:18 am

Re: Prerequisities and features in command line install

I think I did not express myself completely.

I would like to have the prerequisities GUI when calling:

Code: Select all

MyInstaller.exe
This is why I don't want the
Silent Install UI Level for the Bootstrapper UI
.

But I would like to choose the installed prerequisities from command line as well, in no interaction model ie.

Code: Select all

MyInstaller.exe /qn INSTALL_REQ_A="true" INSTALL_REQ_B="false"
or similar.

If I understood right, I cannot use public properties as a detection criteria for prerequisities. (This is done somehow in GUI mode.) Is there another way of telling from command line?

How can set the Silent install for Bootstrapper as execution parameter. I want to enable both gui and silent installs.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Prerequisities and features in command line install

Hi,
But I would like to choose the installed prerequisities from command line as well, in no interaction model ie.
How would you know which prerequisites need to be installed and which are already present on the target machine? Please note that this is done automatically when running the bootstrapper with no UI.
How can set the Silent install for Bootstrapper as execution parameter. I want to enable both gui and silent installs.
You can use :

Code: Select all

/exenoui
For more information please follow this article from our user guide.

Best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”