Summary
This article shows how an InstallAnywhere Variable can be set based on the installer UI modeSynopsis
This article shows how an InstallAnywhere Variable can be set based on the installer UI mode
Discussion
InstallAnywhere installers can be run in three different UI modes: Gui, Console and Silent. The InstallAnywhere variable that holds the value of the Installer UI mode is INSTALLER_UI.
$INSTALLER_UI$=SWING
In Console mode:
$INSTALLER_UI$=CONSOLE
In Silent mode:
$INSTALLER_UI$=SILENT
1. Add a Set InstallAnywhere Variable action in the Pre-Install sequence such that
Variable Name: $Variable_1$
Set Value To: value_1
2. Go to Rules tab of the Set InstallAnywhere Variable action and click on ?Add Rule? to add ?Compare InstallAnywhere Variables? rule where
Operand 1: $INSTALLER_UI$
Equals
Operand 2: SWING
In the above example, the variable Variable_1 gets set to value_1 only if installer is run in Gui mode.
Related Articles
Setting an InstallAnywhere Variable from within Custom Code 7Number of Views Not Able to Set InstallAnywhere Variable 3Number of Views How to Cast $SKIP_UNINSTALL$ InstallAnywhere Variable To String Or Boolean Data Type 3Number of Views Setting an Environment Variable on Unix / Linux using InstallAnywhere 4Number of Views Output InstallAnywhere Variables 5Number 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. | |
Case id: 00001065
Activity: Status change: 2 hours ago