PDA

View Full Version : Basic MSI - Setup.EXE and MSI Requirements



LanceRas
08-24-2015, 03:13 PM
I'm using BasicMSI project and using a Setup.EXE to a compressed single EXE. I require Windows Installer 4.5. When installing on a computer (Server 2003 R2) that had Windows Installer 3.1 and didn't have 4.5, the Setup.EXE Extracts... Then dies. No clue why. When I did a VOICEWARMUP on the customer's computer, the log explained the situation, I upgraded the customer's Windows Installer to 4.5 and all was well.

Is there a reason why the Setup.EXE can't see that and give a simple warning that this installer requires Windows Installer 4.5?

I'm not including 4.5 installer to keep the payload smaller.

LanceRas
09-08-2015, 04:50 PM
Anyone with any ideas?

hidenori
09-08-2015, 05:32 PM
You should be able to accomplish it by creating a launch condition that checks for the VersionMsi property. The launch condition would be something like VersionMsi >= "4.5". Please refer to the Windows Installer Redistributables (https://msdn.microsoft.com/en-us/library/windows/desktop/aa372856.aspx) Microsoft's article for more info on Windows Installer versions.