[wix-users] Question regarding ICE61
Edwin Castro
egcastr at gmail.com
Fri Mar 4 09:48:03 PST 2022
That depends on how the FOUND property is used in your MSI.
--
Edwin G. Castro
On Thu, Mar 3, 2022 at 9:50 PM Kaveesh Dashora via wix-users <
wix-users at lists.wixtoolset.org> wrote:
> Thanks Rob,
>
> Doing this makes the warning go away. However, I am still not sure as
> to why this was added.
>
> I was going through the documentation for MajorUpgrades
>
> https://wixtoolset.org/documentation/manual/v3/howtos/updates/major_upgrade.html
>
> This does not talk about adding an additional Upgrade element to the
> Product.wxs.
> WIll it be safe if I remove these lines?
> --
> Kaveesh
>
>
> On Wed, Mar 2, 2022 at 10:23 PM Rob Mensching <rob at firegiant.com> wrote:
> >
> > What if you change OnlyDetect to "yes"?
> >
> >
> > - - - - - - - - - - - - - - -
> > I provide short answers on wix-users. Full commercial support is offered
> by FireGiant at http://www.firegiant.com/services
> >
> >
> > -----Original Message-----
> > From: wix-users <wix-users-bounces at lists.wixtoolset.org> On Behalf Of
> Kaveesh Dashora via wix-users
> > Sent: Wednesday, March 2, 2022 4:22 AM
> > To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
> > Cc: Kaveesh Dashora <kaveeshd at googlemail.com>
> > Subject: Re: [wix-users] Question regarding ICE61
> >
> > or should I suppress this warning?
> >
> > On Wed, Mar 2, 2022 at 5:50 PM Kaveesh Dashora <kaveeshd at gmail.com>
> wrote:
> > >
> > > Hi,
> > >
> > > I have recently started working on a pre created installer which
> > > raises the warning ICE61 - warning LGHT1076: ICE61: This product
> > > should remove only older versions of itself. No Maximum version was
> > > detected for the current product. (FOUND).
> > >
> > > This warning comes from the below block of code.
> > >
> > > <!-- #region Upgrade Code - Warning - DO NOT CHANGE - changing this
> > > will break the upgrade functionality --> <Upgrade Id="<GUID DEFINED
> > > UNDER UPGRADE CODE IN PRODUCT TAG">
> > > <UpgradeVersion Minimum="1.1.0.0" OnlyDetect="no" Property="FOUND"
> > > /> </Upgrade>
> > > <!-- #endregion -->
> > >
> > > I have a feeling that this was done to disallow downgrades but the
> > > installer also has the following line.
> > >
> > > <MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName]
> > > is already installed." />
> > >
> > > How can I remove this warning? Will it be fine if I remove the lines?
> > > --
> > > Kaveesh
> >
> > ____________________________________________________________________
> > WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>
More information about the wix-users
mailing list