[Bug 52399] New: SIMATIC WinCC V15.1 Runtime installer: SeCon tool fails with error 5 while trying to create 'C:\\windows\Security\\SecurityController' (needs '%windir%\\security')
https://bugs.winehq.org/show_bug.cgi?id=52399 Bug ID: 52399 Summary: SIMATIC WinCC V15.1 Runtime installer: SeCon tool fails with error 5 while trying to create 'C:\\windows\Security\\SecurityController' (needs '%windir%\\security') Product: Wine Version: 7.0-rc6 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: focht(a)gmx.net Distribution: --- Hello folks, found while revisiting some SIMATIC WinCC V15.1 Runtime installer tickets of mine. The failure happens during installation of 'Automation License Manager' component. Default 64-bit WINEPREFIX (Windows 7). It is considered critical and blocks further installation. Running the tool directly, simulating sub-installer call: --- snip --- $ pwd /home/focht/.wine/drive_c/SIMATIC WinCC Runtime Advanced V15.1/InstData/Resources/SeCon $ WINEDEBUG=+seh,+relay wine ./SeCon_x64.exe ApplyFeatures "C:\\users\\focht\\Temp\\SeconOpFile.ini" timeout=20 >> log.txt 2>&1 ... 01a0:Call KERNEL32.CreateDirectoryW(020f2908 L"C:\\windows\\Security\\SecurityController",00000000) ret=140010adf ... 01a0:Call ntdll.RtlNtStatusToDosError(c000003a) ret=7b0165bf 01a0:Ret ntdll.RtlNtStatusToDosError() retval=00000003 ret=7b0165bf 01a0:Ret KERNEL32.CreateDirectoryW() retval=00000000 ret=140010adf ... 01a0:Call oleaut32.SysAllocStringLen(020f0868 L"Error trying to create the repository folder 'C:\\windows\\Security\\SecurityController'",00000055) ret=140008457 --- snip --- 'C:\\ProgramData\\Siemens\\Automation\\Logfiles\\Setup\\SeCon.log' --- snip --- *** SeCon X64 is called with version 205.101.101.2 *** Date: 2022.01.15 17:15:08 *** operating system that is installed: VersionNT:601 Build:7601 Service Pack:1 Running on 64bit Windows *** Setup-SessionId: SIA_20220115170703 *** Action: ApplyFeatures 17:15:08|CRIT_ERROR |CSeCon::GetLogFileInRepositoryDir |Error trying to create the repository folder 'C:\windows\Security\SecurityController' 17:15:08| |CSeCon::InitEnvironment |Load Language resources... 17:15:08| |CResourceMgr::LoadResourceP |Language resources were loaded: C:\SIMATIC WINCC RUNTIME ADVANCED V15.1\InstData\Resources\SeCon\SeCon_1033.ulf 17:15:08| |CSeCon::ApplyFeatures |No Reboot needed 17:15:08| |CSeCon::ApplyFeatures |Apply feature was finished with error 17:15:08| |CSeCon::ApplyFeatures |END Returncode: 5 ============================================================================= --- snip --- The '%windir%\\security' directory is apparently used by Windows Security Center / Windows security policy tools and is by default present on Windows 7+. Stable download link via Internet Archive: https://archive.org/download/simatic-win-cc-runtime-advanced-v-15-1/SIMATIC_... $ 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 Regards -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=52399 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |dotnet, download, Installer URL| |https://archive.org/downloa | |d/simatic-win-cc-runtime-ad | |vanced-v-15-1/SIMATIC_WinCC | |_Runtime_Advanced_V15_1.exe -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=52399 Vijay Kamuju <infyquest(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |infyquest(a)gmail.com --- Comment #1 from Vijay Kamuju <infyquest(a)gmail.com> --- Created a patch for this https://gitlab.winehq.org/wine/wine/-/merge_requests/4891 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=52399 Vijay Kamuju <infyquest(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Fixed by SHA1| |f51b4d014e1291cd3a394c78195 | |16e7d1fce75ac --- Comment #2 from Vijay Kamuju <infyquest(a)gmail.com> --- Should be fixed by below commit as it helps creating %windir%/security directory. https://source.winehq.org/git/wine.git/commit/f51b4d014e1291cd3a394c7819516e... -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=52399 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #3 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 9.1. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=52399 Michael Stefaniuc <mstefani(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |9.0.x -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=52399 Michael Stefaniuc <mstefani(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|9.0.x |--- --- Comment #4 from Michael Stefaniuc <mstefani(a)winehq.org> --- Removing the 9.0.x milestone from bug fixes included in 9.0.1. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
WineHQ Bugzilla