Summary
It is possible to determine if a New-Style InstallScript MSI is running silently by checking the value of the property MSICLIENTUSESEMBEDDEDUI.
Synopsis
It is possible to determine if a New-Style InstallScript MSI is running silently by checking the value of the property MSICLIENTUSESEMBEDDEDUI.
Discussion
In a New-Style InstallScript MSI, the normal means of detecting whether an installation is silent will not work. This is because an InstallScript MSI uses the MSI portion for actual changes to the system but uses the InstallScript engine to power the UI. In New-style, the UI is included within the actual MSI.
As a result, the current running mode can actually be determined by checking the value of the property MSICLIENTUSESEMBEDDEDUI.MSICLIENTUSESEMBEDDEDUI will only be set when an installer is using an embedded UI.
This means it will only be set if the new-style InstallScript MSI is not running silently. In order to access the MSICLIENTUSESEMBEDDEDUI property, it is necessary to push the property into CustomActionData and check it from there.
Related KB Articles
Deferred Execution Custom Action Cannot Retrieve a Property Value
Related Articles
Logging An InstallScript MSI Project 477Number of Views How to Localize Product Name in Installscript MSI Project 7Number of Views Silently Uninstall an InstallScript MSI Project 8Number of Views Detecting If a MSI Setup Is Running from the Add/Remove Programs 7Number of Views Creating an Uninstall Shortcut for an InstallScript MSI Project 8Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add additional feedback (optional)
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
|
FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513
(toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367
(toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895
2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Revenera Assistant
Case id: 00001065
Activity: Status change: 2 hours ago