2014-01-12 29 views
-1

客戶所面臨運行時部署的應用程序客戶所面臨運行與VS2010(.NET4)發佈的應用程序錯誤

主機計算機需要運行的應用程序之前安裝.NET 4的錯誤。這裏是我的應用程序的先決條件頁:

prerequisites configuration snap shot

發佈是成功的,客戶要運行的應用程序,但結果是: File is moved or corrupt. snapshot

,這裏是錯誤日誌詳細文件:

The following properties have been set: 
Property: [AdminUser] = true {boolean} 
Property: [InstallMode] = SameSite {string} 
Property: [ProcessorArchitecture] = AMD64 {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': 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' 
'Microsoft .NET Framework 4 (x86 and x64)' RunCheck result: Install Needed 
Running checks for package 'Microsoft Visual Studio 2010 Report Viewer', phase BuildList 
Reading value 'Install' of registry key 'HKLM\Software\Microsoft\DevDiv\VB\Servicing\10.0\ROS' 
Read integer value 1 
Setting value '1 {int}' for property 'IsViewerInstalled' 
The following properties have been set for package 'Microsoft Visual Studio 2010 Report Viewer': 
Property: [IsViewerInstalled] = 1 {int} 
Running checks for command 'ReportViewer\ReportViewer.exe' 
Result of running operator 'ValueExists' on property 'IsViewerInstalled': true 
Result of checks for command 'ReportViewer\ReportViewer.exe' is 'Bypass' 
'Microsoft Visual Studio 2010 Report Viewer' RunCheck result: No Install Needed 
EULA for components 'Microsoft .NET Framework 4 (x86 and x64)' was accepted. 
Copying files to temporary directory "C:\Users\ADMINI~1\AppData\Local\Temp\2\VSD1986.tmp\" 
Downloading files to "C:\Users\ADMINI~1\AppData\Local\Temp\2\VSD1986.tmp\" 
(1/12/2014 11:24:38 AM) Downloading 'DotNetFX40\dotNetFx40_Full_x86_x64.exe' from 'http://10.15.33.176/DotNetFX40/dotNetFx40_Full_x86_x64.exe' to 'C:\Users\ADMINI~1\AppData\Local\Temp\2\VSD1986.tmp\' 
Download completed at 1/12/2014 11:24:38 AM 
Verifying file integrity of C:\Users\ADMINI~1\AppData\Local\Temp\2\VSD1986.tmp\DotNetFX40\dotNetFx40_Full_x86_x64.exe 
Verifying file hash 
Error: Setup has detected that the file 'C:\Users\ADMINI~1\AppData\Local\Temp\2\VSD1986.tmp\DotNetFX40\dotNetFx40_Full_x86_x64.exe' has either changed since it was initially published or may be corrupt. 

請幫助我這個!

回答

0

後google搜索和嘗試不同的解決方案 4天終於我發現,因爲我有兩個VS2010和VS2013我的電腦上,用VS2010使用.NET部署4.5 SDK,它有不同的公鑰然後安裝程序無法驗證安裝文件安裝失敗。 最後卸載.net 4.5 SDK給了我一個竅門。

相關問題