Detecting Conditions on the Target System
InstallShield 2024
Project:
• | Advanced UI |
• | Basic MSI |
• | DIM |
• | InstallScript |
• | InstallScript MSI |
• | InstallScript Object |
• | Merge Module |
• | MSI Database |
• | MSM Database |
• | QuickPatch |
• | Suite/Advanced UI |
• | Transform |
When you are creating an installation, you may need to make sure that certain conditions exist on the target system. For example, if your product requires a particular operating system, your installation may need to check the target system to ensure that this requirement is met. If the requirement is not met, your installation might display an error to inform the end user about the requirement.
InstallShield includes support for detecting various conditions on a target system. This section includes the following topics:
• | Building Conditional Statements |
• | Detecting Administrator and Elevated Privileges |
• | Detecting First-Time Installations, Maintenance Mode, and Uninstallation |
• | Triggering Behavior Only During a First-Time Installation |
• | Detecting If the End User has Selected a Specific Feature |
• | Detecting If the End User is Running a Particular Operating System |
• | Detecting Whether the Installation Is Being Run on a Virtual Machine |
• | Building Conditional Statements in Advanced UI and Suite/Advanced UI Projects |