WixNetfxExtension

The WixNetfxExtension includes a set of custom actions to compile native images using Ngen.exe. Detailed schema reference for the native image custom actions can be found in the Netfx Schema documentation. For an example see How To: NGen managed assemblies during installation.

The WixNetfxExtension also includes a set of properties that can be used to detect the presence of various versions of the .NET Framework, the .NET Framework SDK and the Windows SDK. For information on how to use these properties to verify the user's .NET Framework version at install time see How To: Check for .NET Framework Versions.

Properties

Here is a complete list of properties:

Property name

Meaning

NETFRAMEWORK10

Set to 3321-3705 if the .NET Framework 1.0 is installed (not set otherwise).

NETFRAMEWORK11

Set to #1 if the .NET Framework 1.1 is installed (not set otherwise).

NETFRAMEWORK11_SP_LEVEL

Indicates the service pack level for the .NET Framework 1.1.

NETFRAMEWORK11_ZH_CN_LANGPACK

Set to #1 if the .NET Framework 1.1 Chinese (Simplified) language pack is installed (not set otherwise).

NETFRAMEWORK11_ZH_TW_LANGPACK

Set to #1 if the .NET Framework 1.1 Chinese (Traditional) language pack is installed (not set otherwise).

NETFRAMEWORK11_CS_CZ_LANGPACK

Set to #1 if the .NET Framework 1.1 Czech language pack is installed (not set otherwise).

NETFRAMEWORK11_DA_DK_LANGPACK

Set to #1 if the .NET Framework 1.1 Danish language pack is installed (not set otherwise).

NETFRAMEWORK11_NL_NL_LANGPACK

Set to #1 if the .NET Framework 1.1 Dutch language pack is installed (not set otherwise).

NETFRAMEWORK11_FI_FI_LANGPACK

Set to #1 if the .NET Framework 1.1 Finnish language pack is installed (not set otherwise).

NETFRAMEWORK11_FR_FR_LANGPACK

Set to #1 if the .NET Framework 1.1 French language pack is installed (not set otherwise).

NETFRAMEWORK11_DE_DE_LANGPACK

Set to #1 if the .NET Framework 1.1 German language pack is installed (not set otherwise).

NETFRAMEWORK11_EL_GR_LANGPACK

Set to #1 if the .NET Framework 1.1 Greek language pack is installed (not set otherwise).

NETFRAMEWORK11_HU_HU_LANGPACK

Set to #1 if the .NET Framework 1.1 Hungarian language pack is installed (not set otherwise).

NETFRAMEWORK11_IT_IT_LANGPACK

Set to #1 if the .NET Framework 1.1 Italian language pack is installed (not set otherwise).

NETFRAMEWORK11_JA_JP_LANGPACK

Set to #1 if the .NET Framework 1.1 Japanese language pack is installed (not set otherwise).

NETFRAMEWORK11_KO_KR_LANGPACK

Set to #1 if the .NET Framework 1.1 Korean language pack is installed (not set otherwise).

NETFRAMEWORK11_NB_NO_LANGPACK

Set to #1 if the .NET Framework 1.1 Norwegian language pack is installed (not set otherwise).

NETFRAMEWORK11_PL_PL_LANGPACK

Set to #1 if the .NET Framework 1.1 Polish language pack is installed (not set otherwise).

NETFRAMEWORK11_PT_BR_LANGPACK

Set to #1 if the .NET Framework 1.1 Portugese (Brazil) language pack is installed (not set otherwise).

NETFRAMEWORK11_PT_PT_LANGPACK

Set to #1 if the .NET Framework 1.1 Portugese (Portugal) language pack is installed (not set otherwise).

NETFRAMEWORK11_RU_RU_LANGPACK

Set to #1 if the .NET Framework 1.1 Russian language pack is installed (not set otherwise).

NETFRAMEWORK11_ES_ES_LANGPACK

Set to #1 if the .NET Framework 1.1 Spanish language pack is installed (not set otherwise).

