[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')
WineHQ Bugzilla
wine-bugs at winehq.org
Sat Jan 15 10:42:56 CST 2022
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 at winehq.org
Reporter: focht at 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_WinCC_Runtime_Advanced_V15_1.exe
$ 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.
More information about the wine-bugs
mailing list