cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
SSigamani91
Level 3

RestartManager: Successfully shut down all applications in the service's session that held files in use

Dear Flexera,

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.

 

Labels (1)
0 Kudos
(3) Replies
Varaprasad
Level 7 Flexeran
Level 7 Flexeran

Can you try passing /clone_wait parameter to setup.exe from launcher.exe?

0 Kudos

Thank you for the answer. 

Unfortunately the result is same.  it closes the launcher exe.

0 Kudos

Hello,

 

After few investigation,  the setup.exe tries to close the process of launcher.exe even though there were no dependencies. 

Please find the attachment image.

can anyone help me not to kill the process  or to hide "file in use" dialog. 

Thank you.

 

0 Kudos