Summary
A possible scenario which could trigger the $RESTART_NEEDED$ to YES_REQUIRED.Synopsis
This article discusses one possible scenario which could trigger the $RESTART_NEEDED$ to YES_REQUIRED.
Discussion
In an InstallAnywhere project, there is an action named ?Restart Windows?. By default, this action has two rules applied to it which check the values of the following variables:
The Restart Windows action is activated only if $RESTART_NEEDED$ contains a YES and $USER_REQUESTED_RESTART$ does not contain a NO.
During an uninstallation, the uninstaller will determine whether or not the system needs to be restarted, and if it is necessary, it will set the $RESTART_NEEDED$ accordingly.
Rebooting the system or deleting the file (if the file with the same name as the Product ID exists) from the temp directory will get rid of the above dialog box.
A ?Show Message Dialog? action can be placed in the project to see the value of $RESTART_NEEDED$.
Related Articles
How to Cast $SKIP_UNINSTALL$ InstallAnywhere Variable To String Or Boolean Data Type 3Number of Views Restart Prompt Displaying Even When 'Show restart needed messages (Windows only)' Disabled 9Number of Views Generating InstallAnywhere Log for Install and Uninstall with InstallAnywhere 2010 and Earlier 18Number of Views Font Uninstall Triggers a Reboot Prompt if Font is Not Installed in FontsFolder 5Number of Views Add/Remove Programs Hangs When Launching an Application During Uninstall 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. | |
Revenera Assistant
Case id: 00001065
Activity: Status change: 2 hours ago