Hi Yan, Thank you for your reply. I read the web page as you recommended. It is very helpful.
I would like to ask whether it is possible to write the first installation and upgrade in the same msi. The msi shall check if it is new install or upgrade. If it is upgrade, then do some custom actions. And upgrade will copy the files to the same path as last install, just over write them. Could you please tell me how to perform it? Best regards, Chunyan -----Ursprüngliche Nachricht----- Von: Yan Sklyarenko [mailto:y...@sitecore.net] Gesendet: Montag, 3. August 2009 16:09 An: General discussion for Windows Installer XML toolset. Betreff: Re: [WiX-users] How to create the installation package,which is able to upgrade First of all, I would encourage you to get acquainted with the resources below: - http://msdn.microsoft.com/en-us/library/aa370579(VS.85).aspx and all descendants - this is essential info about upgrades - http://www.joyofsetup.com/2008/12/30/paying-for-upgrades/ - a great summary from Bob (and comments) - the topic "How To: Implement a Major Upgrade In Your Installer" and "Patch Building" section in wix.chm Lots of text, I know, but you'd better read and understand it now. Good luck. -- Yan -----Original Message----- From: Jiang, Chunyan (GE Healthcare) [mailto:chunyan.ji...@ge.com] Sent: Monday, August 03, 2009 4:56 PM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] How to create the installation package,which is able to upgrade Hi Wix-users, I have created the installation package with wix. Now I have a new task that .msi should be upgradable. It means that the newly built .msi should be installed without uninstalling the last version, when some files changed in the package. However, my newly built .msi can not be installed. It will pop up an error message like, the package has been installed. How can I make the .msi to be upgradable? Best regards, Chunyan ------------------------------------------------------------------------ ------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users