Summary
How to configure a custom install condition based on the target operating systemSynopsis
This article describes how to configure a custom install condition based on the target operating system. An install condition based on the target operating system will restrict the user to only run the installer on particular operating systems. Otherwise, the installer should display an appropriate message to the user stating that the target operating system is not allowed for the installer to continue. The message also usually displays a list of the allowed operating system(s).
Discussion
Follow these steps:- Open the project in the Installation Designer view.
- Navigate to the Installation Information > General Information view.
- Click the ellipsis on the right-hand side of the row labeled Install Condition under the General section.
- Click the plus (+) button on the top, right corner of the popup dialog to add a new condition.
- Specify the condition in the Condition column of the newly created row.
For example, to only allow the installer to continue when the target operating system is Windows XP SP3 or Windows Vista SP1, specify the following condition:
(VersionNT=501 AND ServicePackLevel=3) OR (VersionNT=600 AND ServicePackLevel=1) - Specify the message to display to the user, if the condition is not met, in the Message column of the newly created row.
- Click the OK button.
- Build the project.
- Test the installer.
Additional Information
For additional information regarding the available Operating System MSI Properties, read the MSDN article entitled Operating System Property Values.Related Articles
Create an Install Condition Based on Registry Entry using Installshield 3Number of Views Install Different Files Based on the Operating System 32/64-Bit 8Number of Views Gathering diagnostic tracing from a FlexNet inventory agent process on Unix-like operating systems 135Number of Views Install Conditions Based on Information Read from the Registry 4Number of Views Create Condition based on Feature being Installed 4Number 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