I'm trying to upgrade TortoiseGit from version 2.15 to 2.16 on Windows 11, but the installer fails with a message:
There is a problem with this Windows Installer package. A DLL required for this install to complete could not be run.
When trying to remove or repair, I get the same error message. The detailed message from the installer log is:
Action 08:58:44: UnregisterSparsePackage.
Action start 08:58:44: UnregisterSparsePackage.
CustomAction UnregisterSparsePackage returned actual error code 1157
(note this may not be 100% accurate if translation happened inside
sandbox)
Error 1723. There is a problem with this Windows Installer package. A
DLL required for this install to complete could not be run. Contact your
support personnel or package vendor. Action UnregisterSparsePackage,
entry: UnregisterSparsePackage, library: C:\WINDOWS\Installer\MSI623.tmp
MSI (s) (48:90) [08:58:46:096]: Product: TortoiseGit 2.15.0.0 (64 bit)
-- Error 1723. There is a problem with this Windows Installer package. A
DLL required for this install to complete could not be run. Contact your
support personnel or package vendor. Action UnregisterSparsePackage,
entry: UnregisterSparsePackage, library: C:\WINDOWS\Installer\MSI623.tmp
Action ended 08:58:46: UnregisterSparsePackage. Return value 3.
Action ended 08:58:46: INSTALL. Return value 3.
I noticed references to version 2.15, but don't know if that is relevant, and also tried to do a repair with the 2.15 installer; judging by the logs, files are copied, registry entries are written, etc., but at the end, the same error is raised, with the exact same lines in the logfile
I've found a few similar, but not quite the same, problems here and here, and Procmon doesn't reveal anything useful, at least no apparent missing DLL's.
Has anyone seen this particular problem, or know if there is a way to force a clean install?