INSTALLSCRIPTMSIEEUI

InstallShield 2022 ยป InstallScript Language Reference

The INSTALLSCRIPTMSIEEUI variable is set to enable an installation to determine at run time whether the InstallScript engine is used as the embedded user interface (UI) handler for an InstallScript MSI installation. This implementation is also known as the new style of InstallScript UI.

If the InstallScript engine is used as the embedded user interface handler for an InstallScript MSI installation, INSTALLSCRIPTMSIEEUI is set to TRUE. If it is not an embedded user interface handler, this variable is set to FALSE.

Tip:For information on using the InstallScript engine as an embedded user interface handler for an InstallScript MSI installation, see Using the InstallScript Engine as an External vs. Embedded UI Handler for InstallScript MSI Installations.

You can use INSTALLSCRIPTMSIEEUI to write a single script that produces different behavior for the different user interface styles by including code such as the following in your script:

if( INSTALLSCRIPTMSIEEUI ) then

  //Code for new-style InstallScript MSI installations

  //(InstallScript engine as an embedded UI handler)...

else

  //Code for traditional-style InstallScript MSI installations

  (InstallScript engine as an external UI handler)...

endif;