https://bugs.winehq.org/show_bug.cgi?id=36142
Bug ID: 36142 Summary: Symantec Norton 360 installer fails ('HKLM\System\CurrentControlSet\Services\RpcSs' service entry not present) Product: Wine Version: 1.7.17 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: loader Assignee: wine-bugs@winehq.org Reporter: focht@gmx.net
Hello folks,
as the summary says...
Fortunately the installer writes a log file:
--- snip -- $ find . -name "*.log" ./users/Public/Application Data/NortonInstaller/Logs/2014-04-28-12h15m58s/NortonInstall-2014-04-28-12h15m58s.log
--- snip --
Relevant part:
--- snip -- ... 2014-04-28-12-15-59-931 : 0x0037 : Information : ===> Start: CheckForServiceError 2014-04-28-12-15-59-932 : 0x0037 : Information : OpenService(PlugPlay, 0x1) 2014-04-28-12-15-59-932 : 0x0037 : Information : OpenService(Schedule, 0x1) 2014-04-28-12-15-59-933 : 0x0037 : Information : OpenService(Schedule, 0x3) 2014-04-28-12-15-59-933 : 0x0037 : Information : ChangeServiceConfig(Schedule, 2, C:\windows\system32\svchost.exe -k netsvcs, (null), Task Scheduler) 2014-04-28-12-15-59-933 : 0x0037 : Information : OpenService(Schedule, 0x115) 2014-04-28-12-15-59-934 : 0x0037 : Information : StartService 2014-04-28-12-16-00-104 : 0x0037 : Information : Waiting for Schedule service to start. 2014-04-28-12-16-00-104 : 0x0037 : Information : Service status is set to 4 2014-04-28-12-16-00-104 : 0x0037 : Information : Service status before exit 4 2014-04-28-12-16-00-105 : 0x0037 : Information : OpenService(RpcSs, 0x1) 2014-04-28-12-16-00-106 : 0x0037 : Error : OpenService failed: RpcSs (1060) 2014-04-28-12-16-00-106 : 0x0037 : Information : OpenService(TermService, 0x1) 2014-04-28-12-16-00-107 : 0x0037 : Information : CSCMModify returned 0x80070424 2014-04-28-12-16-00-107 : 0x0037 : Information : <=== Finish: CheckForServiceError, Time: 176ms 2014-04-28-12-16-00-107 : 0x0037 : Information : Unable to delete DING\ReturnCode/LCReturnCode 2014-04-28-12-16-00-107 : 0x0037 : Information : URL: http://errors.norton.com?module=9999&error=2&build=Symantec&d=0&... 2014-04-28-12-16-00-108 : 0x0037 : Information : RunOnce: removed "N360" ... --- snip ---
The installer validates the Remote Procedure Call (RPC) service entry and refuses to run further if not.
Small recap about RPC architecture: http://technet.microsoft.com/en-us/library/cc738291%28v=ws.10%29.aspx ("How RPC Works")
Screenshot showing service entries: http://smallvoid.com/article/winnt-services-regedit.html
Adding the minimal set of keys manually lets the installer continue (only to run into next bug).
--- snip --- [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\RpcSs] "Description"="Provides the endpoint mapper and other miscellaneous RPC services." "DisplayName"="Remote Procedure Call (RPC)" "ErrorControl"=dword:00000001 "ImagePath"="C:\windows\system32\svchost.exe -k rpcss" "ObjectName"="LocalSystem" "PreshutdownTimeout"=dword:00000000 "Start"=dword:00000002 "Type"=dword:00000020 --- snip ---
New log:
--- snip --- 2014-04-28-12-31-56-828 : 0x0034 : Information : ===> Start: CheckForServiceError 2014-04-28-12-31-56-829 : 0x0034 : Information : OpenService(PlugPlay, 0x1) 2014-04-28-12-31-56-830 : 0x0034 : Information : OpenService(Schedule, 0x1) 2014-04-28-12-31-56-831 : 0x0034 : Information : OpenService(RpcSs, 0x1) 2014-04-28-12-31-56-832 : 0x0034 : Information : OpenService(RpcSs, 0x3) 2014-04-28-12-31-56-832 : 0x0034 : Information : ChangeServiceConfig(RpcSs, 2, C:\windows\system32\svchost.exe -k rpcss, (null), Remote Procedure Call (RPC)) 2014-04-28-12-31-56-833 : 0x0034 : Information : OpenService(TermService, 0x1) 2014-04-28-12-31-56-834 : 0x0034 : Information : CSCMModify returned 0x00000000 2014-04-28-12-31-56-834 : 0x0034 : Information : <=== Finish: CheckForServiceError, Time: 6ms --- snip ---
Source:
http://source.winehq.org/git/wine.git/blob/cb35df7ee61944adf083543f9872c9e97...
Regardshttp://source.winehq.org/git/wine.git/blob/cb35df7ee61944adf083543f9872c9e97...
$ sha1sum N360-TW-21.1.0-EN-US.exe aa05ccf9668e166ef28923d451f1c2ecad6f75f1 N360-TW-21.1.0-EN-US.exe
$ du -sh N360-TW-21.1.0-EN-US.exe 202M N360-TW-21.1.0-EN-US.exe
$ wine --version wine-1.7.17-92-ge2bf516
Regards
https://bugs.winehq.org/show_bug.cgi?id=36142
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, Installer URL| |http://us.norton.com/downlo | |ads-trial-norton-360
https://bugs.winehq.org/show_bug.cgi?id=36142
--- Comment #1 from Anastasius Focht focht@gmx.net --- Hello folks,
whoops ... I should have checked the other terminal for services messages. Services/svnhost complains about failing autostart 'RpcSs' service (and missing registry entries).
So even if the installer is happy (by finding the keys in registry) this will currently not work.
The hosting of the endpoint mapper ('rpcss.dll' as service dll) is not possible because it's not present :|
Wine's needs to support Windows 2000+ architecture for RPC server/service where the individual services were moved to generic service host (hence 'C:\windows\system32\svchost.exe -k rpcss').
Regards
https://bugs.winehq.org/show_bug.cgi?id=36142
--- Comment #2 from Anastasius Focht focht@gmx.net --- Hello folks,
revisiting, obviously still present.
$ wine --version wine-1.7.54-179-ga0d0d0d
Regards
https://bugs.winehq.org/show_bug.cgi?id=36142
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish@gmail.com
--- Comment #3 from Austin English austinenglish@gmail.com --- https://source.winehq.org/patches/data/116385
https://bugs.winehq.org/show_bug.cgi?id=36142
--- Comment #4 from Austin English austinenglish@gmail.com --- (In reply to Austin English from comment #3)
https://source.winehq.org/git/wine.git/commitdiff/f46f2149cceacab8455ce2c7f3...
https://bugs.winehq.org/show_bug.cgi?id=36142
--- Comment #5 from Anastasius Focht focht@gmx.net --- Hello folks,
I think there was a misunderstanding here.
My original comment:
--- quote --- Adding the minimal set of keys manually lets the installer continue (only to run into next bug).
<registry snippet>
<log output> ... 2014-04-28-12-31-56-831 : 0x0034 : Information : OpenService(RpcSs, 0x1) 2014-04-28-12-31-56-832 : 0x0034 : Information : OpenService(RpcSs, 0x3) 2014-04-28-12-31-56-832 : 0x0034 : Information : ChangeServiceConfig(RpcSs, 2, C:\windows\system32\svchost.exe -k rpcss, (null), Remote Procedure Call (RPC))
--- quote ---
doesn't talk about adding a single registry key to trick the installer.
With "service entry" I meant having a *valid* entry for the service control manager to be able to manage/recognize it as service (like builtin 'Lanman Server', 'Task Scheduler', 'WIA Service' ...) - even if it would be fake.
The installer doesn't simply check the registry entry but tries to open the service via SCM. That single registry key added by the commit won't do any good - it's simply ignored by SCM on startup:
--- snip --- ... trace:service:scmdatabase_load_services Loading service L"RpcSs" trace:service:load_service_config Image path = (null) trace:service:load_service_config Group = (null) trace:service:load_service_config Service account name = (null) trace:service:load_service_config Display name = (null) trace:service:load_service_config Service dependencies : (none) trace:service:load_service_config Group dependencies : (none) trace:service:scmdatabase_load_services Even the service type not set for service L"RpcSs" - skipping ... --- snip ---
Regards
https://bugs.winehq.org/show_bug.cgi?id=36142
--- Comment #6 from Austin English austinenglish@gmail.com --- https://source.winehq.org/patches/data/116683
https://bugs.winehq.org/show_bug.cgi?id=36142
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de
--- Comment #7 from Fabian Maurer dark.shadow4@web.de --- Is this still relevant as of current wine?
https://bugs.winehq.org/show_bug.cgi?id=36142
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |8df5add2d7aac41a9299c100cde | |7977b3549cfb7 Resolution|--- |FIXED Summary|Symantec Norton 360 |Symantec Norton 360 |installer fails |installer fails ('rpcss' |('HKLM\System\CurrentCont |needs to be a proper |rolSet\Services\RpcSs' |Windows service) |service entry not present) | URL|http://us.norton.com/downlo |http://buy-download.norton. |ads-trial-norton-360 |com/downloads/2014/21.1/N36 | |0/US/N360-TW-21.1.0-EN.exe Status|NEW |RESOLVED
--- Comment #8 from Anastasius Focht focht@gmx.net --- Hello folks,
this was fixed by commit https://source.winehq.org/git/wine.git/commitdiff/8df5add2d7aac41a9299c100cd... (part of Wine 1.9.18)
Thanks Alexandre
--- snip --- $ find .wine -iname *.log .wine/drive_c/ProgramData/NortonInstaller/Logs/2018-09-09-11h45m20s/NortonInstall-2018-09-09-11h45m20s.log --- snip ---
--- snip --- ... 2018-09-09-11-45-20-701 : 0x0009 : Information : install version: 9.1.0.26 2018-09-09-11-45-20-701 : 0x0009 : Information : command line: Z:\home\focht\Downloads\N360-TW-21.1.0-EN.exe 2018-09-09-11-45-20-701 : 0x0009 : Information : base install folder: C:\Program Files (x86)\NortonInstaller 2018-09-09-11-45-20-701 : 0x0009 : Information : install log folder: C:\ProgramData\NortonInstaller\Logs\2018-09-09-11h45m20s 2018-09-09-11-45-20-701 : 0x0009 : Information : install temp folder: C:\ProgramData\NortonInstaller\SymTemp 2018-09-09-11-45-20-703 : 0x0009 : Information : Install Cache: C:\Program Files (x86)\NortonInstaller{0C55C096-0F1D-4F28-AAA2-85EF591126E7}\N360\A5E82D02\21.1.0.18 ... 2018-09-09-11-45-22-155 : 0x0053 : Information : <=== Finish: CheckForServiceReboot, Time: 16ms 2018-09-09-11-45-22-155 : 0x0053 : Information : ===> Start: CheckForServiceError 2018-09-09-11-45-22-157 : 0x0053 : Information : OpenService(PlugPlay, 0x1) 2018-09-09-11-45-22-158 : 0x0053 : Information : OpenService(Schedule, 0x1) 2018-09-09-11-45-22-159 : 0x0053 : Information : OpenService(Schedule, 0x3) 2018-09-09-11-45-22-160 : 0x0053 : Information : ChangeServiceConfig(Schedule, 2, C:\windows\system32\svchost.exe -k netsvcs, (null), Task Scheduler) 2018-09-09-11-45-22-160 : 0x0053 : Information : OpenService(Schedule, 0x115) 2018-09-09-11-45-22-161 : 0x0053 : Information : StartService 2018-09-09-11-45-22-263 : 0x0053 : Information : Waiting for Schedule service to start. 2018-09-09-11-45-22-264 : 0x0053 : Information : Service status is set to 2 2018-09-09-11-45-22-264 : 0x0053 : Information : Sleeping for 250 milliseconds. 2018-09-09-11-45-22-299 : 0x004F : Error : BB::CProcessPrioritySetterMgr::CPrioritySetter_IO::Apply(493) : Could not set IO priority, error returned -1073741822 2018-09-09-11-45-22-299 : 0x004F : Warning : BB::CProcessPrioritySetterMgr::Run(906) : Priority setter needs to be retried. Move on to next setter. 2018-09-09-11-45-22-299 : 0x004F : Error : BB::CProcessPrioritySetterMgr::CPrioritySetter_Page::Apply(559) : Could not set page priority, error returned -1073741822 2018-09-09-11-45-22-300 : 0x004F : Warning : BB::CProcessPrioritySetterMgr::Run(906) : Priority setter needs to be retried. Move on to next setter. 2018-09-09-11-45-22-300 : 0x004F : Information : BB::CProcessPrioritySetterMgr::Run(921) : Waiting on stop signal for 200 milliseconds, 8 of 1501 2018-09-09-11-45-22-500 : 0x004F : Error : BB::CProcessPrioritySetterMgr::CPrioritySetter_IO::Apply(493) : Could not set IO priority, error returned -1073741822 2018-09-09-11-45-22-500 : 0x004F : Warning : BB::CProcessPrioritySetterMgr::Run(906) : Priority setter needs to be retried. Move on to next setter. 2018-09-09-11-45-22-500 : 0x004F : Error : BB::CProcessPrioritySetterMgr::CPrioritySetter_Page::Apply(559) : Could not set page priority, error returned -1073741822 2018-09-09-11-45-22-500 : 0x004F : Warning : BB::CProcessPrioritySetterMgr::Run(906) : Priority setter needs to be retried. Move on to next setter. 2018-09-09-11-45-22-500 : 0x004F : Information : BB::CProcessPrioritySetterMgr::Run(921) : Waiting on stop signal for 200 milliseconds, 9 of 1501 2018-09-09-11-45-22-515 : 0x0053 : Information : TickCount: 2253619, StartTickCount: 2253368, Max: 30000 2018-09-09-11-45-22-515 : 0x0053 : Information : Service status before exit 4 2018-09-09-11-45-22-516 : 0x0053 : Information : OpenService(RpcSs, 0x1) 2018-09-09-11-45-22-517 : 0x0053 : Information : OpenService(RpcSs, 0x3) 2018-09-09-11-45-22-517 : 0x0053 : Information : ChangeServiceConfig(RpcSs, 2, C:\windows\system32\rpcss.exe, (null), Remote Procedure Call (RPC)) 2018-09-09-11-45-22-518 : 0x0053 : Information : OpenService(TermService, 0x1) 2018-09-09-11-45-22-520 : 0x0053 : Information : CSCMModify returned 0x00000000 --- snip ---
Regards
https://bugs.winehq.org/show_bug.cgi?id=36142
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #9 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 3.16.
https://bugs.winehq.org/show_bug.cgi?id=36142
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|loader |programs URL|http://buy-download.norton. |https://web.archive.org/web |com/downloads/2014/21.1/N36 |/20190410163210if_/http://b |0/US/N360-TW-21.1.0-EN.exe |uy-download.norton.com/down | |loads/2014/21.1/N360/US/N36 | |0-TW-21.1.0-EN.exe