Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a production server and need to know what version of the windows installer is running, what's a quick way to find this out without running the 4.5 installer on the server?

share|improve this question
up vote 10 down vote accepted

From a command prompt:

msiexec /?

It displays the version on the first line. EG: Windows ® Installer. V 3.01.4000.1823

share|improve this answer
Brilliant! thankyou SCORE: ServerFault:1 Google/Bing:0 – Nick Kavadias Jul 14 '09 at 3:57
Thanks Nick. Glad I could be of assistance. – user10270 Jul 14 '09 at 4:05

You need to get the version of MSI.dll.

=== EDIT: For some reason I read this as you needing to do this in a scriptable way. msiexec /? is of course a faster way to do it if you just need to check it manually. ===

You can do this with VBScript.

Create a file like this called VersionInfo.vbs:

set args = WScript.Arguments
Set fso = CreateObject("Scripting.FileSystemObject")
WScript.Echo fso.GetFileVersion(args(0))

Then call it like:

cscript //nologo VersionInfo.vbs %windir%\system32\msi.dll

NOTE: the script was pulled from here.

share|improve this answer
You're better off just doing this in a VBS: set installer = createobject("windowsinstaller.installer") msgbox installer.version – Izzy Jul 14 '09 at 4:01
@Izzy: thx. I guess if you are incorporating it into a script, you would just do wscript.echo installer.version at the end. – Adam Brand Jul 14 '09 at 4:20
if it was scripting i would have asked on stackoverflow, good to know if i ever need to do a mass deployment :) – Nick Kavadias Jul 14 '09 at 4:47
  • Check the version of MSI.DLL (%windir%\System32)
  • OR run the following: msiexec /?

Or, if you want to get clever, make a .VBS file, paste the following into it, and double click it:

set installer = createobject("windowsinstaller.installer") 
msgbox installer.version
share|improve this answer

Get the information using Powershell:

get-item $env:windir\system32\msi.dll | fl

share|improve this answer
Can you add some more details? – Pierre.Vriens May 10 at 12:27

for the shortest way of check; just after clicking start menu, choose run box and type msiexec there , then it will popup a window of windows installer with instructions and the version number in the heading...

share|improve this answer
How is this any better than the accepted answer? – Mark Henderson Aug 28 '14 at 23:13

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.