Summary
MAINTENANCE property
Synopsis
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
How to Determine if a Property Has Been Set or Not in a Condition for Suite/Advanced UI Projects 8Number of Views Make a Property Available During Uninstall Maintenance and During Patching 4Number of Views FlexNet Code Insight error: 'update.socks.proxy-password' property is not encrypted 7Number of Views Missing FlexNet in PLC even though customer has just renewed the maintenance 14Number of Views Disable Maintenance and Uninstall for a Basic MSI Project 7Number 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. | |
Revenera Assistant
Case id: 00001065
Activity: Status change: 2 hours ago