Setup.exe Command Line & Passing CheckBox Properties - Advanced Installer Community
Collins
Posts: 142
Joined: Wed Oct 12, 2016 2:57 pm

Setup.exe Command Line & Passing CheckBox Properties

I have an exe feature-based installer with multiple installs and I need to run it from command line silently. In the UI, there is a checkbox property and some are checked and some are unchecked. The Properties for each checkbox are added to each feature under "Organization" to conditionally install based on if the property is checked or unchecked (under Installation Behavior). When running the exe silently from command line and passing the checkbox properties with a value of either PROPERTY="Checkbox" or PROPERTY="", it doesn't install anything. If no checkbox properties are used, it installs everything. the command line I'm using is below:

"C:\MyInstaller.exe" /exenoui APP1="" APP2="CheckBox" APP3="" APP4="CheckBox" APP5="" APP6="" APP7="" /qn MSIPROPERTY1="C:\Program Files (x86)\myapp" MSIPROPERTY2="value" /l*vx C:\INSTALLER.txt

When I run it without the /qn switch, it runs the exe with the exe UI and the proper check boxes are selected, but I need it to be without UI. What's the correct way to install it silently and be able to pass the checkbox properties and MSI properties through command line?
Collins
Posts: 142
Joined: Wed Oct 12, 2016 2:57 pm

Re: Setup.exe Command Line & Passing CheckBox Properties

I attached the AIP file.
Installer.aip
(74.77 KiB) Downloaded 594 times
Sorin
Posts: 663
Joined: Mon May 08, 2017 1:03 pm

Re: Setup.exe Command Line & Passing CheckBox Properties

Hello,

We've tested your scenario but couldn't reproduce your issue. Please send us a verbose log of the installation to support at advancedinstaller dot com so we can investigate it, along with the command line used for the installation.

Best regards,
Sorin
Sorin Stefan - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”