Are you changing Product/@Id on each build? There is an example of a major upgrade script here: http://neilsleightholm.blogspot.com/2009/01/wix-script-for-major-upgrade s.html
Neil -----Original Message----- From: Hukumchand Shah [mailto:hukum.s...@gmail.com] Sent: 21 March 2009 07:27 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Upgrading ...Not happening Hi All, I want to do upgrade in my current WIX installer. I am changing the Version shown below. <Product Id="1805F899-4BF7-49aa-860C-EE258C191D97" Language="1033" Manufacturer="ABC" Name="ABCD" Version="1.0.1.0"UpgradeCode="$(var.UpgradeGUID)"> <Package InstallerVersion="300" Compressed="yes" /> and also adding the upgrade element: <Property Id="PRODUCT.UPGRADE" Secure="yes" /> <Property Id="PRODUCT.DOWNGRADE" Secure="yes" /> <Upgrade Id="$(var.UpgradeGUID)"> <UpgradeVersion Maximum="1.0.1.0" Property="PRODUCT.UPGRADE" IncludeMaximum="no" OnlyDetect="no" RemoveFeatures="all"/> <UpgradeVersion Minimum="1.0.0.0" Property="PRODUCT.DOWNGRADE" IncludeMinimum="no" OnlyDetect="no"/> </Upgrade> But when I make .msi and run it by double clicking then it shows error meaasge attached with mail. I also checked the log files, it's showing PRODUCT.UPGRADE and PRODUCT.DOWNGRADE properties empty or nothing. Also please tell me, when I will run upgrade msi then it will run same as without upgrade msi or what it will show while running? Please give me solution. I am waiting for solution. Thanks & Regards, Hukum ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users