.NET 4 fails to install because SECUREREPAIR fails to CreateContentHash of file SetupResources.dll: for computing hash Error: 997

The solution provided by Thaoden (uninstalling KB2918614, KB3000988 and KB3008627) didn’t work for me. I got the same errors after uninstalling these updates. What did work for me was the whitelisting workaround suggested by JohnL999 here. So, what I had to do to make it install: Create a DWORD named SecureRepairPolicy with value 2 in … Read more

Passing command line args to MSI from WiX bundle

Your MSI needs to define a property like so: <Property Id=”SOMEPROPERTY” Value=”Default”/> You can then set this property from the bundle: <MsiPackage SourceFile=”<package>.msi” Id=”SomeId”> <MsiProperty Name=”SOMEPROPERTY” Value=”[SomeProperty]” /> </MsiPackage> After this you can set the property in the Bootstrapper as described here: WiX Bootstrapper: How do I set burn variables from the command line? Notice … Read more