错误code通过Visual Studio 2010中安装.NET框架作为ClickOnce应用程序部署的一部分,当5100 [英] Error code 5100 when installing .NET framework as part of a ClickOnce application deployment via Visual Studio 2010

查看:751
本文介绍了错误code通过Visual Studio 2010中安装.NET框架作为ClickOnce应用程序部署的一部分,当5100的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Visual Studio 2010中,我已经把我的应用程序针对.NET框架和所有CPU第4版。由于一些我们的用户是64位,而其他人都是32位的,我相信人们会选择所有的CPU。这是否正确?

在一个特定的用户的32位Windows 7 SP1机,框架安装(通过ClickOnce的)失败与错误code 5100,根据的这个MSDN文章,表明用户的计算机不符合系统要求

在用户的PC是 32位的Windows 7 SP1,所以我不知道,如果命令参数FullX64Bootstrapper是摆在首位正确的?

本安装Microsoft的控制作为ClickOnce的发布机制的一部分。它看起来好像是要安装64位架构到32位机?那是什么可能会导致5100错误?

下面是从日志中摘录的命令(我的重点):

  

使用命令安装'C:\用户\ XXXXXX〜1 \应用程序数据\本地的\ Temp \ VSD983D.tmp \ DotNetFX40 \ dotNetFx40_Full_setup.exe和参数/ Q / norestart更新日志文件/ ChainingPackage FullX64Bootstrapper / LCID 1033

和这里的完整的日志:

 以下属性已设置:
 属性:[管理用户] = TRUE {}布尔
 属性:[INSTALLMODE] = {的HomeSite字符串}
 属性:[的ProcessorArchitecture] = {英特尔字符串}
 属性:[VersionNT] = {6.1.1版本}
 运行检查包Windows安装程序3.1,相BuildList
 以下属性已被设置了包Windows安装程序3.1:
 运行检查命令'WindowsInstaller3_1 \ WindowsInstaller-KB893803-V2-x86.exe程序
 运行运营商VersionGreaterThanOrEqualTo'物业'VersionMsi和值3.1的结果:真实的
 检查命令的结果WindowsInstaller3_1 \ WindowsInstaller-KB893803-V2-x86.exe程序'是'绕道'
 Windows安装程序3.1RunCheck结果:没有安装所需
 运行检查包的Microsoft .NET Framework 4(x86和x64),相BuildList
 读值'版本'注册表项HKLM \软件\微软\ NET Framework安装\新民主党\ V4 \全部'
 无法读取注册表值
 不设置值的属性DotNet40Full_TargetVersion
 以下属性已被设置了包的Microsoft .NET Framework 4(x86和x64):
 为命令运行检查DotNetFX40 \ dotNetFx40_Full_x86_x64.exe
 运行操作人员的财产INSTALLMODE'ValueEqualTo与价值的HomeSite'的结果:真实的
 检查命令的结果DotNetFX40 \ dotNetFx40_Full_x86_x64.exe'是'绕道'
 为命令运行检查DotNetFX40 \ dotNetFx40_Full_setup.exe
 运行操作人员的财产INSTALLMODE'ValueNotEqualTo与价值的HomeSite'的结果:假的
 跳过ByPassIf因为住宅'DotNet40Full_TargetVersion'未定义
 运行操作人员的财产ValueEqualTo管理用户和值假的结果:假的
 运行运营商VersionLessThan'物业'VersionNT和值5.1.2的结果:假的
 运行操作人员的财产的ProcessorArchitecture'ValueEqualTo和值IA64的结果:假的
 检查命令'DotNetFX40 \ dotNetFx40_Full_setup.exe的结果是安装
 微软.NET Framework 4中(x86和x64)RunCheck结果:安装所需
 最终用户许可协议的组成部分的Microsoft .NET Framework 4(x86和x64)的'被接受。
 将文件复制到临时目录C:\用户\ XXXXXX〜1 \应用程序数据\本地的\ Temp \ VSD983D.tmp \
 下载文件到C:\用户\ XXXXXX〜1 \应用程序数据\本地的\ Temp \ VSD983D.tmp \
 (2013年1月2日上午十一点09分57秒)从http://go.microsoft.com/fwlink/?linkid=182805'下载'DotNetFX40 \ dotNetFx40_Full_setup.exe'到'C:\ Users \用户XXXXXX〜1 \应用程序数据\本地的\ Temp \ VSD983D.tmp \'
 下载完成后在2013年1月2日上午11点10分零零秒
 验证的C文件的完整性:\用户\ XXXXXX〜1 \应用程序数据\本地的\ Temp \ VSD983D.tmp \ DotNetFX40 \ dotNetFx40_Full_setup.exe
 返回的WinVerifyTrust 0
 文件值得信赖
 运行检查包的Microsoft .NET Framework 4(x86和x64),相BeforePackage
 读值'版本'注册表项HKLM \软件\微软\ NET Framework安装\新民主党\ V4 \全部'
 无法读取注册表值
 不设置值的属性DotNet40Full_TargetVersion
 以下属性已被设置了包的Microsoft .NET Framework 4(x86和x64):
 为命令运行检查DotNetFX40 \ dotNetFx40_Full_setup.exe
 运行操作人员的财产INSTALLMODE'ValueNotEqualTo与价值的HomeSite'的结果:假的
 跳过ByPassIf因为住宅'DotNet40Full_TargetVersion'未定义
 运行操作人员的财产ValueEqualTo管理用户和值假的结果:假的
 运行运营商VersionLessThan'物业'VersionNT和值5.1.2的结果:假的
 运行操作人员的财产的ProcessorArchitecture'ValueEqualTo和值IA64的结果:假的
 检查命令'DotNetFX40 \ dotNetFx40_Full_setup.exe的结果是安装
 微软.NET Framework 4中(x86和x64)RunCheck结果:安装所需
 验证的C文件的完整性:\用户\ XXXXXX〜1 \应用程序数据\本地的\ Temp \ VSD983D.tmp \ DotNetFX40 \ dotNetFx40_Full_setup.exe
 返回的WinVerifyTrust 0
 文件值得信赖
 使用命令安装'C:\ Users \用户XXXXXX〜1 \应用程序数据\本地的\ Temp \ VSD983D.tmp \ DotNetFX40 \ dotNetFx40_Full_setup.exe和参数/ Q / norestart更新日志文件/ ChainingPackage FullX64Bootstrapper / LCID 1033
 进程退出,code 5100
 包状态的Microsoft .NET Framework 4(x86和x64)安装后InstallFailed
 

