Rather than prompt the user to do the uninstall, have you considered having MSI 
take care of it for you? How to make that work is reasonably well documented at 
http://blogs.technet.com/alexshev/archive/2008/02/15/from-msi-to-wix-part-8-major-upgrade.aspx.
 Note that this requires you increment one of the first three pieces of the 
product version, not the last piece, for detection to work properly (i.e. you 
have to roll from 1.2.10.1 to 1.2.11.0).

Neil

________________________________
From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Lio [EMAIL PROTECTED]
Sent: Tuesday, July 01, 2008 8:09 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] How to popup a warning mesagebox if there is old version 
already installed?

Hello Everyone,

I have a question on how to popup a warning mesagebox if there is old
version already installed.
I will appreciate any help.

Backround:
e.g, I have installed a product with version 1.2.10.1.
Now I have a installation with a higher version 1.2.10.2

When I double the product.msi, the maintaince page is shown up and ask me to
repair, modify or remove the product.
However, I don't want this page shown up but only a message box pop up and
give a warning message "An old version of this product is already installed.
Please use the Add/Remove to remove the product first and then install it
again." Then the installation wizard exists.


Could you please give me a hand?

Thanks in advance!


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to