Look at description for ICE61 
(http://msdn.microsoft.com/en-us/library/aa369005(VS.85).aspx).  At the very 
end there is a Community Content section.  Looks like there is a bug in ICE61.



-----Original Message-----
From: John Cooper (Volt) [mailto:[EMAIL PROTECTED]
Sent: Friday, November 07, 2008 2:46 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Better way to handle upgrades?

From: Colin Bleckner [mailto:[EMAIL PROTECTED]
Sent: Friday, November 07, 2008 2:40 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Better way to handle upgrades?

Hey all,

I build a lot of installers for my project.  In an attempt to make it easy
for users to install a newer version over an existing installation, I've
been doing this:

<?define InstallVersion = "X.0.0" ?>
<?define RTMInstallVersion = "1.0.0" ?>
....
    <Upgrade Id='$(var.UpgradeID)'>
      <UpgradeVersion Minimum='$(var.InstallVersion)' IncludeMinimum='yes'
OnlyDetect='yes' Language='1033' Property='NEWERPRODUCTFOUND' />
      <UpgradeVersion Minimum='$(var.RTMInstallVersion)'
IncludeMinimum='yes' Maximum='$(var.InstallVersion)' IncludeMaximum='no'
Language='1033' Property='UPGRADEFOUND' />
    </Upgrade>

Every time I do a build I bump the InstallVersion "X" up one.  It's
obviously a hack, but has been working well.  At least until now, when my
InstallVersion hit "128.0.0" and my build immediately started complaining
about an ICE61 error: "Upgrade.VersionMax cannot be less than
Upgrade.VersionMin. (UPGRADEFOUND)"

I'm not entirely sure what's going on here, but my compile works if I set
InstallVersion to 127.0.0 and fails if I use 128.0.0.  But more generally:
there must be a better way to handle upgrades, or am I just being too
liberal with the major version number?

Colin
-----Original Message-----

Sounds like version major is being stored in a signed char (or its equivalent) 
with a range of -128..127

--
John M. Cooper


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to