https://bugs.winehq.org/show_bug.cgi?id=46900
Bug ID: 46900 Summary: SIMATIC WinCC V15.1 Runtime installer wants support for importing a root CA certificate using 'certutil.exe /addstore /f "root" <pathtocertificatefile>' Product: Wine Version: 4.4 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: programs Assignee: wine-bugs@winehq.org Reporter: focht@gmx.net Distribution: ---
Hello folks,
continuation of bug 46899
Bug 46484 is related but that one only wants '/hashfile' support.
Application error log:
--- snip --- 19:58:18|.. |ExecutionEngine::StartNextStepAsync() |(01) Getting next step of execution: SetupUnit (MSCERT2011), BeforeStart - - Foreign, Reinstall 19:58:18|.. |ExecutionEngine::StartNextStepAsync() |(01) Creating execution worker for the step... 19:58:18| |AdsWorkerForeignExe::PrepareWorker() | 19:58:18| |AdsWorkerForeignExe::PrepareWorker() |(01) START preparing AdsWorker 'MSCERT2011' for 'Reinstall' 19:58:18|.. |AdsWorkerForeignExe::PrepareWorker() |(01) Result of the Worker prepare operation: OK 19:58:18|. |AdsWorkerForeignExe::PrepareWorker() |(01) END preparing AdsWorker 'MSCERT2011' for 'Reinstall' 19:58:18|. |AdsWorkerForeignExe::PrepareWorker() | 19:58:18| |ExecutionEngine::StartNextStepAsync() | 19:58:18| |ExecutionEngine::StartNextStepAsync() |(01) START executing step SetupUnit (MSCERT2011), Executing - - Foreign, Reinstall 19:58:18|... |ExecutionTime::OnStepStart() |(01) OnStepStart: SetupUnit (MSCERT2011), Executing - - Foreign, Reinstall (27) 19:58:18| |AdsWorkerForeignExe::StartAsync() | 19:58:18| |AdsWorkerForeignExe::StartAsync() |(01) START executing AdsWorker 'MSCERT2011' for 'Reinstall' 19:58:19|... |AdsWorkerForeignExe::Progress() |(01) Executing: C:\windows\system32\certutil.exe /f /addstore Root "Z:\HOME\FOCHT\DOWNLOADS\SIMATIC WINCC RUNTIME ADVANCED V15.1\InstData\MSCERT2011\MicrosoftRootCertificateAuthority2011.cer"; WaitForApp: 19:58:19|... |AdsWorkerForeignExe::Progress() |(01) Silent: False; workDir: ; noWait: False; waitForApplicationTime: -1 19:58:19|... |AdsWorkerForeignExe::Progress() |(01) EXE file not found: C:\windows\system32\certutil.exe 19:58:19|. |AdsWorkerForeignExe::Completed() |(01) END executing AdsWorker 'MSCERT2011' for 'Reinstall' 19:58:19|. |AdsWorkerForeignExe::Completed() | 19:58:19|ERROR |AdsWorkerForeignExe::GetInstallResult() |(01) -777: FILE_NOT_FOUND. Please check the corresponding log file for more detailed information 19:58:19|.. |ExecutionEngine::WorkerCompleted() |(01) Result of step execution: Result of 'InstallResultClass', Setup Succeeded: False; Reboot Required: NoReboot; Child Results Count: 0; Details: -777: FILE_NOT_FOUND. Please check the corresponding log file for more detailed information 19:58:19|. |ExecutionEngine::WorkerCompleted() |(01) END executing step SetupUnit (MSCERT2011), Failed - - Foreign, Reinstall 19:58:19|. |ExecutionEngine::WorkerCompleted() | 19:58:19|... |ExecutionTime::OnStepCompleted() |(01) OnStepCompleted: SetupUnit (MSCERT2011), Failed - - Foreign, Reinstall 19:58:19|... |ExecutionTime::OnStepCompleted() |(01) Step completed: SetupUnit (MSCERT2011), Failed - - Foreign, Reinstall; Mseks: 214; Elapsed: 20172 (222.4); Remaining (min): 14.85713 (3423); Progress: 6%; Scale factor: 250; --- snip ---
Microsoft blog:
https://blogs.msdn.microsoft.com/steverac/2009/07/09/adding-certificates-to-... ("Adding certificates to the local certificates store and setting local policy using a command line – System Center Updates Publisher example")
$ sha1sum SIMATIC_WinCC_Runtime_Advanced_V15_1.exe db1f97bb648b62fa1c5d974d7f2bcb6b4a9fd786 SIMATIC_WinCC_Runtime_Advanced_V15_1.exe
$ du -sh SIMATIC_WinCC_Runtime_Advanced_V15_1.exe 1.3G SIMATIC_WinCC_Runtime_Advanced_V15_1.exe
$ wine --version wine-4.4-188-gc988910cae
Regards