I have a fairly basic Windows Form application that I create in Visual Studio Express (2013) and try to deploy it on a computer running Windows XP. I redirected the application to ".NET Framework 4" in the "Application Properties" tab. In addition, I confirmed that the "App.config" file says "v4.0" for the .NET Framework.
When I publish an application and try to install it on an XP machine, I get the following error:
A preliminary check of the Microsoft.NET Framework 4.5 system component (x86 and x64) failed to run the following error message: "Microsoft.NET Framework 4.5 installation is not supported on this operating system. Contact your application provider.
I verified that .NET v4.0 is installed on the XP computer. The following is the text contained in the setup.log file generated during the installation attempt. Links to 4.0 and 4.5.NET seem to be
The following properties were set: Property: [AdminUser] = true {boolean} Property: [InstallMode] = HomeSite {string} Property: [NTProductType] = 1 {int} Property: [ProcessorArchitecture] = Intel {string} Property: [VersionNT] = 5.1.3 {version} Performing checks for the package "Microsoft.NET Framework 4.5 (x86 and x64)", phase BuildList Reading the value "Version" of the registry key "HKLM \ Software \ Microsoft \ NET" Framework Setup \ NDP \ v4 \ Full 'Read the value of the string' 4.0.30319 'Setting the value' 4.0.30319 {string} 'for the' DotNet45Full_TargetVersion 'property The following properties are set for the Microsoft.NET package: Framework 4.5 (x86 and x64)': Property: [DotNet45Full_TargetVersion] = 4.0.30319 {string} Verification of command 'DotNetFX45 \ dotNetFx45_Fu ll_x86_x64.exe 'The result of the running ValueEqualTo statement on the InstallMode property and the HomeSite value: true The result of the checks for the DotNetFX45 \ dotNetFx45_Full_x86_x64.exe command. Bypass Performs the test on the DotNetFX45 \ dotNetFx45_Full_setup.exe command "InstallMode" and the value "HomeSite": false The result of the launching statement 'VersionGreaterThanOrEqualTo' on the property "DotNet45Full_TargetVersion" and the value "4.5.50709": false The result of executing the "ValueEqualTo" operator in the "AdminUser" and value 'false' properties: false The result of starting the statement 'VersionLessThan' on the property "VersionNT" and the value "6.0.0":true Check result for command 'DotNetFX45 \ dotNetFx45_Full_setup.exe' - 'Fail' 'Microsoft.NET Framework 4.5 (x86 and x64) "RunCheck result: Fail Prerequisite failed for package" Microsoft.NET Framework 4.5 (x86 and x64) " Package error with the message "Installing Microsoft.NET Framework 4.5 is not supported on this operating system. Contact your application provider. "
, , .