Upgrade Table requires UpgradeCode column value. Old product didn't have UpgradeCode. I do not know how to add record with empty UpgradeCode to Update table - wix refuses to build such a project.
How to check if ProductCode (differs from ProductCode of current msi) installed, using custom action? > The FindRelatedProducts action updates the property used in the Upgrade table > with the product codes > of the products it finds. You could try adding your Product code to the same > property, although I > don't know what happens if the product doesn't exist. You might need to use > a custom action to > check that. If the property is blank after FindRelatedProducts you'll need > to set it to "{GUID}". > If it's not blank you'll need to append ";{GUID}" to it. But like I said, > this will need some > careful testing. > > Rob > > On 14/12/2010 11:08, Pally Sandher wrote: >> Not as far as I know. Either use a bootstrapper to uninstall it using >> "msiexec /x [ProductCode]" or patch an UpgradeCode into it first. >> >> Palbinder Sandher >> Software Deployment& IT Administrator >> T: +44 (0) 141 945 8500 >> F: +44 (0) 141 945 8501 >> >> http://www.iesve.com >> **Design, Simulate + Innovate with the<Virtual Environment>** >> Integrated Environmental Solutions Limited. Registered in Scotland No. >> SC151456 >> Registered Office - Helix Building, West Of Scotland Science Park, >> Glasgow G20 0SP >> Email Disclaimer >> >> -----Original Message----- >> From: Sergey [mailto:sh0...@gmail.com] >> Sent: 14 December 2010 10:43 >> To: wix-users@lists.sourceforge.net >> Subject: [WiX-users] how to uninstall product without UpgradeCode >> >> Hi, >> >> I need to prepare major update for msi product, which does not contain >> UpgradeCode. Is it possible to somehow uninstall previous product on >> RemoveExistingProducts, if i know its productCode? >> >> -- >> Sergey >> >> ------------------------------------------------------------------------ >> ------ >> Lotusphere 2011 >> Register now for Lotusphere 2011 and learn how to connect the dots, take >> your collaborative environment to the next level, and enter the era of >> Social Business. >> http://p.sf.net/sfu/lotusphere-d2d >> _______________________________________________ >> WiX-users mailing list >> WiX-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/wix-users >> >> >> >> ------------------------------------------------------------------------------ >> Lotusphere 2011 >> Register now for Lotusphere 2011 and learn how >> to connect the dots, take your collaborative environment >> to the next level, and enter the era of Social Business. >> http://p.sf.net/sfu/lotusphere-d2d > > ------------------------------------------------------------------------------ > Lotusphere 2011 > Register now for Lotusphere 2011 and learn how > to connect the dots, take your collaborative environment > to the next level, and enter the era of Social Business. > http://p.sf.net/sfu/lotusphere-d2d > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------------ Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users