What is considered best practice is to fail the installation attempt from InstallExecuteSequence with an error message indicating that the previous product must be removed first. This should then show up in error logs which would give the corporate clients a chance to deal with situation.
-----Original Message----- From: Lukas Haase [mailto:lukasha...@gmx.at] Sent: Wednesday, July 28, 2010 12:07 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Executing user-interactive stuff in InstallExecuteSequence ? Hi, As written in some other posts I have written A DLL for MSI which detects my old setup program, asks the user if he wants to deinstall and deinstalls the old product. However, the old setup application does not offer a silent uninstall. Right now, I call the DLL after LaunchConditions in *InstallUISequence*. However, as it was pointed out this is only executed in reduced and full UI mode (/qf, /qr). I already tried it out. Private users will almost surely use the full UI mode which is the default so there is nothing to worry about. Corporate clients however may do a centralized rollout (e.g. SCCM) and I guess then the /qb or even /qn (completely silent) operation will be used. However, also in this condition it might happen that there exists an old version on computer which should be installed. What is the best-practice in your opinion? I guess I should not call the the old uninstall program when the setup is in /qn mode, i.e. I should not call it from InstallExecuteSequence? Regards, Luke ---------------------------------------------------------------------------- -- The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users