[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[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