user3613997
user3613997

Reputation: 11

"MsiNTProductType", "POWERSHELLVERSION" in WIX 3.6

In my WIX project, I want to use Cited Properties. The following Cited Properties work well

<PropertyRef Id="NETFRAMEWORK45"/>
    <Condition Message="You must install .Net Framework 4.5">
      <![CDATA[Installed OR NETFRAMEWORK45]]>
    </Condition>
<PropertyRef Id="VersionNT64"/>
    <Condition Message="This application cannot be running on 32 bit architechure">
      <![CDATA[Installed OR VersionNT64]]>
    </Condition>

But other Properties use my debug to filed with the following message:

"Error 1 Unresolved reference to symbol 'Property:MsiNTProductType' in section 'Product:*'" for example:

BTW, the WixNetFxExtension exist.

Upvotes: 1

Views: 716

Answers (2)

PhilDW
PhilDW

Reputation: 20780

MsiNTProductType is a standard Windows Installer property - you're trying to redefine it and getting that error. All you need for the standard properties is the condition - delete the PropertyRef for MsiNTProductType, VersionNT, VersionNT64.

Upvotes: 1

Stein &#197;smul
Stein &#197;smul

Reputation: 42126

MsiNTProductType is a valid built-in Windows Installer property, so this should work OK provided you haven't got any typos in the WIX code. As Phil asks, please update your question with the actual Wix code that references the MsiNTProductType property.

In my experience it is easy to mix up something trivial in a Wix source file, and the error is most likely just an extra comma, dot or some other trivial typo. I'll just include a link to the MSI Property Reference.

Upvotes: 1

Related Questions