Hi
can i get a script how to check which version of windows installer is installed and if the version installed is 3.1 then i need to install 4.5 with the exe file what i had..
Thanks
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
Search for a script which gets file version information and edit it to interrogate MSI.DLL which lives in %SystemRoot%\SYSTEM32.
Answered 02/21/2011 by: VBScab
Red Belt

Please log in to comment
0
Yeah, or this simple script may be a start.....
Dim installer, installerversion
Set installer = CreateObject("WindowsInstaller.Installer")
installerversion = installer.version
Set installer = Nothing
Answered 02/21/2011 by: captain_planet
Second Degree Brown Belt

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