You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are more details at: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/RestartManager-Failed-to-register-the-process-name-td7597824.html
And whether the root cause is a "different session" is admittedly an assumption at this point. The scenario is that if several different applications launch a windows tray app (with hidden window) AND if one of those applications is a service running under LOCALSERVICE account, then WixRegisterRestartResources results in a fatal error. If the instance running under LOCALSERVICE is terminated prior to running the bundle then using util:RestartResource with the tray app's process name works with all other instances running. So if RmuAddProcessesByName cannot be changed to detect the instance running under LOCALSERVICE, it would be desirable for this to not be a fatal error. As it is I have to remove util:RestartResource and implement code to support prompting the user to do a reboot. The later is OK, but if we could also use util:RestartResource, then in the scenarios where the LOCALSERVICE instance is not an issue, the Restart Manager could handle the other scenarios without prompting for a reboot.
Added following snippet from verbose log.
MSI (s) (B4:B8) [12:40:57:561]: Doing action: WixRegisterRestartResources
Action ended 12:40:57: MigrateFeatureStates. Return value 1.
MSI (s) (B4:D8) [12:40:57:590]: Invoking remote custom action. DLL: C:\Windows\Installer\MSIC38D.tmp, Entrypoint: WixRegisterRestartResources
MSI (s) (B4:CC) [12:40:57:590]: Generating random cookie.
MSI (s) (B4:CC) [12:40:57:592]: Created Custom Action Server with PID 2184 (0x888).
MSI (s) (B4:64) [12:40:57:611]: Running as a service.
MSI (s) (B4:64) [12:40:57:612]: Hello, I'm your 32bit Impersonated custom action server.
Action start 12:40:57: WixRegisterRestartResources.
MSI (s) (B4!CC) [12:40:57:639]: Note: 1: 2711 2:
WixRegisterRestartResources: Entering WixRegisterRestartResources in C:\Windows\Installer\MSIC38D.tmp, version 3.9.1006.0
WixRegisterRestartResources: Registering process name RmStreaming.exe with the Restart Manager.
WixRegisterRestartResources: Error 0x80070005: Failed to register the process name with the Restart Manager session.
CustomAction WixRegisterRestartResources returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Action ended 12:40:57: WixRegisterRestartResources. Return value 3.
Action ended 12:40:57: INSTALL. Return value 3.
Please let me know how I can help.
Originally opened by phogland
The text was updated successfully, but these errors were encountered:
There are more details at:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/RestartManager-Failed-to-register-the-process-name-td7597824.html
And whether the root cause is a "different session" is admittedly an assumption at this point. The scenario is that if several different applications launch a windows tray app (with hidden window) AND if one of those applications is a service running under LOCALSERVICE account, then WixRegisterRestartResources results in a fatal error. If the instance running under LOCALSERVICE is terminated prior to running the bundle then using util:RestartResource with the tray app's process name works with all other instances running. So if RmuAddProcessesByName cannot be changed to detect the instance running under LOCALSERVICE, it would be desirable for this to not be a fatal error. As it is I have to remove util:RestartResource and implement code to support prompting the user to do a reboot. The later is OK, but if we could also use util:RestartResource, then in the scenarios where the LOCALSERVICE instance is not an issue, the Restart Manager could handle the other scenarios without prompting for a reboot.
Added following snippet from verbose log.
MSI (s) (B4:B8) [12:40:57:561]: Doing action: WixRegisterRestartResources
Action ended 12:40:57: MigrateFeatureStates. Return value 1.
MSI (s) (B4:D8) [12:40:57:590]: Invoking remote custom action. DLL: C:\Windows\Installer\MSIC38D.tmp, Entrypoint: WixRegisterRestartResources
MSI (s) (B4:CC) [12:40:57:590]: Generating random cookie.
MSI (s) (B4:CC) [12:40:57:592]: Created Custom Action Server with PID 2184 (0x888).
MSI (s) (B4:64) [12:40:57:611]: Running as a service.
MSI (s) (B4:64) [12:40:57:612]: Hello, I'm your 32bit Impersonated custom action server.
Action start 12:40:57: WixRegisterRestartResources.
MSI (s) (B4!CC) [12:40:57:639]: Note: 1: 2711 2:
WixRegisterRestartResources: Entering WixRegisterRestartResources in C:\Windows\Installer\MSIC38D.tmp, version 3.9.1006.0
WixRegisterRestartResources: Registering process name RmStreaming.exe with the Restart Manager.
WixRegisterRestartResources: Error 0x80070005: Failed to register the process name with the Restart Manager session.
CustomAction WixRegisterRestartResources returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Action ended 12:40:57: WixRegisterRestartResources. Return value 3.
Action ended 12:40:57: INSTALL. Return value 3.
Please let me know how I can help.
The text was updated successfully, but these errors were encountered: