Windows 7 Python install fails

Hello. In my project of Python 3.8.2 for Windows 7 64-bit, I have been running into an issue where the executable will fail during the installation progress and give me an error message in the same fashion as this post:

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.

After adding the packages with specified versions listed in that post, I still encounter the same errors. Here’s my project’s link.

I have run the msi installer with msiexec and the /lv flag turned on to produce a log file. Unfortunately, I can’t upload that file here and also can’t access any pastebin-esque websites from my company machine in order to upload this whole file to (it’s fairly long at ~35 MB). I tried to post a relevant section of the output, but the automated moderating system flagged it as a ‘link’ and refused to let me submit the post so I removed the paths to my C drive to try and fix this.

MSI (s) (CC:F4) [10:48:41:111]: Executing op: CleanupConfigData()
MSI (s) (CC:F4) [10:48:41:111]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\5414D7CD80C3C5952940F21CB352FC98\Patches 3: 2
MSI (s) (CC:F4) [10:48:41:111]: Executing op: RegisterPatchOrder(Continue=0,SequenceType=1,Remove=0)
MSI (s) (CC:F4) [10:48:41:111]: Note: 1: 1402 2: UNKNOWN\Products\5414D7CD80C3C5952940F21CB352FC98\Patches 3: 2
MSI (s) (CC:F4) [10:48:41:111]: Executing op: ProductPublish(PackageKey={4F3F1F59-81FF-48D3-931D-495A64AFB1AF})
MSI (s) (CC:F4) [10:48:41:112]: Note: 1: 1402 2: UNKNOWN\Installer\Products\5414D7CD80C3C5952940F21CB352FC98 3: 2
MSI (s) (CC:F4) [10:48:41:112]: Note: 1: 1402 2: UNKNOWN\Installer\Products\5414D7CD80C3C5952940F21CB352FC98 3: 2
MSI (s) (CC:F4) [10:48:41:112]: Note: 1: 1402 2: UNKNOWN\Installer\Products\5414D7CD80C3C5952940F21CB352FC98 3: 2
MSI (s) (CC:F4) [10:48:41:112]: Note: 1: 1402 2: UNKNOWN\Installer\Products\5414D7CD80C3C5952940F21CB352FC98 3: 2
MSI (s) (CC:F4) [10:48:41:112]: Note: 1: 1402 2: UNKNOWN\Installer\Products\5414D7CD80C3C5952940F21CB352FC98 3: 2
MSI (s) (CC:F4) [10:48:41:112]: Note: 1: 1402 2: UNKNOWN\Installer\Products\5414D7CD80C3C5952940F21CB352FC98 3: 2
MSI (s) (CC:F4) [10:48:41:112]: Note: 1: 1402 2: UNKNOWN\Installer\Products\5414D7CD80C3C5952940F21CB352FC98 3: 2
MSI (s) (CC:F4) [10:48:41:112]: Note: 1: 1402 2: UNKNOWN\Installer\Products\5414D7CD80C3C5952940F21CB352FC98 3: 2
MSI (s) (CC:F4) [10:48:41:112]: Note: 1: 1402 2: UNKNOWN\Installer\Products\5414D7CD80C3C5952940F21CB352FC98 3: 2
MSI (s) (CC:F4) [10:48:41:112]: Note: 1: 1402 2: UNKNOWN\Installer\Products\5414D7CD80C3C5952940F21CB352FC98 3: 2
MSI (s) (CC:F4) [10:48:41:112]: Note: 1: 1402 2: UNKNOWN\Installer\Products\5414D7CD80C3C5952940F21CB352FC98 3: 2
MSI (s) (CC:F4) [10:48:41:115]: Executing op: UpgradeCodePublish(UpgradeCode={DC7D4145-3C08-595C-9204-2FC13B25CF89})
MSI (s) (CC:F4) [10:48:41:115]: Executing op: SourceListPublish(,DiskPromptTemplate=ActivePython 3.8.2.0000 Installation [1],NumberOfDisks=1)
MSI (s) (CC:F4) [10:48:41:115]: Note: 1: 1402 2: UNKNOWN\Installer\Products\5414D7CD80C3C5952940F21CB352FC98\SourceList 3: 2
MSI (s) (CC:F4) [10:48:41:117]: Executing op: ProductPublishClient(,)
MSI (s) (CC:F4) [10:48:41:118]: Executing op: SourceListRegisterLastUsed(SourceProduct={DC7D4145-3C08-595C-9204-2FC13B25CF89},LastUsedSource=C:\ATN_Python\dev_3.8)
MSI (s) (CC:F4) [10:48:41:118]: Entering CMsiConfigurationManager::SetLastUsedSource.
MSI (s) (CC:F4) [10:48:41:118]: Specifed source is already in a list.
MSI (s) (CC:F4) [10:48:41:118]: User policy value ‘SearchOrder’ is ‘nmu’
MSI (s) (CC:F4) [10:48:41:118]: Adding new sources is allowed.
MSI (s) (CC:F4) [10:48:41:118]: Set LastUsedSource to: C:\ATN_Python\dev_3.8.
MSI (s) (CC:F4) [10:48:41:118]: Set LastUsedType to: n.
MSI (s) (CC:F4) [10:48:41:118]: Set LastUsedIndex to: 1.
MSI (s) (CC:F4) [10:48:41:118]: Executing op: ActionStart(Name=Relocate,)
MSI (s) (CC:F4) [10:48:41:119]: Executing op: CustomActionSchedule(Action=Relocate,ActionType=3090,Source=<Python38>pythonw.exe,Target=-E <Python38>Tools\asinstall\relocate.py,)
CustomAction Relocate returned actual error code -1073741515 (note this may not be 100% accurate if translation happened inside sandbox)
MSI (s) (CC:F4) [10:48:41:339]: Note: 1: 1722 2: Relocate 3: <Python38>pythonw.exe 4: -E <Python38>Tools\asinstall\relocate.py
MSI (s) (CC:F4) [10:48:41:339]: Note: 1: 2205 2: 3: Error
MSI (s) (CC:F4) [10:48:41:339]: Note: 1: 2228 2: 3: Error 4: SELECT Message FROM Error WHERE Error = 1722
MSI (s) (CC:F4) [10:50:28:160]: Note: 1: 2205 2: 3: Error
MSI (s) (CC:F4) [10:50:28:160]: Note: 1: 2228 2: 3: Error 4: SELECT Message FROM Error WHERE Error = 1709
MSI (s) (CC:F4) [10:50:28:160]: Product: ActivePython 3.8.2 Build 0000 (64-bit) – 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 Relocate, location: <Python38>pythonw.exe, command: -E <Python38>Tools\asinstall\relocate.py

