Im really having a hard time finding how to make upgrades to a installer.
I decided not to use the patch option and do like most people do, just installing the newer version on top of the old one.
The problem is I cannot find how to tell AI not to overwrite specific folder of files on upgrades.
It seems the option to "remove" certain folders and files on uninstall is there, but its says nothing about upgrades.
The default behavior is to remove old first then install new version, or the other way around. I have to use the first one because I need to punch the firewall on a first install.
Its doesnt matter actually which option you choose, I thought I would be as simple as this:
Tell AI to create a folder on install if it doesnt exists
If it exitsts overwrite it on new install
On upgrade dont overwrite it
On uninstall delete it
But it seems the options are just to simple or I cannot find how to do this.
Example, AI already uses the install path on upgrades, great about this one, just in case I already write the install path to a xml file. I also take some user input on a fist install which I also save to a xml config file.
The problem is this. Why in the world on upgrades do the user have to specify this option again. This is not correct. The correct way would be to tell AI to check if this XML files exists and read from there.
Or even simpler, just disabled that dialog on upgrades and not to overwrite specific files and folders on upgrades. Almost all apps today create files on the install folder when a user uses them. In my case of course it creates some databases and users settings. If this are gone on upgrades its like doing a fresh install from scratch. The correct procedure would be to just upgrade new files and ignore the specific files that where already modified by the user, and of course do not delete stuff created by the user, that means no by the install.
If someone can specify how to make upgrades I would really appreciate it, as today and for months I can only create a one installer. Im unable to upgrade installed versions because of this. I checked and checked the settings and nothing tells me options on upgrades, most options are on install and uninstall, nothing for upgrades.
The patching procedure is for small files and it actually looks more messy. I decided to upgrade the install because I also want to be able to use the auto upgrade feature eventually.
FOLLOW US
Get the latest news in Application Packaging