A. Windows Installer lets you use Group Policy to distribute software with .msi files. However, many users are unaware of .msp files, which patch .msi files. You can either execute .msp files directly on a local installation or slipstream .msp files to an installation point to automatically apply the patch to new installations. To apply patches to a software installation point, use the following command:
msiexec /a <original .msi file and location> /p <.msp file and location>
This command will update the necessary files and edit the target .msi file to incorporate the patch information. After you execute this command, you need to redeploy the program you're installing so that clients receive the update. To redeploy the software, perform the following steps:
- Start the Microsoft Management Console (MMC) Active Directory Users and Computers snap-in (go to Start, Programs, Administrative Tools, and click Active Directory Users and Computers).
- Right-click the domain, organizational unit (OU), or object that has the policy that contains the deployed software, and select Properties.
- Select the Group Policy tab.
- Select the Group Policy Object (GPO) that contains the program you patched and click Edit.
- Expand the options to access the location at which the software is deployed.
- Right-click the deployed package and select All Tasks.
- Click Redeploy Application.
- Close all windows.
Clients can also trigger the reinstallation by using the following command:
msiexec /i <.msi file and location on share> REINSTALL=ALL REINSTALLMODE=vomus UPGRADEEITHRECACHE=TRUE /q