Action ended 10:50:28: InstallFinalize. Return value 3.
MSI (s) (CC:F4) [10:50:28:164]: User policy value ‘DisableRollback’ is 0
MSI (s) (CC:F4) [10:50:28:164]: Machine policy value ‘DisableRollback’ is 0
MSI (s) (CC:F4) [10:50:28:179]: Executing op: Header(Signature=1397708873,Version=500,Timestamp=1379620348,LangId=1033,Platform=589824,ScriptType=2,ScriptMajorVersion=21,ScriptMinorVersion=4,ScriptAttributes=1)
MSI (s) (CC:F4) [10:50:28:179]: Executing op: DialogInfo(Type=0,Argument=1033)
MSI (s) (CC:F4) [10:50:28:180]: Executing op: DialogInfo(Type=1,Argument=ActivePython 3.8.2 Build 0000 (64-bit))
MSI (s) (CC:F4) [10:50:28:180]: Executing op: RollbackInfo(,RollbackAction=Rollback,RollbackDescription=Rolling back action:,RollbackTemplate=[1],CleanupAction=RollbackCleanup,CleanupDescription=Removing backup files,CleanupTemplate=File: [1])MSI (s) (CC:F4) [10:48:41:111]: Executing op: CleanupConfigData()
MSI (s) (CC:F4) [10:48:41:111]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\5414D7CD80C3C5952940F21CB352FC98\Patches 3: 2
MSI (s) (CC:F4) [10:48:41:111]: Executing op: RegisterPatchOrder(Continue=0,SequenceType=1,Remove=0)
MSI (s) (CC:F4) [10:48:41:111]: Note: 1: 1402 2: UNKNOWN\Products\5414D7CD80C3C5952940F21CB352FC98\Patches 3: 2
MSI (s) (CC:F4) [10:48:41:111]: Executing op: ProductPublish(PackageKey={4F3F1F59-81FF-48D3-931D-495A64AFB1AF})
MSI (s) (CC:F4) [10:48:41:112]: Note: 1: 1402 2: UNKNOWN\Installer\Products\5414D7CD80C3C5952940F21CB352FC98 3: 2
MSI (s) (CC:F4) [10:48:41:112]: Note: 1: 1402 2: UNKNOWN\Installer\Products\5414D7CD80C3C5952940F21CB352FC98 3: 2
MSI (s) (CC:F4) [10:48:41:112]: Note: 1: 1402 2: UNKNOWN\Installer\Products\5414D7CD80C3C5952940F21CB352FC98 3: 2
MSI (s) (CC:F4) [10:48:41:112]: Note: 1: 1402 2: UNKNOWN\Installer\Products\5414D7CD80C3C5952940F21CB352FC98 3: 2
MSI (s) (CC:F4) [10:48:41:112]: Note: 1: 1402 2: UNKNOWN\Installer\Products\5414D7CD80C3C5952940F21CB352FC98 3: 2
MSI (s) (CC:F4) [10:48:41:112]: Note: 1: 1402 2: UNKNOWN\Installer\Products\5414D7CD80C3C5952940F21CB352FC98 3: 2
MSI (s) (CC:F4) [10:48:41:112]: Note: 1: 1402 2: UNKNOWN\Installer\Products\5414D7CD80C3C5952940F21CB352FC98 3: 2
MSI (s) (CC:F4) [10:48:41:112]: Note: 1: 1402 2: UNKNOWN\Installer\Products\5414D7CD80C3C5952940F21CB352FC98 3: 2
MSI (s) (CC:F4) [10:48:41:112]: Note: 1: 1402 2: UNKNOWN\Installer\Products\5414D7CD80C3C5952940F21CB352FC98 3: 2
MSI (s) (CC:F4) [10:48:41:112]: Note: 1: 1402 2: UNKNOWN\Installer\Products\5414D7CD80C3C5952940F21CB352FC98 3: 2
MSI (s) (CC:F4) [10:48:41:112]: Note: 1: 1402 2: UNKNOWN\Installer\Products\5414D7CD80C3C5952940F21CB352FC98 3: 2
MSI (s) (CC:F4) [10:48:41:115]: Executing op: UpgradeCodePublish(UpgradeCode={DC7D4145-3C08-595C-9204-2FC13B25CF89})
MSI (s) (CC:F4) [10:48:41:115]: Executing op: SourceListPublish(,DiskPromptTemplate=ActivePython 3.8.2.0000 Installation [1],NumberOfDisks=1)
MSI (s) (CC:F4) [10:48:41:115]: Note: 1: 1402 2: UNKNOWN\Installer\Products\5414D7CD80C3C5952940F21CB352FC98\SourceList 3: 2
MSI (s) (CC:F4) [10:48:41:117]: Executing op: ProductPublishClient(,)
MSI (s) (CC:F4) [10:48:41:118]: Executing op: SourceListRegisterLastUsed(SourceProduct={DC7D4145-3C08-595C-9204-2FC13B25CF89},LastUsedSource=dev_3.8)
MSI (s) (CC:F4) [10:48:41:118]: Entering CMsiConfigurationManager::SetLastUsedSource.
MSI (s) (CC:F4) [10:48:41:118]: Specifed source is already in a list.
MSI (s) (CC:F4) [10:48:41:118]: User policy value ‘SearchOrder’ is ‘nmu’
MSI (s) (CC:F4) [10:48:41:118]: Adding new sources is allowed.
MSI (s) (CC:F4) [10:48:41:118]: Set LastUsedSource to: dev_3.8.
MSI (s) (CC:F4) [10:48:41:118]: Set LastUsedType to: n.
MSI (s) (CC:F4) [10:48:41:118]: Set LastUsedIndex to: 1.
MSI (s) (CC:F4) [10:48:41:118]: Executing op: ActionStart(Name=Relocate,)
MSI (s) (CC:F4) [10:48:41:119]: Executing op: CustomActionSchedule(Action=Relocate,ActionType=3090,Source=<Python38>pythonw.exe,Target=-E <Python38>Tools\asinstall\relocate.py,)
CustomAction Relocate returned actual error code -1073741515 (note this may not be 100% accurate if translation happened inside sandbox)
MSI (s) (CC:F4) [10:48:41:339]: Note: 1: 1722 2: Relocate 3: <Python38>pythonw.exe 4: -E <Python38>Tools\asinstall\relocate.py
MSI (s) (CC:F4) [10:48:41:339]: Note: 1: 2205 2: 3: Error
MSI (s) (CC:F4) [10:48:41:339]: Note: 1: 2228 2: 3: Error 4: SELECT Message FROM Error WHERE Error = 1722
MSI (s) (CC:F4) [10:50:28:160]: Note: 1: 2205 2: 3: Error
MSI (s) (CC:F4) [10:50:28:160]: Note: 1: 2228 2: 3: Error 4: SELECT Message FROM Error WHERE Error = 1709
MSI (s) (CC:F4) [10:50:28:160]: Product: ActivePython 3.8.2 Build 0000 (64-bit) – 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 Relocate, location: <Python38>pythonw.exe, command: -E <Python38>Tools\asinstall\relocate.py