解决方案

我在同样的情况得到了相同的信息

因为的 Windows图像处理组件(WIC)的Windows&NBSP?这帮助了我。

Inside Visual Studio 2010, I've set my application to target version 4 of the .NET Framework and for "All CPUs". As some of our users are 64-bit while others are 32-bit, I assume one would choose All CPUs. Is that correct?

On a particular user's 32-bit Windows 7 SP1 machine, the framework installation (via ClickOnce) is failing with an error code 5100, which according to this MSDN article, indicates that The user's computer does not meet system requirements.

The user's PC is 32-bit Windows 7 SP1, so I wonder if the command argument 'FullX64Bootstrapper' is correct in the first place?

This installation is under Microsoft's control as part of the ClickOnce publishing mechanism. It looks as though it is trying to install the 64-bit framework onto a 32-bit machine? Is that what could be causing the 5100 error?

Here's the command excerpted from the log (my emphasis):

Installing using command 'C:\Users\XXXXXX~1\AppData\Local\Temp\VSD983D.tmp\DotNetFX40\dotNetFx40_Full_setup.exe' and parameters ' /q /norestart /ChainingPackage FullX64Bootstrapper /lcid 1033'

And here's the full log:

The following properties have been set:
 Property: [AdminUser] = true {boolean}
 Property: [InstallMode] = HomeSite {string}
 Property: [ProcessorArchitecture] = Intel {string}
 Property: [VersionNT] = 6.1.1 {version}
 Running checks for package 'Windows Installer 3.1', phase BuildList
 The following properties have been set for package 'Windows Installer 3.1':
 Running checks for command 'WindowsInstaller3_1\WindowsInstaller-KB893803-v2-x86.exe'
 Result of running operator 'VersionGreaterThanOrEqualTo' on property 'VersionMsi' and value '3.1': true
 Result of checks for command 'WindowsInstaller3_1\WindowsInstaller-KB893803-v2-x86.exe' is 'Bypass'
 'Windows Installer 3.1' RunCheck result: No Install Needed
 Running checks for package 'Microsoft .NET Framework 4 (x86 and x64)', phase BuildList
 Reading value 'Version' of registry key 'HKLM\Software\Microsoft\NET Framework Setup\NDP\v4\Full'
 Unable to read registry value
 Not setting value for property 'DotNet40Full_TargetVersion'
 The following properties have been set for package 'Microsoft .NET Framework 4 (x86 and x64)':
 Running checks for command 'DotNetFX40\dotNetFx40_Full_x86_x64.exe'
 Result of running operator 'ValueEqualTo' on property 'InstallMode' and value 'HomeSite': true
 Result of checks for command 'DotNetFX40\dotNetFx40_Full_x86_x64.exe' is 'Bypass'
 Running checks for command 'DotNetFX40\dotNetFx40_Full_setup.exe'
 Result of running operator 'ValueNotEqualTo' on property 'InstallMode' and value 'HomeSite': false
 Skipping ByPassIf because Property 'DotNet40Full_TargetVersion' was not defined
 Result of running operator 'ValueEqualTo' on property 'AdminUser' and value 'false': false
 Result of running operator 'VersionLessThan' on property 'VersionNT' and value '5.1.2': false
 Result of running operator 'ValueEqualTo' on property 'ProcessorArchitecture' and value 'IA64': false
 Result of checks for command 'DotNetFX40\dotNetFx40_Full_setup.exe' is 'Install'
 'Microsoft .NET Framework 4 (x86 and x64)' RunCheck result: Install Needed
 EULA for components 'Microsoft .NET Framework 4 (x86 and x64)' was accepted.
 Copying files to temporary directory "C:\Users\XXXXXX~1\AppData\Local\Temp\VSD983D.tmp\"
 Downloading files to "C:\Users\XXXXXX~1\AppData\Local\Temp\VSD983D.tmp\"
 (1/2/2013 11:09:57 AM) Downloading 'DotNetFX40\dotNetFx40_Full_setup.exe' from 'http://go.microsoft.com/fwlink/?linkid=182805' to 'C:\Users\XXXXXX~1\AppData\Local\Temp\VSD983D.tmp\'
 Download completed at 1/2/2013 11:10:00 AM
 Verifying file integrity of C:\Users\XXXXXX~1\AppData\Local\Temp\VSD983D.tmp\DotNetFX40\dotNetFx40_Full_setup.exe
 WinVerifyTrust returned 0
 File trusted
 Running checks for package 'Microsoft .NET Framework 4 (x86 and x64)', phase BeforePackage
 Reading value 'Version' of registry key 'HKLM\Software\Microsoft\NET Framework Setup\NDP\v4\Full'
 Unable to read registry value
 Not setting value for property 'DotNet40Full_TargetVersion'
 The following properties have been set for package 'Microsoft .NET Framework 4 (x86 and x64)':
 Running checks for command 'DotNetFX40\dotNetFx40_Full_setup.exe'
 Result of running operator 'ValueNotEqualTo' on property 'InstallMode' and value 'HomeSite': false
 Skipping ByPassIf because Property 'DotNet40Full_TargetVersion' was not defined
 Result of running operator 'ValueEqualTo' on property 'AdminUser' and value 'false': false
 Result of running operator 'VersionLessThan' on property 'VersionNT' and value '5.1.2': false
 Result of running operator 'ValueEqualTo' on property 'ProcessorArchitecture' and value 'IA64': false
 Result of checks for command 'DotNetFX40\dotNetFx40_Full_setup.exe' is 'Install'
 'Microsoft .NET Framework 4 (x86 and x64)' RunCheck result: Install Needed
 Verifying file integrity of C:\Users\XXXXXX~1\AppData\Local\Temp\VSD983D.tmp\DotNetFX40\dotNetFx40_Full_setup.exe
 WinVerifyTrust returned 0
 File trusted
 Installing using command 'C:\Users\XXXXXX~1\AppData\Local\Temp\VSD983D.tmp\DotNetFX40\dotNetFx40_Full_setup.exe' and parameters ' /q /norestart /ChainingPackage FullX64Bootstrapper /lcid 1033'
 Process exited with code 5100
 Status of package 'Microsoft .NET Framework 4 (x86 and x64)' after install is 'InstallFailed'

解决方案

I got the same message in the same situation because Windows Imaging Component (WIC) on Windows XP wasn't installed (wic_x86_enu.exe). This helped me.

这篇关于错误code通过Visual Studio 2010中安装.NET框架作为ClickOnce应用程序部署的一部分,当5100的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