Hi,
I currently have two installer packages, one for 64-bit and the other 32-bit. I am trying to consolidate both packages into a mixed installer and am encountering problems with files in the mixed installer being deleted upon install.
All my installers are using the 'install new version then uninstall old version' order. This is required and cannot be changed. However, when I am performing an upgrade, the files that have been moved out of APPDIR and are in a child folder that has its contents installed into the parent folder are deleted upon upgrade.
To demonstrate, I've included 3 .aip files, one that is 32-bit, one that is 64-bit, and a mixed installer that is a higher product version and combines the files from both installers. The mixed installer has the 64-bit version of the file that is in APPDIR and the same 32-bit version of the file that is in a child folder which is conditionally installed only on 32-bit installs. (The 32/64 bit integration wizard uses this)
When upgrading from the standalone installer to the mixed installer on a 64-bit machine, the file is upgraded successfully, and not removed when the previous version is uninstalled.
When upgrading from the standalone installer to the mixed installer on a 32-bit machine, the file is installed but then deleted when the previous version is uninstalled.
I've tried the reverse of this situation, where APPDIR contains the 32-bit version of the file, and the 64-bit version is installed from a child folder into the parent and I get the same behavior, reversed.
In summary, when upgrading from a single mode to mixed mode installer, when the order of upgrading is to install the new product then uninstall the old, files that are in child folders that are conditionally installed into the parent folder are overwritten on upgrade from the non-mixed mode installer.
How can I remedy this?
Thanks,
Justin
FOLLOW US
Get the latest news in Application Packaging