Hi All,
Since Microsoft pushed out KB2918614 it appears that minor upgrade has been
broken on Windows 2003. Writing up what I’m seeing in the hope that someone
else can either corroborate this, or conversely tell me what I must be doing
wrong ☺
I’m using WiX 3.8 for what it’s worth, standard wizard generated setup project
with just one component to install a text file. Then building two versions of
the msi, with same product and upgrade codes just different version numbers
(1.0.0.0 and 1.1.0.0).
Install KB2918614 and reboot.
Install version 1.0.0.0 msiexec /i 1.0\Test.msi
Minor upgrade to 1.1.0.0 msiexec /i 1.1\Test.msi REINSTALL=ALL
REINSTALLMODE=vomus
Minor upgrade fails with the following error snippet in the install log:
MSI (s) (F8:98) [20:48:52:459]: SECREPAIR: Hash Database:
C:\WINDOWS\Installer\SourceHash{6C020FB9-4805-453D-A21D-083045D00A1D}
MSI (s) (F8:98) [20:48:52:459]: SECREPAIR: CryptAcquireContext succeeded
MSI (s) (F8:98) [20:48:52:459]: SECREPAIR: filename: Test.msi Stored Hash
Value:sVWxLHE42MZCQKtTwqjfkiqbw/i3y+v8Q8XlrODNSDg= Current
Hash:CXPALiVQr+1scMuV7QzJTZCfj8jufn/ID18io8bM0tQ=
MSI (s) (F8:98) [20:48:52:459]: SECREPAIR: UAC not supported and could not take
approval from user
MSI (s) (F8:98) [20:48:52:459]: SECUREREPAIR: SecureRepair Failed. Error code:
4ec42C516B0
MSI (c) (78:7C) [20:48:52:459]: Font created. Charset: Req=0, Ret=0, Font:
Req=MS Shell Dlg, Ret=MS Shell Dlg
Error 1260. Windows cannot open this program because it has been prevented by a
software restriction policy. For more information, open Event Viewer or contact
your system administrator.
MSI (s) (F8:98) [20:48:53:912]: Note: 1: 2205 2: 3: Error
MSI (s) (F8:98) [20:48:53:912]: Note: 1: 2228 2: 3: Error 4: SELECT `Message`
FROM `Error` WHERE `Error` = 1709
MSI (s) (F8:98) [20:48:53:912]: ¾¾桅䋆¾¾¾¾詬䋆脐䋥¾閡䋆ᛈዜ¾弿䋌ᛈዐ彣䋌ᛈ¾Ā
Action ended 20:48:53: RegisterProduct. Return value 3.
Observations:
Minor upgrade works fine if the hotfix is uninstalled.
Major upgrade works correctly with and without the patch present.
Can’t reproduce this on other operating systems (Win7 and Win8). It seems to
be confined to 2003 (and probably XP64 which is effectively the same as 2003
x64).
Only happens if the hotfix is applied before the first install or major
upgrade. The hotfix generates a SourceHash<ProductGuid> file in
C:\Windows\Installer during an install or major upgrade. The secure hash isn’t
generated during a minor upgrade.
Deleting the SourceHash file permits minor upgrade to succeed.
Kind regards,
Tim
Tim Rayment
Development Manager
email: [email protected]<mailto:[email protected]>
tel: +44 7795 338281
SOPHOS - simply secure
________________________________
Sophos Ltd, a company registered in England and Wales, number 2096520, The
Pentagon, Abingdon Science Park, Abingdon, OX14 3YP, United Kingdom
------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users