I am using AI 7.6 build 27499
I have several questions concerning patches. I have read all related documentation from Caphyon and several forum topics on the same issue.
I am able to successfully configure the first patch (p1) for my project, create an updater config file for it, and install it via the updater.exe
My first patch project looks like this:
Code: Select all
Family
- p1 (1.0.0.1)
-- base (1.0.0.0)
Originally, I tried to create p2 from the same project (same .aip file) I used to create p1. I added a "New Upgraded" image and two "New Target" images, giving me this:
Code: Select all
Family
- p1 (1.0.0.1)
-- base (1.0.0.0)
- p2 (1.0.0.2)
-- base (1.0.0.0)
-- p1 (1.0.0.1)
I then tried to move p2 to a new family, giving me this:
Code: Select all
Family
- p1 (1.0.0.1)
-- base (1.0.0.0)
Family2
- p2 (1.0.0.2)
-- base (1.0.0.0)
-- p1 (1.0.0.1)
Finally, the only solution I found was to create an entirely new project (new .aip file) for p2. In this project, my image family looks like this:
Code: Select all
Family
- p2 (1.0.0.2)
-- base (1.0.0.0)
-- p1 (1.0.0.1)
We are anticipating many small bug-fixes which we'd like to deploy a few times each month. For minor bug fixes, I think we prefer to treat them as patches and just increment the fourth digit in the ProductVersion. However, I'm now concerned that this approach is going to require a lot of work, since it seems like I will need to create a new project each time and then add *all* of the previous patches to the image tree.
My second question concerns the updater and how to install these patches. After I got my p2 built, I added it to my updater config file and set it to replace p1 (Replaces=All). I then ran the following test:
1.) install only the "base" version, 1.0.0.0
2.) check for updates
The updater window/dialog lists both patches. p2 is selected by default and p1 is unselected by default. If I click the checkbox for p1, then p2 is automatically unselected - it seems they are mutually exclusive. It would be preferable if p1 were not listed at all since it is superseded by p2. Once we have several patches, I don't want them all to display in the updater dialog, as that could be very confusing for the end-user. Is there a way I can configure the updater file so that only the most recent patch is displayed? Or is there a better way to handle the patches?
As always, thanks for your help.
-Todd
FOLLOW US
Get the latest news in Application Packaging