mtilev
Posts: 44
Joined: Wed Dec 04, 2013 1:19 pm

Stopping a previously installed service on Update installation hangs

Thu Dec 07, 2017 1:01 pm

Hello,

I am experiencing the following issue while installing a newer version of an Advanced Installer packaged software containing a windows service on a Windowws 10 Enterprise (64bit) machine (Version 1607, Build 14393.1770):

Code: Select all

Aktion gestartet um 12:36:00: INSTALL.
MSI (s) (F0:30) [12:36:00:941]: Running ExecuteSequence
MSI (s) (F0:30) [12:36:00:941]: Doing action: AI_EnableDebugLog
MSI (s) (F0:30) [12:36:00:955]: Creating MSIHANDLE (108) of type 790542 for thread 18480
MSI (s) (F0:90) [12:36:00:956]: Invoking remote custom action. DLL: C:\Windows\Installer\MSIC32.tmp, Entrypoint: EnableDebugLog
MSI (s) (F0!2C) [12:36:00:974]: Creating MSIHANDLE (109) of type 790531 for thread 10796
Aktion gestartet um 12:36:00: AI_EnableDebugLog.
MSI (s) (F0!2C) [12:36:00:975]: Closing MSIHANDLE (109) of type 790531 for thread 10796
MSI (s) (F0:90) [12:36:00:975]: Closing MSIHANDLE (108) of type 790542 for thread 18480
AI_EnableDebugLog: Log disabled
MSI (s) (F0:30) [12:36:00:976]: Doing action: AI_DETECT_MODERNWIN
Aktion beendet um 12:36:00: AI_EnableDebugLog. Rückgabewert 1.
MSI (s) (F0:30) [12:36:00:990]: Creating MSIHANDLE (110) of type 790542 for thread 18480
MSI (s) (F0:B0) [12:36:00:991]: Invoking remote custom action. DLL: C:\Windows\Installer\MSIC52.tmp, Entrypoint: DetectModernWindows
MSI (s) (F0!1C) [12:36:01:007]: PROPERTY CHANGE: Modifying VersionNT property. Its current value is '603'. Its new value: '1000'.
MSI (s) (F0!1C) [12:36:01:007]: PROPERTY CHANGE: Modifying VersionNT64 property. Its current value is '603'. Its new value: '1000'.
MSI (s) (F0!1C) [12:36:01:007]: PROPERTY CHANGE: Modifying WindowsBuild property. Its current value is '9600'. Its new value: '14393'.
MSI (s) (F0:B0) [12:36:01:008]: Closing MSIHANDLE (110) of type 790542 for thread 18480
Aktion gestartet um 12:36:00: AI_DETECT_MODERNWIN.
MSI (s) (F0:30) [12:36:01:009]: Doing action: StopWebticService
Aktion beendet um 12:36:01: AI_DETECT_MODERNWIN. Rückgabewert 1.
The service writes its own logfile and it contains messages that a stop is being done. Can you provide some insights why the install process hangs at this point?

Thanks and kind regards,

Milen Tilev

Daniel
Posts: 8237
Joined: Mon Apr 02, 2012 1:11 pm
Contact:  Website

Re: Stopping a previously installed service on Update installation hangs

Mon Dec 11, 2017 2:10 pm

Hello Milen,

I'm cannot say why this could happen. Can you try to manually trigger the related stop action outside of the setup package and see if the same behavior is encountered? If so, you could try maybe to debug your custom action code?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”