VS2013+CrystalReport 开发的WINFORM程序, 使用ClickOne发布, 在个别客户机(XP SP3)上安装时出现下面的错误:
安装程序检测到无法验证文件“C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\VSD2DC.tmp\Crystal Reports for .NET Framework 4.0\CRRuntime_32bit_13_0_14.msi”的发行者。
安装错误LOG文件如下:
Property: [AdminUser] = true {boolean}
Property: [InstallMode] = SameSite {string}
Property: [NTProductType] = 1 {int}
Property: [ProcessorArchitecture] = Intel {string}
Property: [VersionNT] = 5.1.3 {version}
Running checks for package 'SAP Crystal Reports Runtime Engine for .NET Framework', phase BuildList
Reading value 'CRRuntime32Version' of registry key 'HKLM\SOFTWARE\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Crystal Reports'
Unable to read registry value
Not setting value for property 'CRRuntime32Version'
Reading value 'CRRuntime64Version' of registry key 'HKLM\SOFTWARE\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Crystal Reports'
Unable to read registry value
Not setting value for property 'CRRuntime64Version'
The following properties have been set for package 'SAP Crystal Reports Runtime Engine for .NET Framework':
Running checks for command 'Crystal Reports for .NET Framework 4.0\CRRuntime_32bit_13_0_14.msi'
Result of running operator 'ValueNotEqualTo' on property 'ProcessorArchitecture' and value 'Intel': false
Skipping ByPassIf because Property 'CRRuntime32Version' was not defined
Result of running operator 'ValueEqualTo' on property 'AdminUser' and value 'false': false
Skipping FailIf because Property 'Version9x' was not defined
Result of running operator 'VersionLessThan' on property 'VersionNT' and value '5.00': false
Result of checks for command 'Crystal Reports for .NET Framework 4.0\CRRuntime_32bit_13_0_14.msi' is 'Install'
Running checks for command 'Crystal Reports for .NET Framework 4.0\CRRuntime_64bit_13_0_14.msi'
Result of running operator 'ValueNotEqualTo' on property 'ProcessorArchitecture' and value 'AMD64': true
Result of checks for command 'Crystal Reports for .NET Framework 4.0\CRRuntime_64bit_13_0_14.msi' is 'Bypass'
'SAP Crystal Reports Runtime Engine for .NET Framework' RunCheck result: Install Needed
Running checks for package 'Microsoft .NET Framework 4 (x86 和 x64)', phase BuildList
Reading value 'Version' of registry key 'HKLM\Software\Microsoft\NET Framework Setup\NDP\v4\Full'
Read string value '4.0.30319'
Setting value '4.0.30319 {string}' for property 'DotNet40Full_TargetVersion'
Reading value 'Version' of registry key 'HKLM\Software\Microsoft\NET Framework Setup\NDP\v4\Full\2052'
Read string value '4.0.30319'
Setting value '4.0.30319 {string}' for property 'DotNet40FullLangPack_TargetVersion'
The following properties have been set for package 'Microsoft .NET Framework 4 (x86 和 x64)':
Property: [DotNet40FullLangPack_TargetVersion] = 4.0.30319 {string}
Property: [DotNet40Full_TargetVersion] = 4.0.30319 {string}
Running checks for command 'DotNetFX40\dotNetFx40_Full_x86_x64.exe'
Result of running operator 'ValueEqualTo' on property 'InstallMode' and value 'HomeSite': false
Result of running operator 'VersionGreaterThanOrEqualTo' on property 'DotNet40Full_TargetVersion' and value '4.0.30129': 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': true
Result of checks for command 'DotNetFX40\dotNetFx40_Full_setup.exe' is 'Bypass'
Running checks for command 'DotNetFX40\dotNetFx40LP_Full_x86_x64zh-Hans.exe'
Result of running operator 'VersionGreaterThanOrEqualTo' on property 'DotNet40FullLangPack_TargetVersion' and value '4.0.30129': true
Result of checks for command 'DotNetFX40\dotNetFx40LP_Full_x86_x64zh-Hans.exe' is 'Bypass'
'Microsoft .NET Framework 4 (x86 和 x64)' RunCheck result: No Install Needed
EULA for components 'SAP Crystal Reports Runtime Engine for .NET Framework' was accepted.
Copying files to temporary directory "C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\VSD2DC.tmp\"
Downloading files to "C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\VSD2DC.tmp\"
(2015-12-10 15:04:30) Downloading 'Crystal Reports for .NET Framework 4.0\CRRuntime_32bit_13_0_14.msi' from 'http://192.168.8.1:803/Crystal Reports for .NET Framework 4.0/CRRuntime_32bit_13_0_14.msi' to 'C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\VSD2DC.tmp\'
Download completed at 2015-12-10 15:04:34
Verifying file integrity of C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\VSD2DC.tmp\Crystal Reports for .NET Framework 4.0\CRRuntime_32bit_13_0_14.msi
WinVerifyTrust returned -2146762486
File not trusted
Error: 安装程序检测到无法验证文件“C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\VSD2DC.tmp\Crystal Reports for .NET Framework 4.0\CRRuntime_32bit_13_0_14.msi”的发行者。