RestartManager: Successfully shut down all applications in the service's session that held files in use
We have a following situtation:
We have a setup.exe
we have launcher exe which was developed in .NET
Here Launcher exe calls setup.exe silently with parameters. and there is no dependency between setup.exe & the launcher exe. they are independent.
when setup.exe is running, during mid-way, the parent launcher exe closes automatically and in background setup.exe thread was still running.
During the above process, we got an following logs:
MSI (s) (50:B4) [18:34:15:514]: RESTART MANAGER: Will attempt to shut down and restart applications in no UI modes.
MSI (c) (0C:40) [18:34:15:554]: RESTART MANAGER: Session opened.
MSI (s) (50:B4) [18:34:15:759]: RESTART MANAGER: Successfully shut down all applications in the service's session that held files in use.
MSI (c) (0C:40) [18:34:15:792]: RESTART MANAGER: Successfully shut down all applications that held files in use
during restart manager execution, it actually closes the launcher exe.
also we got logs in Event viewer:
Entry 1: Application 'D:\Setup\MP4.1_Setup\Gms.InstallerSetup.exe' (pid 7432) cannot be restarted - Application SID does not match Conductor SID..
Entry 2: Machine restart is required.
Entry 3: Starting session 2 - 2019-08-07T07:07:55.624839400Z.
Entry 4: Shutting down application or service 'Siemens.GMS.InstallerSetup'.
Entry 5: Starting session 0 - 2019-08-07T07:07:56.572934200Z.
how to handle this case. Please help me out.