双11狂欢大促

盲盒赢 定制羽绒服

开启惊喜盲盒,抽取你的专属好礼

— 惊喜奖品抢先看 —

winfrom 程序打包问题.

凤老三 凤老三 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
使用VS2010 打包winfrom 项目.在其它电脑刚装系统的电脑上(XPSP3) 安装项目.在安装的时候报错.

安装程序检测到无法验证文件“C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\VSD2.tmp\DotNetFX\dotnetfx.exe”的发行者。

有关详细信息,请参阅位于“C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\VSD2.tmp\install.log”的安装日志文件。

详细错误
The following properties have been set:
Property: [AdminUser] = true {boolean}
Property: [InstallMode] = SameSite {string}
Property: [ProcessorArchitecture] = Intel {string}
Property: [VersionNT] = 5.1.3 {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 '.NET Framework 2.0 (x86)', phase BuildList
Running external check with command 'C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\VSD2.tmp\DotNetFX\dotnetchk.exe' and parameters '-lcid:2052'
Process exited with code 0
Setting value '0 {int}' for property 'DotNetInstalled'
Reading value 'Version' of registry key 'HKLM\Software\Microsoft\Internet Explorer'
Read string value '6.0.2900.5512'
Setting value '6.0.2900.5512 {string}' for property 'IEVersion'
The following properties have been set for package '.NET Framework 2.0 (x86)':
Property: [DotNetInstalled] = 0 {int}
Property: [IEVersion] = 6.0.2900.5512 {string}
Running checks for command 'DotNetFX\instmsia.exe'
Result of running operator 'ValueExists' on property 'VersionNT': true
Result of checks for command 'DotNetFX\instmsia.exe' is 'Bypass'
Running checks for command 'DotNetFX\WindowsInstaller-KB893803-v2-x86.exe'
Result of running operator 'ValueExists' on property 'Version9x': false
Result of running operator 'VersionLessThan' on property 'VersionNT' and value '5.0.3': false
Result of running operator 'VersionGreaterThanOrEqualTo' on property 'VersionMsi' and value '3.0': true
Result of checks for command 'DotNetFX\WindowsInstaller-KB893803-v2-x86.exe' is 'Bypass'
Running checks for command 'DotNetFX\dotnetfx.exe'
Result of running operator 'ValueNotEqualTo' on property 'DotNetInstalled' and value '0': false
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.0.3': false
Result of running operator 'ValueNotExists' on property 'IEVersion': false
Result of running operator 'VersionLessThan' on property 'IEVersion' and value '5.0.2900': false
Result of running operator 'ValueNotEqualTo' on property 'ProcessorArchitecture' and value 'Intel': false
Result of checks for command 'DotNetFX\dotnetfx.exe' is 'Install'
Running checks for command 'DotNetFX\langpack.exe'
Result of running operator 'ValueEqualTo' on property 'DotNetInstalled' and value '2': false
Result of running operator 'ValueEqualTo' on property 'AdminUser' and value 'false': false
Skipping FailIf because Property 'Version9X' was not defined
Result of running operator 'ValueNotExists' on property 'IEVersion': false
Result of running operator 'VersionLessThan' on property 'IEVersion' and value '5.01': false
Result of running operator 'VersionLessThan' on property 'VersionNT' and value '5.00': false
Result of running operator 'ValueNotEqualTo' on property 'ProcessorArchitecture' and value 'Intel': false
Result of checks for command 'DotNetFX\langpack.exe' is 'Install'
'.NET Framework 2.0 (x86)' 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'
Unable to read registry value
Not setting value for property 'DotNet40Full_TargetVersion'
Reading value 'Version' of registry key 'HKLM\Software\Microsoft\NET Framework Setup\NDP\v4\Full\2052'
Unable to read registry value
Not setting value for property 'DotNet40FullLangPack_TargetVersion'
The following properties have been set for package 'Microsoft .NET Framework 4 (x86 和 x64)':
Running checks for command 'DotNetFX40\dotNetFx40_Full_x86_x64.exe'
Result of running operator 'ValueEqualTo' 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_x86_x64.exe' is 'Install'
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'
Skipping ByPassIf because Property 'DotNet40FullLangPack_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\dotNetFx40LP_Full_x86_x64zh-Hans.exe' is 'Install'
'Microsoft .NET Framework 4 (x86 和 x64)' RunCheck result: Install Needed
Running checks for package 'SQL Server 2005 Express Edition SP2 (x86)', phase BuildList
Running external check with command 'C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\VSD2.tmp\SqlExpress2005\SqlExpressChk.exe' and parameters ''
Process exited with code 1
Setting value '1 {int}' for property 'SQLExpressInstalled'
The following properties have been set for package 'SQL Server 2005 Express Edition SP2 (x86)':
Property: [SQLExpressInstalled] = 1 {int}
Running checks for command 'SqlExpress2005\sqlexpr32.exe'
Result of running operator 'ValueEqualTo' on property 'SQLExpressInstalled' and value '0': false
Result of running operator 'VersionGreaterThanOrEqualTo' on property 'VersionNT' and value '5.1': true
Result of checks for command 'SqlExpress2005\sqlexpr32.exe' is 'Bypass'
Running checks for command 'SqlExpress2005\sqlexpr32.exe'
Result of running operator 'ValueEqualTo' on property 'SQLExpressInstalled' and value '0': false
Result of running operator 'VersionLessThan' on property 'VersionNT' and value '5.1': false
Result of running operator 'ValueEqualTo' on property 'AdminUser' and value 'false': false
Result of running operator 'ValueExists' on property 'Version9x': false
Result of running operator 'VersionLessThan' on property 'VersionNT' and value '5.1.2': false
Result of running operator 'ValueNotEqualTo' on property 'ProcessorArchitecture' and value 'Intel': false
Result of checks for command 'SqlExpress2005\sqlexpr32.exe' is 'Install'
Running checks for command 'SqlExpress2005\sqlexpr32.exe'
Result of running operator 'ValueEqualTo' on property 'SQLExpressInstalled' and value '0': false
Result of running operator 'VersionLessThan' on property 'VersionNT' and value '5.2': true
Result of checks for command 'SqlExpress2005\sqlexpr32.exe' is 'Bypass'
'SQL Server 2005 Express Edition SP2 (x86)' RunCheck result: Install Needed
EULA for components '.NET Framework 2.0 (x86)' was accepted.
EULA for components 'Microsoft .NET Framework 4 (x86 和 x64)' was accepted.
EULA for components 'SQL Server 2005 Express Edition SP2 (x86)' was accepted.
Copying files to temporary directory "C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\VSD2.tmp\"
Copying from 'E:\UgongSoftSetup\DotNetFX\dotnetfx.exe' to 'C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\VSD2.tmp\DotNetFX\dotnetfx.exe'
Verifying file integrity of C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\VSD2.tmp\DotNetFX\dotnetfx.exe
WinVerifyTrust returned -2146869232
File not trusted
Error: 安装程序检测到无法验证文件“C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\VSD2.tmp\DotNetFX\dotnetfx.exe”的发行者。


急用 等待解决问题
...全文
评论 3
收藏 已收藏
分享
返回顶部
凤老三
C# 111,129 成员 642,540 内容