Hello,
I created a patch app in AI, but I do not know what to do in the Images Project Definition. If I click the New Upgraded button, it asks for an MSI file- but what MSI file? I do not have one.
To create a patch you will need both target and upgraded .MSIs. If you have the "Include files in EXE" option set, then to extract the .MSI from the .EXE you can use the following bootstrapper command line:
This command line extracts the .MSI contained by the .EXE to the specified location. If the path contains spaces you must enclose it in quotes.
So how do I include the two new XL files into the patch so that when the patch is run, it installs just those two files on the target PC replacing the existing files?
Just to clarify things, here are the generic recommended steps you can follow in case of a patch:
- back-up of the AIP of the first installation
- open the AIP of the first installation in Advanced Installer
- in the "Product Details" page increase the version (in the "Product Version" field)
- after you select another page you are prompted about changing the Product Code
- in this dialog select "No" because the target and upgraded packages must have the same product code
- update the package (add/modify files, registry keys etc.)
- make sure that nothing is removed
- save and build the project (the target and upgraded packages must have the same name, for example: "test.msi")
- in Advanced Installer create a Patch project
- set the target (old MSI) and the upgraded (updated MSI) packages
- build the project
As the patching process requires careful settings not to mention
specific rules, to understand the basic concept and to avoid any future confusions, I recommend you first follow
our tutorial before implementing the functionality into your main project.
All the best,
Mihai