Hi,
There are a number of older versions of my application installed in various sites, whose msi was built using AI 2.2. I have recently upgraded to 3.9, which was not backwards compatible against 2.2 and, as a result had to built the aip from scratch, although using the same file structure, app name, CAs, etc.
I now want to bring all of the old applications up to the current release level. To do this I wanted to take advantage of the upgrade functionality of Windows Installer. My plan was to do the following steps:
1. Build a special release that brings previous releases up to date (all future releases willbe done using remote patches - which I now have working thanks to the AI helpdesk)
2. When the msi runs, it should detect the existence of the previous version
3. If not detected, a message should appear explaining that this special release is not relevant as no previous version exists
4. If detected, it should run a small script to copy certain files to a safe location, uninstall the old version, install the new one, and run another script to move the files back
The initial problem I have is that the previous release is not being detected by the new msi (created from the new 3.9 aip) - moving between versions of thhe 2.2 aip works fine. I need to know what specifically the installer is looking for to detect the previous version. I have looked on the MS site under AppSearch but it is not clear to me. Once I know this, I can modify the new aip accordingly (I guess)
The second issue is where to run the script to move the files away. I assume that this is after AppSearch but before the installation process begins to uninstall. However, I am not sure exactly where.
Finally, what conditions should I use against this script?
Sorry for the multiple questions but I felt that they were all linked enough to feature on the same posting!
Regards,
Anthony