Skip to main content
Version: v3

WixNetfxExtension

The WixNetfxExtension includes a set of custom actions to compile native images using Ngen.exe. For an example, see How To: NGen managed assemblies during installation.

PackageGroups

The WixNetfxExtension includes package groups that make it easier to include .NET in your bundles.

PackageGroup ID

Description

NetFx452Web

.Net Framework 4.5.2 web setup.

NetFx452Redist

.Net Framework 4.5.2 standalone setup.

NetFx46Web

.Net Framework 4.6 web setup.

NetFx46Redist

.Net Framework 4.6 standalone setup.

NetFx461Web

.Net Framework 4.6.1 web setup.

NetFx461Redist

.Net Framework 4.6.1 standalone setup.

NetFx462Web

.Net Framework 4.6.2 web setup.

NetFx462Redist

.Net Framework 4.6.2 standalone setup.

NetFx472Web

.Net Framework 4.7.2 web setup.

NetFx472Redist

.Net Framework 4.7.2 standalone setup.

NetFx48Web

.Net Framework 4.8 web setup.

NetFx48Redist

.Net Framework 4.8 standalone setup.

Properties

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.

The following properties (available starting in WiX v3.10) let you detect a particular minimum version of .NET Framework 4.X releases that are in-place updates (rather than that are installed side-by-side with other releases):

Property name

Meaning

WIX_IS_NETFRAMEWORK_40_OR_LATER_INSTALLED

Set to 1 if .NET Framework 4.0 or later is installed.

WIX_IS_NETFRAMEWORK_45_OR_LATER_INSTALLED

Set to 1 if .NET Framework 4.5 or later is installed.

WIX_IS_NETFRAMEWORK_451_OR_LATER_INSTALLED

Set to 1 if .NET Framework 4.5.1 or later is installed.

WIX_IS_NETFRAMEWORK_452_OR_LATER_INSTALLED

Set to 1 if .NET Framework 4.5.2 or later is installed.

WIX_IS_NETFRAMEWORK_46_OR_LATER_INSTALLED

Set to 1 if .NET Framework 4.6 or later is installed.

WIX_IS_NETFRAMEWORK_461_OR_LATER_INSTALLED

Set to 1 if .NET Framework 4.6.1 or later is installed. Available starting in WiX v3.11.

WIX_IS_NETFRAMEWORK_462_OR_LATER_INSTALLED

Set to 1 if .NET Framework 4.6.2 or later is installed. Available starting in WiX v3.11.

WIX_IS_NETFRAMEWORK_472_OR_LATER_INSTALLED

Set to 1 if .NET Framework 4.7.2 or later is installed. Available starting in WiX v3.14.

WIX_IS_NETFRAMEWORK_48_OR_LATER_INSTALLED

Set to 1 if .NET Framework 4.8 or later is installed. Available starting in WiX v3.14.

The following property is applicable to all versions of the .NET Framework:

Property name

Meaning

NETFRAMEWORKINSTALLROOTDIR

Set to the root installation directory for all versions of the .NET Framework (%windir%\Microsoft.NET\Framework\).

Here is a complete list of properties for the .NET Framework 1.0 product family:

Property name

Meaning

NETFRAMEWORK10

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

NETFRAMEWORK10INSTALLROOTDIR

Set to the installation directory for the .NET Framework 1.0 (%windir%\Microsoft.NET\Framework\v1.0.3705).

Here is a complete list of properties for the .NET Framework 1.1 product family:

Property name

Meaning

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.

NETFRAMEWORK11INSTALLROOTDIR

Set to the installation directory for the .NET Framework 1.1 (%windir%\Microsoft.NET\Framework\v1.1.4322).

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 Portuguese (Brazil) language pack is installed (not set otherwise).

NETFRAMEWORK11_PT_PT_LANGPACK

Set to #1 if the .NET Framework 1.1 Portuguese (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).

Here is a complete list of properties for the .NET Framework 2.0 product family:

Property name

Meaning

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.

NETFRAMEWORK20INSTALLROOTDIR

Set to the installation directory for the .NET Framework 2.0 (%windir%\Microsoft.NET\Framework\v2.0.50727).

NETFRAMEWORK20INSTALLROOTDIR64

Set to the installation directory for the 64-bit .NET Framework 2.0 (%windir%\Microsoft.NET\Framework64\v2.0.50727).

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 Portuguese (Brazil) language pack is installed (not set otherwise).

NETFRAMEWORK20_PT_PT_LANGPACK

Set to #1 if the .NET Framework 2.0 Portuguese (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).

Here is a complete list of properties for the .NET Framework 3.0 product family:

