SubZero
Posts: 63
Joined: Mon Mar 14, 2011 10:29 am

Restart Manager Problem

Hi AI-Team,
I am currently having problems with the restart manager during update. For some reason it does not detect that my services will be stopped during update and therefore asks if they should be shut down.
I added my configuration as attachement, if I stop them before doing the update everything is fine but that should not be necessary.
Attachments
restartmanagerproblem.jpg
restartmanagerproblem.jpg (56.16 KiB) Viewed 3133 times
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Restart Manager Problem

Hello,

I'm afraid that this dialog ("FilesInUse" on XP and "MsiRMFilesInUse" on Vista) is managed automatically by Windows Installer during the InstallValidate standard action when the installer checks if any file is in use and if so, it displays that dialog.

This dialog can be avoided by running a Detect and Stop custom actions before the install/uninstall process which stops the processes which use the files.
Please take a look on the How to detect a service? How-to article which may be useful to you.

Please let us know if that helped, otherwise give us more details about your specific scenario.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”