Hi, I have an existing installer for a 32-bit application that has been working fine for the last year or so. I am now looking at adding a second installer (users will download the 32-bit or 64-bit installer, I'm not planning on having a single installer decide which version to install) based on the same script that can install a 64-bit version of my application. I have something that almost works, but am stuck on a few things.
The current 32-bit installer drops executable files in Program Files (x86) and some common data files in ProgramData. These folders are cleaned up as part of the uninstall procedure as long as they're empty (new files can be added by the user to the ProgramData folder, and these will remain across upgrades). The new 64-bit installer is supposed to drop executable files in Program Files and the same data files in Program Data. The existing installer always uninstalls any previous version before installing the new one (so users can downgrade if I screw up) and I am trying to make the 64-bit version function in the same way. Ideally the installer will treat any existing install 32-bit or 64-bit in the same say regardless of their actual install paths, I.e., providing the version number is different, the previously installed version will be uninstalled before the new version is installed. >From what I can see, installing and uninstalling a 64-bit version on a clean >machine works. I am going to go one step further and assume that upgrading >64-bit to 64-bit also works. The problems I have are as follows: 1) When I install the 64-bit version when a 32-bit installation is already present, the 32-bit version isn't uninstalled. So while the 64-bit version is installed in Program Files there is no shortcut to it, nor is there any way to uninstall it (the 32-bit version is still listed in Programs and Features). 2) When I install the 32-bit version when a 64-bit installation is already present, the 64-bit version is not correctly removed, but the start menu shortcut and uninstall link in Programs and Features now reference the 32-bit version. So, how is this scenario supposed to be implemented? Are there any decent tutorials or references on how to implement this upgrade scenario correctly? The current installer script as it stands can be viewed here: http://www.osodata.com/stuff/Product.wxs James ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users