From the ITMU Pre-Installation Guide, the “current version” of Windows Installer is required for proper functionality for the ITMU. From the Pre-Installation guide, “Windows Installer is required for MSI updates which have a MSP file extension. Currently, only Microsoft Office uses this format for updates in the Windows Update Catalog, but it may be adopted by other Microsoft products in the future.”
Query for Systems that need Windows Installer 3.1
These are example queries – Please test in your environment to ensure accurate information. **Note: These queries will only give you accurate information for the “current” version of Windows Installer as of 8/3/2005. It is possible that a few months from now, a new version of Windows Installer will be available which will require the values in these queries to be modified.
Download the queries here:
http://www.myitforum.com/inc/upload/10937WinInstallerCheck.zip
Create a Query-Based collection (based on Software Inventory information)
As the heading states, SMS Software Inventory must be enabled, collecting inventory for .exe. This query is based on Software Inventory, for %windir%\system32\msiexec.exe file version < 3.1.4000.1823
select SMS_R_System.ResourceID,SMS_R_System.ResourceType,SMS_R_System.Name,SMS_R_System.SMSUniqueIdentifier,SMS_R_System.ResourceDomainORWorkgroup,SMS_R_System.Client from SMS_R_System inner join SMS_G_System_SYSTEM on SMS_G_System_SYSTEM.ResourceID = SMS_R_System.ResourceId where SMS_G_System_SYSTEM.Name not in (select SMS_G_System_SYSTEM.Name from SMS_R_System inner join SMS_G_System_SoftwareFile on SMS_G_System_SoftwareFile.ResourceID = SMS_R_System.ResourceId inner join SMS_G_System_SYSTEM on SMS_G_System_SYSTEM.ResourceID = SMS_R_System.ResourceId where SMS_G_System_SoftwareFile.FileName = "msiexec.exe" and SMS_G_System_SoftwareFile.FilePath like "%system32\\" and SMS_G_System_SoftwareFile.FileVersion >= "3.1.4000.1823")
Create a Query-Based Collection (based on Hardware Inventory information)
This query may help get you up and running with “current” Windows Installer, installed as KB893803v2 in Add-Remove Programs.
select SMS_R_System.ResourceID,SMS_R_System.ResourceType,SMS_R_System.Name,SMS_R_System.SMSUniqueIdentifier,SMS_R_System.ResourceDomainORWorkgroup,SMS_R_System.Client from SMS_R_System where ResourceId not in (select SMS_R_System.ResourceID from SMS_R_System inner join SMS_G_System_ADD_REMOVE_PROGRAMS on SMS_G_System_ADD_REMOVE_PROGRAMS.ResourceID = SMS_R_System.ResourceId where SMS_G_System_ADD_REMOVE_PROGRAMS.ProdID = "KB893803v2")
Web Report Based on Software Inventory
Chris Stauffer created the following SQL query for creating a web report based on Software Inventory:
SELECT DISTINCT SYS.Netbios_Name0, SF.FileName, SF.FileDescription, SF.FileVersion, SF.FileSize, SF.FileModifiedDate
FROM v_GS_SoftwareFile SF INNER JOIN
v_R_System SYS ON SYS.ResourceID = SF.ResourceID
WHERE (SF.FileName = 'msiexec.exe') AND (SF.FileVersion LIKE '3.1%') AND (SF.FilePath LIKE '%\system32\')
ORDER BY SYS.Netbios_Name0
Download the queries here:
http://www.myitforum.com/inc/upload/10937WinInstallerCheck.zip
Download Windows Installer 3.1
Deploy Windows Installer 3.1 Via SMS
This is a simple update to deploy. Be sure to test in your environment before global deployment! **This installation requires a reboot on completion. Here are a couple example command lines:
WindowsInstaller-KB893803-v2-x86.exe /quiet /norestart -- Since “norestart” is used, be sure to set the SMS Program property to “SMS Restarts Computer”.
WindowsInstaller-KB893803-v2-x86.exe /quiet /forcerestart -- By using “forcerestart”, the system will be rebooted immediately after completion.
Greg
If you have any questions or comments, please send me email: ramseyg@hotmail.com