

The text inside of the brackets can be formatted in any manner, but the text is case sensitive.īelow is the Config.xml file that was developed for my specific installation. 'LOGIT "Windows Installer Version Is : " & objFile.Version ("Select * from CIM_Datafile Where name = 'C:\\Windows\\System32\\Msi.Dll'") Set objWMIService = GetObject("winmgmts:" _ StrInstLoc = "C:\M圜oName\install\Office2007\" StrAuditLoc = "c:\M圜oName\audit\audit.log" Set objShell = CreateObject("WScript.Shell") Set objFSO = CreateObject("Scripting.FileSystemObject") The install code will run the installation and verify the return code against a list to verify success.

If required, call the windows installer update subroutine below to update the version to 3.1. You must first check the installed version to determine if an update is required. Updating windows installer is relatively simple and below is some code to check the current version and update it if necessary. First and foremost, windows installer must be version 3.1 or greater.
