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!

spaul@data.com.au
Posts: 5
Joined: Wed Jul 04, 2018 5:01 am

Detect the installation is a silent or quiet or done via command line

During silent install, SetProperty action defaults a few folders paths which was usually configured via UI.

how do i detect a silent install(via a installer property etc.) so that I can detect and invoke a custom action or disable the setproperty.
Workaround is to have an input parameter when executed via commandline
Catalin
Posts: 7853
Joined: Wed Jun 13, 2018 7:49 am

Re: Detect the installation is a silent or quiet or done via command line

Hello,
how do i detect a silent install(via a installer property etc.)...
The installer sets the UILevel property to the level of the user interface. The internal UI is enabled and set by MsiSetInternalUI function. This property is set to one of the following INSTALLUILEVEL data types:

- 2 --> Completely silent installation (silent UI).

- 3 --> Simple progress and error handling.

- 4 --> Authored UI, wizard dialogs suppressed (basic UI).

- 5 --> Authored UI with wizards, progress, errors (full UI).

You can use the above property as a condition for your custom action.

Please let me know if this helps.

Kind regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”