fableal
fableal

Reputation: 1617

WIX build error ICE61: Upgrade.ActionProperty ... cannot be authored in the Property table

I was applying this post's top solution How do you uninstall another program in wix installer? to uninstall an older version of a product.

product.wxs

<Property Id="OLD_VERSION" Secure="yes" Value="{53...}" />
        
<Upgrade Id="EA...">
    <UpgradeVersion OnlyDetect="no" Property="OLD_VERSION" Minimum="0.0.0" Maximum="19.0.0" />
</Upgrade>

The msi package is built and I can run it and the upgrade process seems to work however I get this error on VS (which breaks devops).

ICE61: Upgrade.ActionProperty OLD_VERSION cannot be authored in the Property table.

Is there any way I can fix this other than suppress ICE61 in the Project Pettings > Tool Settings tab in Visual Studio?

I'm using WIX 3.11.2

Upvotes: 0

Views: 80

Answers (2)

Terry
Terry

Reputation: 338

I have fixed the same error by commenting out the line declaring the property, i.e.:

<!--Property Id="OLD_VERSION" Secure="yes" Value="{53...}" /-->

Upvotes: 0

Bob Arnson
Bob Arnson

Reputation: 21896

If you want a package to upgrade another product, add a new Upgrade/UpgradeVersion pair with the upgrade code of the old product.

Upvotes: 0

Related Questions