The problem is I need to create an installer for a new installation of an application and a patch/upgrade for the same application. I use Jenkins for my CI which kicks off AI when a build is successful once for the full install and once for patch/upgrade. Using Jenkins, builds only take place when the source in SVN has changed. So my version numbers look like 1.5.2043.22 one time and then next time 1.5.2074.23.
So I am stuck on do I want a patch project or an upgrade project?
I have been building my full install package as a single exe which seems to be problematic if dealing with a patch installer. I have been trying to figure out an upgrade project without much success. Ideally it would be nice if AI could decide which files have changed and use those only, but I am perfectly happy to replace all the files on the target. It looks to me like an Upgrade requires that you uninstall the old version. Well even though I have placed every protection I can find on the registry from inside AI the registry still gets blown away. That means people have to register the product again. Not what I want.
How do I get where I need to be. Upgrade or Patch? I do not want to uninstall if not necessary, just drop the new on top of the old. If uninstall is necessary how do I protect the registry?
Thanks,
Doug
FOLLOW US
Get the latest news in Application Packaging