Property name

Meaning

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.

NETFRAMEWORK30INSTALLROOTDIR

Set to the installation directory for the .NET Framework 3.0 (%windir%\Microsoft.NET\Framework\v3.0).

NETFRAMEWORK30INSTALLROOTDIR64

Set to the installation directory for the 64-bit .NET Framework 3.0 (%windir%\Microsoft.NET\Framework64\v3.0).

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 Portuguese (Brazil) language pack is installed (not set otherwise).

NETFRAMEWORK30_PT_PT_LANGPACK

Set to #1 if the .NET Framework 3.0 Portuguese (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).

Here is a complete list of properties for the .NET Framework 3.5 product family:

Property name

Meaning

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.

NETFRAMEWORK35INSTALLROOTDIR

Set to the installation directory for the .NET Framework 3.5 (%windir%\Microsoft.NET\Framework\v3.5).

NETFRAMEWORK35INSTALLROOTDIR64

Set to the installation directory for the 64-bit .NET Framework 3.5 (%windir%\Microsoft.NET\Framework64\v3.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 Portuguese (Brazil) language pack is installed (not set otherwise).

NETFRAMEWORK35_PT_PT_LANGPACK

Set to #1 if the .NET Framework 3.5 Portuguese (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).

NETFRAMEWORK35_CLIENT

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

NETFRAMEWORK35_CLIENT_SP_LEVEL

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

Here is a complete list of properties for the .NET Framework 4.0 product family:

Property name

Meaning

NETFRAMEWORK40FULL

Set to #1 if the .NET Framework 4.0 full is installed (not set otherwise). This property is available starting with WiX v3.5.

NETFRAMEWORK40FULL_SERVICING_LEVEL

Indicates the service pack level for the .NET Framework 4.0 full. This property is available starting with WiX v3.5.

NETFRAMEWORK40FULLINSTALLROOTDIR

Set to the installation directory for the .NET Framework 4.0 full (%windir%\Microsoft.NET\Framework\v4.0). This property is available starting with WiX v3.5.

NETFRAMEWORK40FULLINSTALLROOTDIR64

Set to the installation directory for the 64-bit .NET Framework 4.0 full (%windir%\Microsoft.NET\Framework64\v4.0). This property is available starting with WiX v3.5.

NETFRAMEWORK40FULL_AR_SA_LANGPACK

Set to #1 if the .NET Framework 4.0 full Arabic language pack is installed (not set otherwise). This property is available starting with WiX v3.5.

NETFRAMEWORK40FULL_ZH_CN_LANGPACK

Set to #1 if the .NET Framework 4.0 full Chinese (Simplified) language pack is installed (not set otherwise). This property is available starting with WiX v3.5.

NETFRAMEWORK40FULL_ZH_TW_LANGPACK

Set to #1 if the .NET Framework 4.0 full Chinese (Traditional) language pack is installed (not set otherwise). This property is available starting with WiX v3.5.

NETFRAMEWORK40FULL_CS_CZ_LANGPACK

Set to #1 if the .NET Framework 4.0 full Czech language pack is installed (not set otherwise). This property is available starting with WiX v3.5.

NETFRAMEWORK40FULL_DA_DK_LANGPACK

Set to #1 if the .NET Framework 4.0 full Danish language pack is installed (not set otherwise). This property is available starting with WiX v3.5.

NETFRAMEWORK40FULL_NL_NL_LANGPACK

Set to #1 if the .NET Framework 4.0 full Dutch language pack is installed (not set otherwise). This property is available starting with WiX v3.5.

NETFRAMEWORK40FULL_FI_FI_LANGPACK

Set to #1 if the .NET Framework 4.0 full Finnish language pack is installed (not set otherwise). This property is available starting with WiX v3.5.

NETFRAMEWORK40FULL_FR_FR_LANGPACK

Set to #1 if the .NET Framework 4.0 full French language pack is installed (not set otherwise). This property is available starting with WiX v3.5.

NETFRAMEWORK40FULL_DE_DE_LANGPACK

Set to #1 if the .NET Framework 4.0 full German language pack is installed (not set otherwise). This property is available starting with WiX v3.5.

NETFRAMEWORK40FULL_EL_GR_LANGPACK

Set to #1 if the .NET Framework 4.0 full Greek language pack is installed (not set otherwise). This property is available starting with WiX v3.5.

NETFRAMEWORK40FULL_HE_IL_LANGPACK

Set to #1 if the .NET Framework 4.0 full Hebrew language pack is installed (not set otherwise). This property is available starting with WiX v3.5.

NETFRAMEWORK40FULL_HU_HU_LANGPACK

Set to #1 if the .NET Framework 4.0 full Hungarian language pack is installed (not set otherwise). This property is available starting with WiX v3.5.

NETFRAMEWORK40FULL_IT_IT_LANGPACK

Set to #1 if the .NET Framework 4.0 full Italian language pack is installed (not set otherwise). This property is available starting with WiX v3.5.

NETFRAMEWORK40FULL_JA_JP_LANGPACK

Set to #1 if the .NET Framework 4.0 full Japanese language pack is installed (not set otherwise). This property is available starting with WiX v3.5.

NETFRAMEWORK40FULL_KO_KR_LANGPACK

Set to #1 if the .NET Framework 4.0 full Korean language pack is installed (not set otherwise). This property is available starting with WiX v3.5.

NETFRAMEWORK40FULL_NB_NO_LANGPACK

Set to #1 if the .NET Framework 4.0 full Norwegian language pack is installed (not set otherwise). This property is available starting with WiX v3.5.

NETFRAMEWORK40FULL_PL_PL_LANGPACK

Set to #1 if the .NET Framework 4.0 full Polish language pack is installed (not set otherwise). This property is available starting with WiX v3.5.

NETFRAMEWORK40FULL_PT_BR_LANGPACK

Set to #1 if the .NET Framework 4.0 full Portuguese (Brazil) language pack is installed (not set otherwise). This property is available starting with WiX v3.5.

NETFRAMEWORK40FULL_PT_PT_LANGPACK

Set to #1 if the .NET Framework 4.0 full Portuguese (Portugal) language pack is installed (not set otherwise). This property is available starting with WiX v3.5.

NETFRAMEWORK40FULL_RU_RU_LANGPACK

Set to #1 if the .NET Framework 4.0 full Russian language pack is installed (not set otherwise). This property is available starting with WiX v3.5.

NETFRAMEWORK40FULL_ES_ES_LANGPACK

Set to #1 if the .NET Framework 4.0 full Spanish language pack is installed (not set otherwise). This property is available starting with WiX v3.5.

NETFRAMEWORK40FULL_SV_SE_LANGPACK

Set to #1 if the .NET Framework 4.0 full Swedish language pack is installed (not set otherwise). This property is available starting with WiX v3.5.

NETFRAMEWORK40FULL_TR_TR_LANGPACK

Set to #1 if the .NET Framework 4.0 full Turkish language pack is installed (not set otherwise). This property is available starting with WiX v3.5.

NETFRAMEWORK40CLIENT

Set to #1 if the .NET Framework 4.0 client profile is installed (not set otherwise). This property is available starting with WiX v3.5.

NETFRAMEWORK40CLIENT_SERVICING_LEVEL

Indicates the service pack level for the .NET Framework 4.0 client profile. This property is available starting with WiX v3.5.

NETFRAMEWORK40CLIENTINSTALLROOTDIR

Set to the installation directory for the .NET Framework 4.0 full (%windir%\Microsoft.NET\Framework\v4.0). This property is available starting with WiX v3.5.

NETFRAMEWORK40CLIENTINSTALLROOTDIR64

Set to the installation directory for the 64-bit .NET Framework 4.0 full (%windir%\Microsoft.NET\Framework64\v4.0). This property is available starting with WiX v3.5.

NETFRAMEWORK40CLIENT_AR_SA_LANGPACK

Set to #1 if the .NET Framework 4.0 client Arabic language pack is installed (not set otherwise). This property is available starting with WiX v3.5.

NETFRAMEWORK40CLIENT_ZH_CN_LANGPACK

Set to #1 if the .NET Framework 4.0 client Chinese (Simplified) language pack is installed (not set otherwise). This property is available starting with WiX v3.5.

NETFRAMEWORK40CLIENT_ZH_TW_LANGPACK

Set to #1 if the .NET Framework 4.0 client Chinese (Traditional) language pack is installed (not set otherwise). This property is available starting with WiX v3.5.

NETFRAMEWORK40CLIENT_CS_CZ_LANGPACK

Set to #1 if the .NET Framework 4.0 client Czech language pack is installed (not set otherwise). This property is available starting with WiX v3.5.

NETFRAMEWORK40CLIENT_DA_DK_LANGPACK

Set to #1 if the .NET Framework 4.0 client Danish language pack is installed (not set otherwise). This property is available starting with WiX v3.5.

NETFRAMEWORK40CLIENT_NL_NL_LANGPACK

Set to #1 if the .NET Framework 4.0 client Dutch language pack is installed (not set otherwise). This property is available starting with WiX v3.5.

NETFRAMEWORK40CLIENT_FI_FI_LANGPACK

Set to #1 if the .NET Framework 4.0 client Finnish language pack is installed (not set otherwise). This property is available starting with WiX v3.5.

NETFRAMEWORK40CLIENT_FR_FR_LANGPACK

Set to #1 if the .NET Framework 4.0 client French language pack is installed (not set otherwise). This property is available starting with WiX v3.5.

NETFRAMEWORK40CLIENT_DE_DE_LANGPACK

Set to #1 if the .NET Framework 4.0 client German language pack is installed (not set otherwise). This property is available starting with WiX v3.5.

NETFRAMEWORK40CLIENT_EL_GR_LANGPACK

Set to #1 if the .NET Framework 4.0 client Greek language pack is installed (not set otherwise). This property is available starting with WiX v3.5.

NETFRAMEWORK40CLIENT_HE_IL_LANGPACK

Set to #1 if the .NET Framework 4.0 client Hebrew language pack is installed (not set otherwise). This property is available starting with WiX v3.5.

NETFRAMEWORK40CLIENT_HU_HU_LANGPACK

Set to #1 if the .NET Framework 4.0 client Hungarian language pack is installed (not set otherwise). This property is available starting with WiX v3.5.

NETFRAMEWORK40CLIENT_IT_IT_LANGPACK

Set to #1 if the .NET Framework 4.0 client Italian language pack is installed (not set otherwise). This property is available starting with WiX v3.5.

NETFRAMEWORK40CLIENT_JA_JP_LANGPACK

Set to #1 if the .NET Framework 4.0 client Japanese language pack is installed (not set otherwise). This property is available starting with WiX v3.5.

NETFRAMEWORK40CLIENT_KO_KR_LANGPACK

Set to #1 if the .NET Framework 4.0 client Korean language pack is installed (not set otherwise). This property is available starting with WiX v3.5.

NETFRAMEWORK40CLIENT_NB_NO_LANGPACK

Set to #1 if the .NET Framework 4.0 client Norwegian language pack is installed (not set otherwise). This property is available starting with WiX v3.5.

NETFRAMEWORK40CLIENT_PL_PL_LANGPACK

Set to #1 if the .NET Framework 4.0 client Polish language pack is installed (not set otherwise). This property is available starting with WiX v3.5.

NETFRAMEWORK40CLIENT_PT_BR_LANGPACK

Set to #1 if the .NET Framework 4.0 client Portuguese (Brazil) language pack is installed (not set otherwise). This property is available starting with WiX v3.5.

NETFRAMEWORK40CLIENT_PT_PT_LANGPACK

Set to #1 if the .NET Framework 4.0 client Portuguese (Portugal) language pack is installed (not set otherwise). This property is available starting with WiX v3.5.

NETFRAMEWORK40CLIENT_RU_RU_LANGPACK

Set to #1 if the .NET Framework 4.0 client Russian language pack is installed (not set otherwise). This property is available starting with WiX v3.5.

NETFRAMEWORK40CLIENT_ES_ES_LANGPACK

Set to #1 if the .NET Framework 4.0 client Spanish language pack is installed (not set otherwise). This property is available starting with WiX v3.5.

NETFRAMEWORK40CLIENT_SV_SE_LANGPACK

Set to #1 if the .NET Framework 4.0 client Swedish language pack is installed (not set otherwise). This property is available starting with WiX v3.5.

NETFRAMEWORK40CLIENT_TR_TR_LANGPACK

Set to #1 if the .NET Framework 4.0 client Turkish language pack is installed (not set otherwise). This property is available starting with WiX v3.5.

Here is a complete list of properties for the .NET Framework 4.5 and .NET Framework 4.5.1 product families. Note that because v4.5.1 is an in-place upgrade to v4.5, the same properties are used for both versions. To differentiate, you must check the actual property value, which contains the .NET Framework Release value. For more information, see .NET Framework Deployment Guide for Developers.

Property name

Meaning

NETFRAMEWORK45

Set to Release number of the .NET Framework 4.5 if installed (not set otherwise). This property is available starting with WiX v3.6.

NETFRAMEWORK45_AR_SA_LANGPACK

set to Release number of the .NET Framework 4.5 Arabic language pack if installed (not set otherwise). This property is available starting with WiX v3.6.

NETFRAMEWORK45ZH_CN_LANGPACK

Set to Release number of the .NET Framework 4.5 Chinese (Simplified) language pack if installed (not set otherwise). This property is available starting with WiX v3.6.

NETFRAMEWORK45ZH_TW_LANGPACK

Set to Release number of the .NET Framework 4.5 Chinese (Traditional) language pack if installed (not set otherwise). This property is available starting with WiX v3.6.

NETFRAMEWORK45CS_CZ_LANGPACK

Set to Release number of the .NET Framework 4.5 Czech language pack if installed (not set otherwise). This property is available starting with WiX v3.6.

NETFRAMEWORK45DA_DK_LANGPACK

Set to Release number of the .NET Framework 4.5 Danish language pack if installed (not set otherwise). This property is available starting with WiX v3.6.

NETFRAMEWORK45NL_NL_LANGPACK

Set to Release number of the .NET Framework 4.5 Dutch language pack if installed (not set otherwise). This property is available starting with WiX v3.6.

NETFRAMEWORK45FI_FI_LANGPACK

Set to Release number of the .NET Framework 4.5 Finnish language pack if installed (not set otherwise). This property is available starting with WiX v3.6.

NETFRAMEWORK45FR_FR_LANGPACK

Set to Release number of the .NET Framework 4.5 French language pack if installed (not set otherwise). This property is available starting with WiX v3.6.

NETFRAMEWORK45DE_DE_LANGPACK

Set to Release number of the .NET Framework 4.5 German language pack if installed (not set otherwise). This property is available starting with WiX v3.6.

NETFRAMEWORK45EL_GR_LANGPACK

Set to Release number of the .NET Framework 4.5 Greek language pack if installed (not set otherwise). This property is available starting with WiX v3.6.

NETFRAMEWORK45HE_IL_LANGPACK

Set to Release number of the .NET Framework 4.5 Hebrew language pack if installed (not set otherwise). This property is available starting with WiX v3.6.

NETFRAMEWORK45HU_HU_LANGPACK

Set to Release number of the .NET Framework 4.5 Hungarian language pack if installed (not set otherwise). This property is available starting with WiX v3.6.

NETFRAMEWORK45IT_IT_LANGPACK

Set to Release number of the .NET Framework 4.5 Italian language pack if installed (not set otherwise). This property is available starting with WiX v3.6.

NETFRAMEWORK45JA_JP_LANGPACK

Set to Release number of the .NET Framework 4.5 Japanese language pack if installed (not set otherwise). This property is available starting with WiX v3.6.

NETFRAMEWORK45KO_KR_LANGPACK

Set to Release number of the .NET Framework 4.5 Korean language pack if installed (not set otherwise). This property is available starting with WiX v3.6.

NETFRAMEWORK45NB_NO_LANGPACK

Set to Release number of the .NET Framework 4.5 Norwegian language pack if installed (not set otherwise). This property is available starting with WiX v3.6.

NETFRAMEWORK45PL_PL_LANGPACK

Set to Release number of the .NET Framework 4.5 Polish language pack if installed (not set otherwise). This property is available starting with WiX v3.6.

NETFRAMEWORK45PT_BR_LANGPACK

Set to Release number of the .NET Framework 4.5 Portuguese (Brazil) language pack if installed (not set otherwise). This property is available starting with WiX v3.6.

NETFRAMEWORK45PT_PT_LANGPACK

Set to Release number of the .NET Framework 4.5 Portuguese (Portugal) language pack if installed (not set otherwise). This property is available starting with WiX v3.6.

NETFRAMEWORK45RU_RU_LANGPACK

Set to Release number of the .NET Framework 4.5 Russian language pack if installed (not set otherwise). This property is available starting with WiX v3.6.

NETFRAMEWORK45ES_ES_LANGPACK

Set to Release number of the .NET Framework 4.5 Spanish language pack if installed (not set otherwise). This property is available starting with WiX v3.6.

NETFRAMEWORK45SV_SE_LANGPACK

Set to Release number of the .NET Framework 4.5 Swedish language pack if installed (not set otherwise). This property is available starting with WiX v3.6.

NETFRAMEWORK45TR_TR_LANGPACK

Set to Release number of the .NET Framework 4.5 Turkish language pack if installed (not set otherwise). This property is available starting with WiX v3.6.

Here is a complete list of properties for the .NET Framework SDK and Windows SDK:

Property name

Meaning

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.

WINDOWSSDK70ADIR

The location of the Windows SDK 7.0a installation root. This property is available starting with WiX v3.5.

Using WixNetfxExtension Properties

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

  • Add PropertyRef elements for items listed above that you want to use in your MSI.
  • Add the -ext <path to WixNetfxExtension.dll> command line parameter when calling light.exe to include the WixNetfxExtension in the MSI linking process.

For example:

<PropertyRef Id="NETFRAMEWORK20" />