INSTALLSCRIPTMSI

InstallShield 2016 » InstallScript Language Reference

INSTALLSCRIPTMSI is defined in InstallScript MSI and Basic MSI projects, but it is undefined and evaluates as zero in InstallScript projects.

Note • INSTALLSCRIPTMSI is not a preprocessor switch; therefore, you can use this script variable to create script code that will work differently in the two project types without being recompiled.

You can use INSTALLSCRIPTMSI to write a single script that produces different behavior in the different project types by including code such as the following in your script:

if( INSTALLSCRIPTMSI ) then

  //Code for InstallScript MSI and Basic MSI projects...

else

  //Code for InstallScript projects...

endif;