NETFRAMEWORK11_SV_SE_LANGPACK

Set to #1 if the .NET Framework 1.1 Swedish language pack is installed (not set otherwise).

NETFRAMEWORK11_TR_TR_LANGPACK

Set to #1 if the .NET Framework 1.1 Turkish language pack is installed (not set otherwise).

NETFRAMEWORK20

Set to #1 if the .NET Framework 2.0 is installed (not set otherwise).

NETFRAMEWORK20_SP_LEVEL

Indicates the service pack level for the .NET Framework 2.0.

NETFRAMEWORK20_ZH_CN_LANGPACK

Set to #1 if the .NET Framework 2.0 Chinese (Simplified) language pack is installed (not set otherwise).

NETFRAMEWORK20_ZH_TW_LANGPACK

Set to #1 if the .NET Framework 2.0 Chinese (Traditional) language pack is installed (not set otherwise).

NETFRAMEWORK20_CS_CZ_LANGPACK

Set to #1 if the .NET Framework 2.0 Czech language pack is installed (not set otherwise).

NETFRAMEWORK20_DA_DK_LANGPACK

Set to #1 if the .NET Framework 2.0 Danish language pack is installed (not set otherwise).

NETFRAMEWORK20_NL_NL_LANGPACK

Set to #1 if the .NET Framework 2.0 Dutch language pack is installed (not set otherwise).

NETFRAMEWORK20_FI_FI_LANGPACK

Set to #1 if the .NET Framework 2.0 Finnish language pack is installed (not set otherwise).

NETFRAMEWORK20_FR_FR_LANGPACK

Set to #1 if the .NET Framework 2.0 French language pack is installed (not set otherwise).

NETFRAMEWORK20_DE_DE_LANGPACK

Set to #1 if the .NET Framework 2.0 German language pack is installed (not set otherwise).

NETFRAMEWORK20_EL_GR_LANGPACK

Set to #1 if the .NET Framework 2.0 Greek language pack is installed (not set otherwise).

NETFRAMEWORK20_HU_HU_LANGPACK

Set to #1 if the .NET Framework 2.0 Hungarian language pack is installed (not set otherwise).

NETFRAMEWORK20_IT_IT_LANGPACK

Set to #1 if the .NET Framework 2.0 Italian language pack is installed (not set otherwise).

NETFRAMEWORK20_JA_JP_LANGPACK

Set to #1 if the .NET Framework 2.0 Japanese language pack is installed (not set otherwise).

NETFRAMEWORK20_KO_KR_LANGPACK

Set to #1 if the .NET Framework 2.0 Korean language pack is installed (not set otherwise).

NETFRAMEWORK20_NB_NO_LANGPACK

Set to #1 if the .NET Framework 2.0 Norwegian language pack is installed (not set otherwise).

NETFRAMEWORK20_PL_PL_LANGPACK

Set to #1 if the .NET Framework 2.0 Polish language pack is installed (not set otherwise).

NETFRAMEWORK20_PT_BR_LANGPACK

Set to #1 if the .NET Framework 2.0 Portugese (Brazil) language pack is installed (not set otherwise).

NETFRAMEWORK20_PT_PT_LANGPACK

Set to #1 if the .NET Framework 2.0 Portugese (Portugal) language pack is installed (not set otherwise).

NETFRAMEWORK20_RU_RU_LANGPACK

Set to #1 if the .NET Framework 2.0 Russian language pack is installed (not set otherwise).

NETFRAMEWORK20_ES_ES_LANGPACK

Set to #1 if the .NET Framework 2.0 Spanish language pack is installed (not set otherwise).

NETFRAMEWORK20_SV_SE_LANGPACK

Set to #1 if the .NET Framework 2.0 Swedish language pack is installed (not set otherwise).

NETFRAMEWORK20_TR_TR_LANGPACK

Set to #1 if the .NET Framework 2.0 Turkish language pack is installed (not set otherwise).

NETFRAMEWORK30

