Windows Installer minimum version - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

Dashut
Posts: 142
Joined: Tue May 04, 2010 4:41 pm

Windows Installer minimum version

Using AI 7.7:
how come I see in the "Launch Conditions"->"System Launch Conditions" -> "Windows Installer":
2.0
3.0
3.01
4.0
4.05
5

?? if I want Windows Installer 4.5 to be the minimum: I need 4.5 no? or for some reason what we know as WindowsInstaller 4.5 is "called"/named: 4.05?
Dashut.
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Windows Installer minimum version

Hi,

Indeed 4.5 is internally named 4.05. For example, the VersionMsi property will report Windows Installer 4.5 as 4.05.
We have made a cosmetic change to display 4.05 as 4.5. This will be available in the next version of Advanced Installer.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
Dashut
Posts: 142
Joined: Tue May 04, 2010 4:41 pm

Re: Windows Installer minimum version

Microsoft offers ways to check for Windows Installer versions:
http://msdn.microsoft.com/en-us/library ... 85%29.aspx

One Windows Property that has it is: VersionMsi
So I wrote my custom launch condition for Windows Installer 4.5 and above (and removed AdvandedInstaller built-in one/check and did this instead):

Code: Select all

Condition:
( VersionMsi <> "2.0" ) AND ( VersionMsi <> "3.0" ) AND ( VersionMsi <> "3.01" ) AND ( VersionMsi <> "4.0" )
message:
This installation requires Windows Installer 4.5 or above. Please download and install it before installing this package
Of course the message can be changed to use the Product name and other Properties if needed.

Just sharing, Dashut.

Return to “Common Problems”