在product.xml更改后,ClickOnce将不会安装.Net 4.5

时间:2014-01-23 22:44:04

标签: c# clickonce .net-4.5

我想添加.Net 4.5作为我计划使用ClickOnce部署的c#应用程序的先决条件,我一直在尝试“从与我的应用程序相同的位置下载先决条件”和“从组件供应商的Web下载先决条件”网站“选项。我无法使第一个工作,最后我使用Bootstrapper Manifest Generator来获取公钥并将其替换为Microsoft SDK \ Windows \ v8.0A \ Bootstrapper \ Packages \ DotNetFX45 \ Product.xml。

第二个选项在第一个选项工作但在我做出更改后它停止工作。现在当我选择它时,我得到“以下包文件找不到错误:”没有指定任何包。

这是来自安装日志:

> The following properties have been set:
Property: [AdminUser] = true {boolean}
Property: [InstallMode] = HomeSite {string}
Property: [NTProductType] = 1 {int}
Property: [ProcessorArchitecture] = Intel {string}
Property: [VersionNT] = 6.1.1 {version}
Running checks for package 'Microsoft .NET Framework 4.5 (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 'DotNet45Full_TargetVersion'
The following properties have been set for package 'Microsoft .NET Framework 4.5 (x86 and x64)':
Running checks for command 'dotNetFx45_Full_x86_x64.exe'
Result of running operator 'ValueEqualTo' on property 'InstallMode' and value 'HomeSite': true
Result of checks for command 'dotNetFx45_Full_x86_x64.exe' is 'Bypass'
Running checks for command 'dotNetFx45_Full_setup.exe'
Result of running operator 'ValueNotEqualTo' on property 'InstallMode' and value 'HomeSite': false
Skipping ByPassIf because Property 'DotNet45Full_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 '6.0.0': false
Result of running operator 'ValueEqualTo' on property 'ProcessorArchitecture' and value 'IA64': false
Result of checks for command 'dotNetFx45_Full_setup.exe' is 'Install'
'Microsoft .NET Framework 4.5 (x86 and x64)' RunCheck result: Install Needed
EULA for components 'Microsoft .NET Framework 4.5 (x86 and x64)' was accepted.
Copying files to temporary directory "C:\Users\ADMINI~1\AppData\Local\Temp\VSD11D5.tmp\"
Error: The following package files could not be found:

你有什么想法我应该寻找什么?有没有办法下载和覆盖Packages文件夹?

0 个答案:

没有答案