Hi Alexander,
Mid version 10 of the HTCondor feature series we switched from building with VC 2017 to VC 2022, and we lost the ability to include the c++ runtime in our installer. Resulting in the installer failing if the VC 2022 c++ runtime is not installed.
-Cole Bollig
From: HTCondor-users <htcondor-users-bounces@xxxxxxxxxxx> on behalf of Alexander Kabakov <kabakov.as@xxxxxxxxx>
Sent: Wednesday, February 21, 2024 2:42 AM To: htcondor-users@xxxxxxxxxxx <htcondor-users@xxxxxxxxxxx> Subject: [HTCondor-users] HTCondor installation fails on a localized version of Windows Hello Condor community,
When installing HTCondor on a localized version of Windows the installer fails with a message: "There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor." Multiple HTCondor versions are affected. Tested some from 10.x till latest 23.6.0 I did some investigation of the issue and found that the win_install_helper.exe exited with the error. The installer log (from msiexec /l) shows the "Error 1722": Action 13:40:48: WriteEnvironmentStrings. Updating environment strings MSI (s) (04:2C) [13:40:48:979]: Executing op: ProgressTotal(Total=2,Type=1,ByteEquivalent=13200) MSI (s) (04:2C) [13:40:48:979]: Executing op: UpdateEnvironmentStrings(Name=PATH,Value=C:\condor\bin\,Delimiter=;,Action=""> WriteEnvironmentStrings: Name: PATH, Value: C:\condor\bin\, Action 1610612737 MSI (s) (04:2C) [13:40:48:979]: Executing op: UpdateEnvironmentStrings(Name=PYTHONPATH,Value=C:\condor\lib\python;C:\condor\bin,Delimiter=;,Action=""> WriteEnvironmentStrings: Name: PYTHONPATH, Value: C:\condor\lib\python;C:\condor\bin, Action 1610612737 MSI (s) (04:2C) [13:40:48:979]: Executing op: ActionStart(Name=InstallServices,Description=Installing new services,Template=Service: [2]) Action 13:40:48: InstallServices. Installing new services MSI (s) (04:2C) [13:40:48:979]: Executing op: ProgressTotal(Total=1,Type=1,ByteEquivalent=1300000) MSI (s) (04:2C) [13:40:48:979]: Executing op: ServiceInstall(Name=condor,DisplayName=condor,ImagePath=C:\condor\bin\condor_master.exe,ServiceType=16,StartType=2,ErrorControl=1,,Dependencies=[~],,,Password=**********,Description=condor,,) InstallServices: Service: MSI (s) (04:2C) [13:40:48:979]: Executing op: ActionStart(Name=MakeAdminToken,,) Action 13:40:48: MakeAdminToken. MSI (s) (04:2C) [13:40:48:995]: Executing op: CustomActionSchedule(Action="" C:\condor\condor_config -log C:\condor\admintoken.log -sid S-1-5-21-3514596122-1456415437-91377387-500 -key LOCAL -token C:\condor\tokens.d\admin,) CustomAction MakeAdminToken returned actual error code -1073740791 (note this may not be 100% accurate if translation happened inside sandbox) MSI (s) (04:2C) [13:40:49:151]: Note: 1: 1722 2: MakeAdminToken 3: C:\condor\bin\win_install_helper.exe 4: -config C:\condor\condor_config -log C:\condor\admintoken.log -sid S-1-5-21-3514596122-1456415437-91377387-500 -key LOCAL -token C:\condor\tokens.d\admin --- ERROR MSG BOX Error 1722. There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. Action MakeAdminToken, location: C:\condor\bin\win_install_helper.exe, command: -config C:\condor\condor_config -log C:\condor\admintoken.log -sid S-1-5-21-3514596122-1456415437-91377387-500 -key LOCAL -token C:\condor\tokens.d\admin MSI (s) (04:2C) [13:43:30:430]: Product: condor-23.6.0-714655 -- Error 1722. There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. Action MakeAdminToken, location: C:\condor\bin\win_install_helper.exe, command: -config C:\condor\condor_config -log C:\condor\admintoken.log -sid S-1-5-21-3514596122-1456415437-91377387-500 -key LOCAL -token C:\condor\tokens.d\admin Action ended 13:43:30: InstallFinalize. Return value 3. Same log and error on: - Windows Server 2016 DE. - Windows Server 2016 RU. RU version also have an extra file `win_install_helper.RPT`: //===================================================== PID: -1 Exception code: E06D7363 Fault address: 00007FFFABCE6EA8 01:0000000000025EA8 C:\Windows\System32\KERNELBASE.dll Registers: EAX: 0000000000000000 EBX: 00007FFFA4F32F20 ECX: 000000C2760FF1A0 EDX: 0000000000000011 ESI: 000000C2760FF830 EDI: 0000000019930520 R8: FFFFFD4FAF2F6956 R9: 000002AE0000001A R10: 00007FFFAF309ED0 R11: 0000000000000000 R12: 00007FF6AAFE66A8 R13: 000000C2760FFBA0 R14: 000002AEFFD608C6 R15: 000000C2760FF910 CS:EIP: 0033:00007FFFABCE6EA8 SS:ESP: 002B:000000C2760FF6D0 EBP:000000000000000F DS:002B ES:002B FS:0053 GS:002B Flags: 00000206 Call stack: Address Frame 00007FFFABCE6EA8 000000C2760FF7A0 RaiseException+68 00007FFFA44B6BA7 000000C2760FF800 CxxThrowException+97 00007FFFA4F09512 000000C2760FF850 std::_Xlength_error+22 00007FF6AAD864A0 000000C2760FF880 OPENSSL_Applink+FBAE 00007FF6AAD86671 000000C2760FF8C0 OPENSSL_Applink+FD7F 00007FF6AAD95C1A 000000C2760FFB50 OPENSSL_Applink+1F328 00007FF6AAD93582 000000C2760FFB80 OPENSSL_Applink+1CC90 00007FF6AAD8729D 000000C2760FFCD0 OPENSSL_Applink+109AB 00007FF6AAFBED40 000000C2760FFD10 OPENSSL_Applink+24844E 00007FFFAE3284D4 000000C2760FFD40 BaseThreadInitThunk+14 00007FFFAF301791 000000C2760FFD90 RtlUserThreadStart+21 //===================================================== The DE version does not generate the `win_install_helper.RPT` file. The `admintoken.log` file is empty for both versions. I have found some old bugs that might be related: - https://opensciencegrid.atlassian.net/browse/HTCONDOR-543 - https://opensciencegrid.atlassian.net/browse/HTCONDOR-1474 The fix for the issue 1474: https://github.com/htcondor/htcondor/commit/835498c5d11c1d48602b50183618a21c8d8dc3e7 You can see there that the "Administrators" group name is still not localized in the installer. For the DE version the default admin username is "Administrator" and the admin group name is "Administratoren". For the RU version the username is "Администратор" and the group name is "Администраторы". Can you, please, suggest some workarounds for the issue?
Thanks,
Alexander Kabakov
|