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..
0 Comments   [ - ] Hide 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.
Answer this question or Comment on this question for clarity


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
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
Black Belt

Please log in to comment