Having dealt with a similar scenario with InstallShield, the best I can suggest is to bootstrap uninstall. You can use dotNetInstaller (http://dotnetinstaller.codeplex.com) and write a command line that will uninstall the previous application. Write an MSI to uninstall the legacy thing or write a tool to do it. I'd do everything to avoid bloating the new installer with any kind of logic that deals with a legacy installer.
For your user/administrator problem - when you run as administrator, you can do everything any user can do. So embed a manifest in the bootstrapper that will make it always run as administrator. If you must have just 1 MSI, you will try to do what we did. In the MSI we would detect that a previous installshield application is installed (registry) and ran uninstall, dropping an .rsp file that drives the installshield uninstall. We made the MSI believe it's doing a major upgrade (some convenience properties here: http://code.dblock.org/ShowPost.aspx?id=42). It was pretty hard overall and took more effort to clean-up once the customers were off those very old versions. dB. @ dblock.org Moscow|Geneva|Seattle|New York -----Original Message----- From: Lukas Haase [mailto:lukasha...@gmx.at] Sent: Wednesday, July 21, 2010 4:20 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Upgrading from other setup program to WiX/MSI Hi, Today I began creating my first WiX project. Until now I used SetupSpecialist but as I am facing serious problems with it I want to use WiX in future. This is my first big question: On clients' computers there will be an old instance of my program (with SetupSpecialist) installed. Even worse: My new version requires the setup to be run as administrator. However, the old versions might be installed as normal users. What is the best way to handle this situation? Thank you. Regards, Luke ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users