Problem: Restart Manager kills process in No UI mode. - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

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

Problem: Restart Manager kills process in No UI mode.

Hi Advanced Installer Team,
at the beginning of an upgrade of our installation a couple of services is stopped via advanced installer ( in order to update the files). the screenshot
servicestostop.PNG
servicestostop.PNG (27.54 KiB) Viewed 4839 times
shows that we are stopping the service pdspostgres during the upgrade.
in no UI (e.g. silent mode) the Restart Manager does not detect that this service is stopped that's why he kills the service, which is bad because he does not stop all of the postgres processes and because of that we get problems in the later upgrade phase.
Here is the corresponding msi-logfile part:
MSI (s) (B4:2C) [22:01:46:069]: RESTART MANAGER: Will attempt to shut down and restart applications in no UI modes.
MSI (s) (B4:2C) [22:01:46:070]: RESTART MANAGER: Detected that the service pdstomcat64 will be stopped due to a service control action authored in the package before the files are updated. So, we will not attempt to stop this service using Restart Manager
MSI (s) (B4:2C) [22:01:46:071]: RESTART MANAGER: Detected that the service PDSScheduler64 will be stopped due to a service control action authored in the package before the files are updated. So, we will not attempt to stop this service using Restart Manager
MSI (c) (E0:40) [22:01:46:075]: RESTART MANAGER: Session opened.
MSI (s) (B4:2C) [22:02:04:417]: RESTART MANAGER: Failed to shut down all applications in the service's session. Error: 351
MSI (c) (E0:40) [22:02:04:418]: RESTART MANAGER: Successfully shut down all applications that held files in use.


As you can see the service detects that pdstomcat64 and pdsscheduler64 are stopped later on but it does not detect that we also stop postgres via advanced installer. Do you have any suggestions what we can do in order to tell the restart manager that pdspostgres is stopped and that it should not kill the process in order to avoid later problems? Thanks in advance :).
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Problem: Restart Manager kills process in No UI mode.

Hello,

You can try to uncheck the "On Install" -> "Stop" action and see if the behavior persists.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”