Action ended 10:50:28: InstallFinalize. Return value 3.
MSI (s) (CC:F4) [10:50:28:164]: User policy value ‘DisableRollback’ is 0
MSI (s) (CC:F4) [10:50:28:164]: Machine policy value ‘DisableRollback’ is 0
MSI (s) (CC:F4) [10:50:28:179]: Executing op: Header(Signature=1397708873,Version=500,Timestamp=1379620348,LangId=1033,Platform=589824,ScriptType=2,ScriptMajorVersion=21,ScriptMinorVersion=4,ScriptAttributes=1)
MSI (s) (CC:F4) [10:50:28:179]: Executing op: DialogInfo(Type=0,Argument=1033)
MSI (s) (CC:F4) [10:50:28:180]: Executing op: DialogInfo(Type=1,Argument=ActivePython 3.8.2 Build 0000 (64-bit))
MSI (s) (CC:F4) [10:50:28:180]: Executing op: RollbackInfo(,RollbackAction=Rollback,RollbackDescription=Rolling back action:,RollbackTemplate=[1],CleanupAction=RollbackCleanup,CleanupDescription=Removing backup files,CleanupTemplate=File: [1])

HI @justin-charron ,
Thank you for the detailed info! The team will look into this and advise accordingly.
Regards.

The operation that is failing is attempting to update strings in multiple files with values to match what you supplied earlier in the installation. Writes can fail on Windows if the file is locked, or if the folder is protected. Either of those could be the case here, and an AntiVirus product could be causing either sort of problem. If the AV has sandboxed ActivePython while it scan the files, they could be locked by that process when the relocator script attempts to patch them. AV or security software might also be attempting to protect your C drive from modification. Can you try disabling your AntiVirus protection to see if the problem goes away?

@ActiveState-Support This is a base install of Windows 7 SP1, with no antivirus software present. I’ve tried ensuring that all users have full permission of the folder that it wants to install to, and run the ‘msiexec’ command via an elevated cmd window as well with no change, and the only account on the computer is an Admin. I’ve not had any issues installing any other software either.

Hi @Elsadek @ActiveState-Support, any chance someone has been able to look into this?

Thank you,
Justin

I haven’t been able to replicate it. I have one more thing I want to try though.