There are three types of upgrades:
Small update
Minor upgrade
Major upgrade

If you use the minor upgrades your launcher needs to be able to decide if the 
previous version exists on the machine or not. If it does exist a special 
command line is needed to install the new over the old.

If you author a major upgrade no special launcher is needed. You can also pick 
between different scheduling options. One of the options will only update files 
that change and then remove old files.

See this link for a detailed explanation.
http://blogs.technet.com/alexshev/archive/2008/02/15/from-msi-to-wix-part-8-major-upgrade.aspx

As for the registry key issue, it can be a little complicated. The following 
article is easy to read and the concepts explained can be used for registry 
keys that are created during the install.
http://www.codeproject.com/KB/system/msi_upgrade_uninstall.aspx?fid=221266&df=90&mpp=25&noise=3&sort=Position&view=Quick&select=1828686




-----Original Message-----
From: Chris Lord [mailto:chris.l...@atterotech.com]
Sent: Thursday, December 11, 2008 1:19 PM
To: wix-users
Subject: [WiX-users] Simple upgrade.

Hi all,

I am somewhat perplexed with the whole upgrade path.  I have read and
re-read the Wix docs, the MSDN data, months of WiX posts relating to
upgrading and anything else I can get my hands on.  The more I read, the
more confusing it gets and the less I seem to understand.  I am hoping
someone can shed some light.

My install contains the main .EXE application and a few support files of
which all but one do not change.  When we create a new version,
generally all that changes is the .EXE and once in a while, the support
file.  What I'd like to achieve is this.....

I want to supply the end user with an MSI.  When run, it detects if a
previous version has been installed.  If it hasn't then it go ahead and
installs everything.  If a previous install is found, it should just
update the EXE file and maybe the support file as needed.

>From what I have read, it appears that an upgrade requires
uninstallation of the original software but there are settings set up by
the user in the registry which would also be removed.  I'd like to save
the user from the hassle of having to setup things up again.  Is this
possible and if so how?

Thanks

Chris Lord
Attero Tech LLC.


------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to