Synopsis
Product built on 2016 Installshield version, installs well. But on install, it throws this message:
The setup must update files or services that cannot be updated while system is running. If you choose to continue, a reboot will be required to complete the setup.
I click on OK, it uninstalls fine and I don't see any issues.
Is there a way to tell which files it is looking and prevent this message from popping up?
Discussion
The message that you are seeing is automatically thrown directly by the Windows Installer Engine and usually suggests that its unable to access a file as its locked (maybe due to a running application or service).
Please make sure that your application is not running,and no services or processes which may be using your files are also not running.
You can try to determine which files are locked by logging the uninstall, information about how to set up Windows Installer logging can be found here: https://support.microsoft.com/en-gb/help/223300/how-to-enable-windows-installer-logging
Once you have your log try searching for "in use" to see if this provides any useful hints as to what is going on.
If you are happy that your application is uninstalled correctly and do not want to troubleshoot which files are causing this, you can try adding the property "MSIRESTARTMANAGERCONTROL" with value "disable" in the property manager of your project.
https://msdn.microsoft.com/en-us/library/windows/desktop/aa370377%28v=vs.85%29.aspx
Related Articles
Launch an MSI Package Through a Custom Action in Express 3Number of Views Detecting Whether an Installation is Running on a Virtual Machine Returns True When Ran on a Physical Machine with Hyper-V… 6Number of Views Suite Project Build Error -7239 3Number of Views Display of Suite Controls Based on Feature Selection 8Number of Views Setting INSTALLDIR to the Root Drive 3Number 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