Set to #1 if the .NET Framework 3.0 is installed (not set otherwise).

NETFRAMEWORK30_SP_LEVEL

Indicates the service pack level for the .NET Framework 3.0. This value will not exist until a service pack is installed.

NETFRAMEWORK30_ZH_CN_LANGPACK

Set to #1 if the .NET Framework 3.0 Chinese (Simplified) language pack is installed (not set otherwise).

NETFRAMEWORK30_ZH_TW_LANGPACK

Set to #1 if the .NET Framework 3.0 Chinese (Traditional) language pack is installed (not set otherwise).

NETFRAMEWORK30_CS_CZ_LANGPACK

Set to #1 if the .NET Framework 3.0 Czech language pack is installed (not set otherwise).

NETFRAMEWORK30_DA_DK_LANGPACK

Set to #1 if the .NET Framework 3.0 Danish language pack is installed (not set otherwise).

NETFRAMEWORK30_NL_NL_LANGPACK

Set to #1 if the .NET Framework 3.0 Dutch language pack is installed (not set otherwise).

NETFRAMEWORK30_FI_FI_LANGPACK

Set to #1 if the .NET Framework 3.0 Finnish language pack is installed (not set otherwise).

NETFRAMEWORK30_FR_FR_LANGPACK

Set to #1 if the .NET Framework 3.0 French language pack is installed (not set otherwise).

NETFRAMEWORK30_DE_DE_LANGPACK

Set to #1 if the .NET Framework 3.0 German language pack is installed (not set otherwise).

NETFRAMEWORK30_EL_GR_LANGPACK

Set to #1 if the .NET Framework 3.0 Greek language pack is installed (not set otherwise).

NETFRAMEWORK30_HU_HU_LANGPACK

Set to #1 if the .NET Framework 3.0 Hungarian language pack is installed (not set otherwise).

NETFRAMEWORK30_IT_IT_LANGPACK

Set to #1 if the .NET Framework 3.0 Italian language pack is installed (not set otherwise).

NETFRAMEWORK30_JA_JP_LANGPACK

Set to #1 if the .NET Framework 3.0 Japanese language pack is installed (not set otherwise).

NETFRAMEWORK30_KO_KR_LANGPACK

Set to #1 if the .NET Framework 3.0 Korean language pack is installed (not set otherwise).

NETFRAMEWORK30_NB_NO_LANGPACK

Set to #1 if the .NET Framework 3.0 Norwegian language pack is installed (not set otherwise).

NETFRAMEWORK30_PL_PL_LANGPACK

Set to #1 if the .NET Framework 3.0 Polish language pack is installed (not set otherwise).

NETFRAMEWORK30_PT_BR_LANGPACK

Set to #1 if the .NET Framework 3.0 Portugese (Brazil) language pack is installed (not set otherwise).

NETFRAMEWORK30_PT_PT_LANGPACK

Set to #1 if the .NET Framework 3.0 Portugese (Portugal) language pack is installed (not set otherwise).

NETFRAMEWORK30_RU_RU_LANGPACK

Set to #1 if the .NET Framework 3.0 Russian language pack is installed (not set otherwise).

NETFRAMEWORK30_ES_ES_LANGPACK

Set to #1 if the .NET Framework 3.0 Spanish language pack is installed (not set otherwise).

NETFRAMEWORK30_SV_SE_LANGPACK

Set to #1 if the .NET Framework 3.0 Swedish language pack is installed (not set otherwise).

NETFRAMEWORK30_TR_TR_LANGPACK

Set to #1 if the .NET Framework 3.0 Turkish language pack is installed (not set otherwise).

NETFRAMEWORK35

Set to #1 if the .NET Framework 3.5 is installed (not set otherwise).

NETFRAMEWORK35_SP_LEVEL

Indicates the service pack level for the .NET Framework 3.5.

NETFRAMEWORK35_ZH_CN_LANGPACK

Set to #1 if the .NET Framework 3.5 Chinese (Simplified) language pack is installed (not set otherwise).

