Authoring a Windows Installer patchThis tutorial will guide you step by step into the creation of a simple Windows Installer patch project from scratch and building it in order to obtain a MSP package. It is addressed to those who have previous experience in using the Advanced Installer application to create MSI packages but have no experience in creating patches. Let's start from the project that we created in the Simple Installation tutorial. After the "Build and install" step, we have created our 1.0.0 MSI. Save it in a safe place. Go to the "Product Details" page and increase the version in the "Product Version" field to 1.0.1. When you move to another page you are prompted about changing the Product Code. Answer No in order to be able to create a patch. After modifying and building the project, we will have two MSI packages (one for the 1.0.0 version and one for the 1.0.1 version) and we want to create a patch that will upgrade an installed 1.0.0 "Long Story" to 1.0.1. Create the projectIf Advanced Installer is not currently running, start it by double-clicking on the desktop icon or by selecting it from the "Start > All Programs > Advanced Installer" menu. When the application starts, you will be presented a dialog where you can choose the type of the project you want to create.
Select the "Patch" type and press the button. The new project has been created and from now on you will edit it.
Create ImagesThe most important step in creating a MSP package is creating the Upgraded and Target images.
Build and installNow that you have created the Upgraded and Target images, let's build the MSP patch package. First you need to make sure that the patch respects the Patch Rules.
Congratulations! You have created your first Advanced Installer MSP patch package. By default, the patched "story.txt" file is installed in "C:\Program Files\Story Teller\Long Story". Browse to that folder in Windows Explorer to check. The EndThis concludes our tutorial. | |
|
| Privacy Policy | Windows Installer | Search Engine Ranking | Link Analyzer | ||
| © 2002 - 2008 Caphyon Ltd. Trademarks belong to their respective owners. All rights reserved. | ||