How do I create a small update with Wise for Windows Installer?

book

Article ID: 180829

calendar_today

Updated On:

Products

Symantec Products

Issue/Introduction

 

Resolution

Question
How do I create a small update with Wise for Windows Installer?

Answer

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.

  1. Open the previous version of the .WSI or the .MSI.
  2. 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.
  3. Make all other changes to the installation that is required.
  4. In the Setup Editor, select the Product tab under "Summary" and modify the "Package Code" by selecting the Generate button.
  5. Compile the .WSI with a new name or Save the .MSI in a different directory.
  6. Create a new file and go to the Wizards page.

Steps in the Patch Wizard to create a patch:

  1. Select the Patch Creation from the Tool menu and click Next on the Welcome dialog.
  2. Select Create a New Patch from the Specify Path Setting File and click Next.
  3. Click Add in the Specify Previous Versions dialog. The Previous Version Details dialog appears.
  4. Click Browse and select the previous .MSI file. Click the Open button and click Next.
  5. 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.
  6. Click the Advanced button and the Advance Upgrade Version Details dialog appears.
  7. 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.
  8. Click Next.
  9. Name the .MSP file that is created in the Output .MSP file: field, and select Next.
  10. 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.