问题描述
开发了一个程序,用vs2005打包,有以下现象.1在正常安装XP系统的电脑上可以正常安装2如果电脑上的XP系统是ghost版的,则出现以下提示安装程序检测到无法验证文件“C:DOCUME~1ADMINI~1LOCALS~1TempVSDD.tmpdotnetfxdotnetfx.exe”的发行者。日志文件如下:Thefollowingpropertieshavebeenset:Property:[AdminUser]=true{boolean}Property:[ProcessorArchitecture]=Intel{string}Property:[VersionNT]=5.1.3{version}Runningchecksforpackage'.NETFramework2.0',phaseBuildListRunningexternalcheckwithcommandline"C:DOCUME~1ADMINI~1LOCALS~1TempVSDD.tmpdotnetfxdotnetchk.exe"-lcid:2052Processexitedwithcode0Settingvalue'0{int}'forproperty'DotNetInstalled'Readingvalue'Version'ofregistrykey'HKLMSoftwareMicrosoftInternetExplorer'Readstringvalue'6.0.2900.5512'Settingvalue'6.0.2900.5512{string}'forproperty'IEVersion'Thefollowingpropertieshavebeensetforpackage'.NETFramework2.0':Property:[DotNetInstalled]=0{int}Property:[IEVersion]=6.0.2900.5512{string}Runningchecksforcommand'dotnetfxinstmsia.exe'Resultofrunningoperator'ValueExists'onproperty'VersionNT':trueResultofchecksforcommand'dotnetfxinstmsia.exe'is'Bypass'Runningchecksforcommand'dotnetfxWindowsInstaller-KB893803-v2-x86.exe'Resultofrunningoperator'ValueExists'onproperty'Version9x':falseResultofrunningoperator'VersionLessThan'onproperty'VersionNT'andvalue'5.0.3':falseResultofrunningoperator'VersionGreaterThanOrEqualTo'onproperty'VersionMsi'andvalue'3.0':trueResultofchecksforcommand'dotnetfxWindowsInstaller-KB893803-v2-x86.exe'is'Bypass'Runningchecksforcommand'dotnetfxdotnetfx.exe'Resultofrunningoperator'ValueNotEqualTo'onproperty'DotNetInstalled'andvalue'0':falseResultofrunningoperator'ValueEqualTo'onproperty'AdminUser'andvalue'false':falseSkippingFailIfbecauseProperty'Version9X'wasnotdefinedResultofrunningoperator'VersionLessThan'onproperty'VersionNT'andvalue'5.0.3':falseResultofrunningoperator'ValueNotExists'onproperty'IEVersion':falseResultofrunningoperator'VersionLessThan'onproperty'IEVersion'andvalue'5.01':falseResultofrunningoperator'ValueNotEqualTo'onproperty'ProcessorArchitecture'andvalue'Intel':falseResultofchecksforcommand'dotnetfxdotnetfx.exe'is'Install'Runningchecksforcommand'dotnetfxlangpack.exe'Resultofrunningoperator'ValueEqualTo'onproperty'DotNetInstalled'andvalue'2':falseResultofrunningoperator'ValueEqualTo'onproperty'AdminUser'andvalue'false':falseSkippingFailIfbecauseProperty'Version9X'wasnotdefinedResultofrunningoperator'ValueNotExists'onproperty'IEVersion':falseResultofrunningoperator'VersionLessThan'onproperty'IEVersion'andvalue'5.01':falseResultofrunningoperator'VersionLessThan'onproperty'VersionNT'andvalue'5.00':falseResultofrunningoperator'ValueNotEqualTo'onproperty'ProcessorArchitecture'andvalue'Intel':falseResultofchecksforcommand'dotnetfxlangpack.exe'is'Install''.NETFramework2.0'RunCheckresult:InstallNeededEULAforcomponents'.NETFramework2.0'wasaccepted.Copyingfilestotemporarydirectory"C:DOCUME~1ADMINI~1LOCALS~1TempVSDD.tmp"Copyingfrom'G:AutoPlayDocsdotnetfxdotnetfx.exe'to'C:DOCUME~1ADMINI~1LOCALS~1TempVSDD.tmpdotnetfxdotnetfx.exe'Copyingfrom'G:AutoPlayDocsdotnetfxlangpack.exe'to'C:DOCUME~1ADMINI~1LOCALS~1TempVSDD.tmpdotnetfxlangpack.exe'Runningchecksforpackage'.NETFramework2.0',phaseBeforePackageRunningexternalcheckwithcommandline"C:DOCUME~1ADMINI~1LOCALS~1TempVSDD.tmpdotnetfxdotnetchk.exe"-lcid:2052Processexitedwithcode0Settingvalue'0{int}'forproperty'DotNetInstalled'Readingvalue'Version'ofregistrykey'HKLMSoftwareMicrosoftInternetExplorer'Readstringvalue'6.0.2900.5512'Settingvalue'6.0.2900.5512{string}'forproperty'IEVersion'Thefollowingpropertieshavebeensetforpackage'.NETFramework2.0':Property:[DotNetInstalled]=0{int}Property:[IEVersion]=6.0.2900.5512{string}Runningchecksforcommand'dotnetfxdotnetfx.exe'Resultofrunningoperator'ValueNotEqualTo'onproperty'DotNetInstalled'andvalue'0':falseResultofrunningoperator'ValueEqualTo'onproperty'AdminUser'andvalue'false':falseSkippingFailIfbecauseProperty'Version9X'wasnotdefinedResultofrunningoperator'VersionLessThan'onproperty'VersionNT'andvalue'5.0.3':falseResultofrunningoperator'ValueNotExists'onproperty'IEVersion':falseResultofrunningoperator'VersionLessThan'onproperty'IEVersion'andvalue'5.01':falseResultofrunningoperator'ValueNotEqualTo'onproperty'ProcessorArchitecture'andvalue'Intel':falseResultofchecksforcommand'dotnetfxdotnetfx.exe'is'Install'Runningchecksforcommand'dotnetfxlangpack.exe'Resultofrunningoperator'ValueEqualTo'onproperty'DotNetInstalled'andvalue'2':falseResultofrunningoperator'ValueEqualTo'onproperty'AdminUser'andvalue'false':falseSkippingFailIfbecauseProperty'Version9X'wasnotdefinedResultofrunningoperator'ValueNotExists'onproperty'IEVersion':falseResultofrunningoperator'VersionLessThan'onproperty'IEVersion'andvalue'5.01':falseResultofrunningoperator'VersionLessThan'onproperty'VersionNT'andvalue'5.00':falseResultofrunningoperator'ValueNotEqualTo'onproperty'ProcessorArchitecture'andvalue'Intel':falseResultofchecksforcommand'dotnetfxlangpack.exe'is'Install''.NETFramework2.0'RunCheckresult:InstallNeededVerifyingfileintegrityofC:DOCUME~1ADMINI~1LOCALS~1TempVSDD.tmpdotnetfxdotnetfx.exeWinVerifyTrustreturned-2146869232FilenottrustedError:安装程序检测到无法验证文件“C:DOCUME~1ADMINI~1LOCALS~1TempVSDD.tmpdotnetfxdotnetfx.exe”的发行者。
解决方案
解决方案二:
问题补充:在ghostxp的电脑上双击安装包下得.netframework安装文件,报错.下载一个最新的..netframework安装文件就可以安装上
解决方案三:
怎么没人回答,我也遇到这个问题了,各位大侠帮帮忙啊!!!
解决方案四:
我也下载了一个这个vs2005并且安装了可是我没有遇到这么纠结的问题呀!
解决方案五:
打包时把.netframework一起打包进去在打包项目内选"从当前位置安装"