Dear All

I have an MSI which is checking for Window Install minimum 3.0 and if it does not exists on the system then Installs it.

Problem : I have the exe as part of MSI but each time when I run MSI it runs the Windows Install 3.0 installer, but I only wants to run it if it is required to be.

Thanks in Advance
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
Answered 03/10/2011 by: VBScab
Red Belt

Please log in to comment
0
As your a wise user this should be fairly simple. Did you use the Prerequisites page from Installation expert?
Answered 03/10/2011 by: timmsie
Fourth Degree Brown Belt

Please log in to comment
0
Sorry lads I am not too expert in package installer. I was asked to do few small jobs while we are looking for someone with the experience. I have done the following

1) Set the System Requirement Windows Installer Runtime Version = Runtime version 2.0 or higher
2) Added Execute program from installation just after validate tag in Execute Immediate tab

Now if I run my MSI which has the Windows Installer Runtime 3.0 the MSI still launches "Execute program from installation" . I want to add a condition which should do the following but I am not sure how to do this

Check if Windows Installer Runtime => 2.0 Then
Do Nothing
Else
"Execute program from installation"

I hope I am making sense here :)
Answered 03/10/2011 by: Ash786
Senior Yellow Belt

Please log in to comment
0
You can use [VersionMsi] Property, which returns Version of the Windows Installer
Answered 03/10/2011 by: rakesh.kumar
Senior Yellow Belt

Please log in to comment
0
Hi Ash

If you are going to use the [VersionMsi] you can clear out the first step that you have done because as you said your application will install the desired Windows Installer if it does not exist. Then use this property for IF/ELSE STATEMENT.
Answered 03/10/2011 by: thugz888
Senior Yellow Belt

Please log in to comment
0
Adding to timmsie's suggestion...

You should avoid embedding an installer within an installer, especially a Windows Installer engine update. The Windows Installer update could cause the Windows Installer engine to become unavailable until you reboot. Also, the Windows Installer update can't replace the files in the current session if they're in use.

If you enable the .EXE option in Build Options, you can use the Prerequisites page in Installation Expert to specify which runtime installer(s) to include with your package.
Answered 03/15/2011 by: mazessj
Blue Belt

Please log in to comment
0
Hi

I've tried to use the VersionMsi but this is not found and is not in the property. under MSI Script > User Interface I added an If Statement with Condition
If VersionMsi <=2
Execute Program From Installation WindowInstaller.exe
End

This does not work.
Answered 03/16/2011 by: Ash786
Senior Yellow Belt

Please log in to comment
0
any further help in this
Answered 03/21/2011 by: Ash786
Senior Yellow Belt

Please log in to comment
0
post #3 and #7
Answered 03/21/2011 by: timmsie
Fourth Degree Brown Belt

Please log in to comment
Answer this question or Comment on this question for clarity