Custom help message for bootstrapper /? /help in command line

Need help authoring your installer? Ask the community for tips and advice.
Post Reply
maneugeant
Posts: 2
Joined: Thu Oct 31, 2019 3:57 am

Custom help message for bootstrapper /? /help in command line

Post by maneugeant » Thu Oct 31, 2019 4:21 am

We are using the exe bootstrapper as described here:
https://www.advancedinstaller.com/user- ... -file.html
Some of our users want to disable auto updates, and search for a way to do so by finding the advanced installer command line help, which suggests using /exenoupdates. The setting that actually works is NSTALL_UPDATER="NONE" as it is forwarded to msiexec.

Is there a way for our installer to customize the command line help message to suggest the correct option to users instead of the misleading one?

Eusebiu
Posts: 4673
Joined: Wed Nov 14, 2012 2:04 pm

Re: Custom help message for bootstrapper /? /help in command line

Post by Eusebiu » Tue Nov 05, 2019 5:08 pm

Hi and welcome to our forums.

The /exenoupdates command is related to the "Check for updates before installation" option from the "Updater" page. I'm afraid that the Bootstrapper help cannot be customized.

However, you can use a checkbox on one of your dialogs and explicitly let the user choose if the Updater will be installed or not.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

maneugeant
Posts: 2
Joined: Thu Oct 31, 2019 3:57 am

Re: Custom help message for bootstrapper /? /help in command line

Post by maneugeant » Thu Nov 07, 2019 4:44 am

Is there a suggested workaround to make the help page less misleading? Is it possible for us to somehow forward the state of /exenoupdates through to msiexec or otherwise query it during installation such that it has the same behavior as our custom INSTALL_UPDATOR="NONE" value that currently controls our update behavior?

Our experience in the UI is the way we like it, the concern is for users that are only interested in a command line solution and discover this, then complain that our app still uses the update service even though they specified /exenoupdates, which of course does not have the intended effect.

Eusebiu
Posts: 4673
Joined: Wed Nov 14, 2012 2:04 pm

Re: Custom help message for bootstrapper /? /help in command line

Post by Eusebiu » Mon Nov 11, 2019 4:47 pm

Hi,

Unfortunately, we do not have any workaround for this. That command cannot be overwritten neither its result captured to be used later in the MSI package.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Post Reply