NETFRAMEWORK35_ZH_TW_LANGPACK

Set to #1 if the .NET Framework 3.5 Chinese (Traditional) language pack is installed (not set otherwise).

NETFRAMEWORK35_CS_CZ_LANGPACK

Set to #1 if the .NET Framework 3.5 Czech language pack is installed (not set otherwise).

NETFRAMEWORK35_DA_DK_LANGPACK

Set to #1 if the .NET Framework 3.5 Danish language pack is installed (not set otherwise).

NETFRAMEWORK35_NL_NL_LANGPACK

Set to #1 if the .NET Framework 3.5 Dutch language pack is installed (not set otherwise).

NETFRAMEWORK35_FI_FI_LANGPACK

Set to #1 if the .NET Framework 3.5 Finnish language pack is installed (not set otherwise).

NETFRAMEWORK35_FR_FR_LANGPACK

Set to #1 if the .NET Framework 3.5 French language pack is installed (not set otherwise).

NETFRAMEWORK35_DE_DE_LANGPACK

Set to #1 if the .NET Framework 3.5 German language pack is installed (not set otherwise).

NETFRAMEWORK35_EL_GR_LANGPACK

Set to #1 if the .NET Framework 3.5 Greek language pack is installed (not set otherwise).

NETFRAMEWORK35_HU_HU_LANGPACK

Set to #1 if the .NET Framework 3.5 Hungarian language pack is installed (not set otherwise).

NETFRAMEWORK35_IT_IT_LANGPACK

Set to #1 if the .NET Framework 3.5 Italian language pack is installed (not set otherwise).

NETFRAMEWORK35_JA_JP_LANGPACK

Set to #1 if the .NET Framework 3.5 Japanese language pack is installed (not set otherwise).

NETFRAMEWORK35_KO_KR_LANGPACK

Set to #1 if the .NET Framework 3.5 Korean language pack is installed (not set otherwise).

NETFRAMEWORK35_NB_NO_LANGPACK

Set to #1 if the .NET Framework 3.5 Norwegian language pack is installed (not set otherwise).

NETFRAMEWORK35_PL_PL_LANGPACK

Set to #1 if the .NET Framework 3.5 Polish language pack is installed (not set otherwise).

NETFRAMEWORK35_PT_BR_LANGPACK

Set to #1 if the .NET Framework 3.5 Portugese (Brazil) language pack is installed (not set otherwise).

NETFRAMEWORK35_PT_PT_LANGPACK

Set to #1 if the .NET Framework 3.5 Portugese (Portugal) language pack is installed (not set otherwise).

NETFRAMEWORK35_RU_RU_LANGPACK

Set to #1 if the .NET Framework 3.5 Russian language pack is installed (not set otherwise).

NETFRAMEWORK35_ES_ES_LANGPACK

Set to #1 if the .NET Framework 3.5 Spanish language pack is installed (not set otherwise).

NETFRAMEWORK35_SV_SE_LANGPACK

Set to #1 if the .NET Framework 3.5 Swedish language pack is installed (not set otherwise).

NETFRAMEWORK35_TR_TR_LANGPACK

Set to #1 if the .NET Framework 3.5 Turkish language pack is installed (not set otherwise).

NETFRAMEWORK11SDKDIR

The location of the .NET Framework 1.1 SDK installation root.

NETFRAMEWORK20SDKDIR

The location of the .NET Framework 2.0 SDK installation root.

WINDOWSSDKCURRENTVERSIONDIR

The location of the currently active version of the Windows SDK.

WINDOWSSDKCURRENTVERSION

The version number of the currently active version of the Windows SDK.

WINDOWSSDK60ADIR

The location of the Windows SDK 6.0a installation root.

WINDOWSSDK61DIR

The location of the Windows SDK 6.1 installation root.

Using WixNetfxExtension Properties

To use the WixNetfxExtension properties in an MSI, use the following steps:

For example:
<PropertyRef Id="NETFRAMEWORK20" />