Summary
MAINTENANCE propertySynopsis
In InstallScript, the MAINTENANCE system variable is set to True when an installation is being run in maintenance mode. This article explains how this variable is set to True.
Discussion
The MAINTENANCE property is set upon the existence of the uninstall log that is created by the InstallScript section of the project. If this log exists, the property is set to True.
The way that InstallShield determines whether or not there is a log file is by looking in the registry. In the registry, InstallShield looks in the HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\ProductCode key for the path to the log file. If the key does not exist in this location, InstallShield looks in the HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\InstallShield Uninstall Information location. The key should exist in one of these locations and upon finding it, the MAINTENANCE system variable is set to True.
Related Articles
InstallCognos.ps1 script may fail with error: "encrypt" property is set to "true" and "trustServerCertificate" property is… 4Number of Views Make a Property Available During Uninstall Maintenance and During Patching 3Number of Views Why is the invoice reference field showing as blank on the 'Maintenance and support overview' report? 6Number of Views How to Determine if a Property Has Been Set or Not in a Condition for Suite/Advanced UI Projects 3Number of Views Incorrect update date shown when a custom property is updated 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