[WiX-users] MajorUpgrade: Setting AllowSameVersionUpgrades=yes leads to ICE61

2011-08-08 Thread Sameer Arora
With the code below, if the product code changes but version does not change
at all (including the 4th element), I endup with multiple installations of
the same product since product code is different in each new MSI.

If however, I change  AllowSameVersionUpgrades to yes I am faced with
compilation error below:

Product Id=* ...
   UpgradeCode=$(var.upgradeCode)
   Version=$(var.buildVersion)
...
MajorUpgrade AllowDowngrades=no DowngradeErrorMessage=Newe version
already present.
   AllowSameVersionUpgrades=no
   IgnoreRemoveFailure=no   Schedule=afterInstallInitialize  /
...
/Product

Compilation error:
Product.wxs : error LGHT1076: ICE61: This product should remove only older
versions of itself.
The Maximum version is not less than the current product. (1.0.110.0
1.0.110.0)

I really would like to:

- use the $(var.buildVersion) to pick up the version from our build
environment instead of hardcoding a value (which btw gave me the same error
- have the product code AutoGene'd.

and still be able to have only one MSI version installed when first 3
elements of the version don't change but the product code changes.

Am I doing something incorrect?

Thanks,
Sameer
--
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] MajorUpgrade: Setting AllowSameVersionUpgrades=yes leads to ICE61

2011-08-08 Thread Bob Arnson
On 08-Aug-11 20:47, Sameer Arora wrote:
 If however, I change  AllowSameVersionUpgrades to yes I am faced with
 compilation error below:

The ICE error is trying to tell you that you're doing something weird. 
Since that's the behavior you want, just suppress it.

-- 
sig://boB
http://joyofsetup.com/


--
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] MajorUpgrade: Setting AllowSameVersionUpgrades=yes leads to ICE61

2011-08-08 Thread Sameer Arora
Thanks much.
Suppressing works great.

On Mon, Aug 8, 2011 at 8:53 PM, Bob Arnson b...@joyofsetup.com wrote:

 On 08-Aug-11 20:47, Sameer Arora wrote:
  If however, I change  AllowSameVersionUpgrades to yes I am faced with
  compilation error below:

 The ICE error is trying to tell you that you're doing something weird.
 Since that's the behavior you want, just suppress it.

 --
 sig://boB
 http://joyofsetup.com/



 --
 uberSVN's rich system and user administration capabilities and model
 configuration take the hassle out of deploying and managing Subversion and
 the tools developers use with it. Learn more about uberSVN and get a free
 download at:  http://p.sf.net/sfu/wandisco-dev2dev
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

--
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] MajorUpgrade: Setting AllowSameVersionUpgrades=yes leads to ICE61

2011-08-08 Thread Sameer Arora
Suppressing the ICE worked.
Thanks much!

On Mon, Aug 8, 2011 at 8:53 PM, Bob Arnson b...@joyofsetup.com wrote:

 On 08-Aug-11 20:47, Sameer Arora wrote:
  If however, I change  AllowSameVersionUpgrades to yes I am faced with
  compilation error below:

 The ICE error is trying to tell you that you're doing something weird.
 Since that's the behavior you want, just suppress it.

 --
 sig://boB
 http://joyofsetup.com/



 --
 uberSVN's rich system and user administration capabilities and model
 configuration take the hassle out of deploying and managing Subversion and
 the tools developers use with it. Learn more about uberSVN and get a free
 download at:  http://p.sf.net/sfu/wandisco-dev2dev
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

--
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users