Hello everyone,
As I know if I want to create a MSI setup file to check for existing installed
product from the system and upgrade to the new installer. I need to keep the
UpgradeCode and change the ProductCode. Every time when user run the latest
installer, MSI will uninstall the old one and install the new version and you
will only find one entry in Add/Remove program.
How can I create an MSI that will check the current installed product's
location, when the new version going to install the same location as existing
path, I will treat as upgrade(uninstall then install the new one with the
existing path). But if it install different location and I will treat as new
install.
Example.
MyProduct Version1.0 installed in c:\PathA. MyProduct Version1.5 installed in
c:\PathB. For my new installer MyProduct Version 2.0, if user going to install
it in c:\PathA or c:\PathB, my new installer should treat as upgrade and it
will uninstall c:\PathA(or c:\PathB, depend on where the new installdir). And
user should see 2 entries in Add/Remove Program. If user install Version 2.0
in c:\PathC, the new installer should treat it as new install and he/she should
see 3 entries in Add/Remove Program.
Any help is much appreciated.
Puyopuy
Get the name you always wanted with the new y7mail email address.
www.yahoo7.com.au/y7mail
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users