Recently I cleaned (format: c) my computer to make it faster. I reinstalled all software I need for .NET and web development. Suddenly I was stunned with the fact that msi setups are not working on my machine any more!
I started getting “Installation incomplete” error without extra details.
But there is a way to enable logging for msi installation process. You just need run this command: “msiexec /i MySetyp.msi /l*v mylog.txt”.
You will get big error log with information like that (full log ):
Full log is attached:
MSI (c) (B8:04) [08:34:24:407]: Machine policy value ‘DisableUserInstalls’ is 0
MSI (c) (B8:04) [08:34:24:526]: SOFTWARE RESTRICTION POLICY: Verifying package –> ‘C:\MySetup.msi’ against software restriction policy
MSI (c) (B8:04) [08:34:24:526]: Note: 1: 2262 2: DigitalSignature 3: -2147287038
MSI (c) (B8:04) [08:34:24:526]: SOFTWARE RESTRICTION POLICY: C:\MySetup.msi.msi is not digitally signed
MSI (c) (B8:04) [08:34:24:528]: SOFTWARE RESTRICTION POLICY: C:\MySetup.msi.msi is permitted to run at the ‘unrestricted’ authorization level.
MSI (c) (B8:04) [08:34:24:538]: Cloaking enabled.
MSI (c) (B8:04) [08:34:24:538]: Attempting to enable all disabled privileges before calling Install on Server
MSI (c) (B8:04) [08:34:24:544]: End dialog not enabled
INFO : [03/21/2012 08:34:24:710] [CheckFX ]: Custom Action is starting…
INFO : [03/21/2012 08:34:24:710] [CheckFX ]: CoInitializeEx – COM initialization Apartment Threaded…
INFO : [03/21/2012 08:34:24:712] [CheckFX ]: MsiGetPropertyW – Determine size of property ‘VSDFrameworkVersion’
INFO : [03/21/2012 08:34:24:712] [CheckFX ]: Allocating space…
INFO : [03/21/2012 08:34:24:713] [CheckFX ]: MsiGetPropertyW – Getting Property ‘VSDFrameworkVersion’…
INFO : [03/21/2012 08:34:24:713] [CheckFX ]: Property ‘VSDFrameworkVersion’ retrieved with value ‘v4.0’.
INFO : [03/21/2012 08:34:24:713] [CheckFX ]: MsiGetPropertyW – Determine size of property ‘VSDFrameworkProfile’
INFO : [03/21/2012 08:34:24:714] [CheckFX ]: Property ‘VSDFrameworkProfile’ retrieved with value ”.
INFO : [03/21/2012 08:34:24:714] [CheckFX ]: Set VSDNETMSG with the FrameworkVersion.
INFO : [03/21/2012 08:34:24:714] [CheckFX ]: MsiGetPropertyW – Determine size of property ‘VSDNETMSG’
INFO : [03/21/2012 08:34:24:714] [CheckFX ]: Allocating space…
INFO : [03/21/2012 08:34:24:715] [CheckFX ]: MsiGetPropertyW – Getting Property ‘VSDNETMSG’…
Fix: enable “IIS metabase and IIS6 configuration compatibility” as shown in print screen below: