How do I create a small update with Wise for Windows Installer?
Using Windows Installer technology, there are three types of upgrades: a major upgrade, a minor upgrade, and a small update. A major upgrade makes a large change that warrants a full version upgrade. A minor upgrade is a minor version change such as adding a few new files and/or making many small corrections. A small update is a few minute changes that do not warrant a version change.
To create a small update, use the patching technology found in the Patch Wizard of Wise for Windows Installer Professional, Wise Package Studio, or Wise for Visual Studio .NET.
Required modifications for a small update from the Windows Installer SDK:
Note: The Windows Installer SDK is accessible from the Windows Installer Help menu.
Upgrade Code: same as previous version
Package Code: changed from previous version
Product Code: same as previous version
Version Number: same as previous version
Steps to create the second .MSI for the Small Update:
Note: This is assuming the first .MSI is already created and the Small Update is created from the original .MSI.
- Open the previous version of the .WSI or the .MSI.
- To update files, double-click on the files in the Installation Expert and change the Source Pathname. Note: New files added must be in a new component.
- Make all other changes to the installation that is required.
- In the Setup Editor, select the Product tab under "Summary" and modify the "Package Code" by selecting the Generate button.
- Compile the .WSI with a new name or Save the .MSI in a different directory.
- Create a new file and go to the Wizards page.
Steps in the Patch Wizard to create a patch:
- Select the Patch Creation from the Tool menu and click Next on the Welcome dialog.
- Select Create a New Patch from the Specify Path Setting File and click Next.
- Click Add in the Specify Previous Versions dialog. The Previous Version Details dialog appears.
- Click Browse and select the previous .MSI file. Click the Open button and click Next.
- Click Browse in the Specify Upgrade Version dialog and select the new .MSI file. Click the Open button and proceed by clicking the Next button.
Note: If there are no other previous patches, skip steps 6 and 7.
- Click the Advanced button and the Advance Upgrade Version Details dialog appears.
- Click Browse in the Previous Patch GUIDs to replace to browse to the location of the old patches. This option unregisters the old patch and removes it prior to running the new patch. Click OK.
- Click Next.
- Name the .MSP file that is created in the Output .MSP file: field, and select Next.
- Select Finish.
Creating a small update using this article can update the files on the destination computer to match the most current versions of the files on the development machine. This assists in keeping the application current with the latest information.