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