Hi Rob, Thank you for your suggestion.
I agree with you that I might need multi-instance. And I have read some articles about multi-instance MSI, like http://n2.nabble.com/Multiple-Instance-Transforms-Walkthrough-Proposed-Simple-Addition-to-WiX-to-Make-Them-Easier-td708828.html Howver, it talked about using Transforms to change ProductCode. But there is nothing about UpgradeCode. Is the transformed ProductCode MSI upgradable? How to handle multi-instance and upgrade? Regards, Chunyan -----Ursprüngliche Nachricht----- Von: Rob Mensching [mailto:r...@robmensching.com] Gesendet: Mittwoch, 21. Oktober 2009 16:48 An: General discussion for Windows Installer XML toolset. Betreff: Re: [WiX-users] How to make an updatable wix installer working as anew install The "New Install" path you are talking about sounds like you need a multi-instance MSI. Those are kinda' interesting to manage so I highly recommend reading the MSI SDK topics about it. On Wed, Oct 21, 2009 at 5:25 AM, Jiang, Chunyan (GE Healthcare) < chunyan.ji...@ge.com> wrote: > Hi Wix - users, > > I have developed one installer with Wix3. It is one upgradable > installer. It has defination about upgrade: > > UpgradeCode="8517ae9a-667d-4bd3-9cea-4323be6d7040"> > > <Upgrade Id="8517ae9a-667d-4bd3-9cea-4323be6d7040"> > > <UpgradeVersion OnlyDetect="no" Property="PREVIOUSFOUND" > Minimum="5.0.0.0" IncludeMinimum="yes" Maximum="8.0.0.0" > IncludeMaximum="no" /> > > </Upgrade> > > > > When I install this installer for the first time, it works fine. And > if there is newer version coming out, and I use the new version to > upgrade the last install, it also works good. But if I want to install > the newer version to another path, there is problem. Although the new > version installer can copy the files and register them, it still > checked the old install. The following is the log: > > Action start 13:59:06: InstallValidate. > Info 1603. The file d:\OldInstall\qsqlite4.dll is being held in use by > the following process: Name: VPMaskServer, Id: 4004, Window Title: > '(not determined yet)'. Close that application and retry. > > ... > > > Error 1306. Another application has exclusive access to the file > 'd:\OldInstall\admin.xml'. Please shut down all other applications, > then click Retry. > > How to make the installer to be able both for upgrade and for new > install? I would like to have a dialog, when select "New Install", > then installer does new install; when select "Upgrade", then installer > does upgrade. Furthermore, when it is possible to install more than > one time, there should be another dialog, to show all the installed > versions, and user can decide which version should be upgraded. > > I am sorry that maybe there are too many questions in this post. But > could some one give me the hints how to realize it? > > Best regards, > > Chunyan > > > > ---------------------------------------------------------------------- > -------- Come build with us! The BlackBerry(R) Developer Conference in > SF, CA is the only developer event you need to attend this year. > Jumpstart your developing skills, take BlackBerry mobile applications > to market and stay ahead of the curve. Join us from November 9 - 12, > 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > -- virtually, Rob Mensching - http://RobMensching.com LLC ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users