Visual Studio VB应用程序安装错误:"系统找不到指定的文件。 "

时间:2015-06-17 05:38:28

标签: .net vb.net visual-studio

我有一个VB应用程序,不能在特定的笔记本电脑上安装。当我单击setup.exe时没有任何反应,并且不会显示错误消息。当我在其他机器上试用它时,它安装正确。

反复点击setup.exe后,弹出:

The following properties have been set: 
Property: [AdminUser] = true {boolean} 
Property: [InstallMode] = HomeSite {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 Client Profile (x86 and x64)', phase BuildList 
Reading value 'Version' of registry key 'HKLM\Software\Microsoft\NET Framework Setup\NDP\v4\Client' 
Read string value '4.5.50938' 
Setting value '4.5.50938 {string}' for property 'DotNet40Client_TargetVersion' 
The following properties have been set for package 'Microsoft .NET Framework 4 Client Profile (x86 and x64)': 
Property: [DotNet40Client_TargetVersion] = 4.5.50938 {string} 
Running checks for command 'DotNetFX40Client\dotNetFx40_Client_x86_x64.exe' 
Result of running operator 'ValueEqualTo' on property 'InstallMode' and value 'HomeSite': true 
Result of checks for command 'DotNetFX40Client\dotNetFx40_Client_x86_x64.exe' is 'Bypass' 
Running checks for command 'DotNetFX40Client\dotNetFx40_Client_setup.exe' 
Result of running operator 'ValueNotEqualTo' on property 'InstallMode' and value 'HomeSite': false 
Result of running operator 'VersionGreaterThanOrEqualTo' on property 'DotNet40Client_TargetVersion' and value '4.0.30129': true 
Result of checks for command 'DotNetFX40Client\dotNetFx40_Client_setup.exe' is 'Bypass' 
'Microsoft .NET Framework 4 Client Profile (x86 and x64)' RunCheck result: No Install Needed 
Launching Application. 
Application appears to be an application manifest 
Launching application manifest via dfshim 
LaunchApplication failed with HRESULT '-2147023170' 
Running command 'C:\Users\s.maranan\Desktop\Infra_System_App.application' with arguments '' 
ShellExecuteEx failed with error code 2 
Error: The following error occurred attempting to install 'C:\Users\s.maranan\Desktop\Infra_System_App.application': 
"The system cannot find the file specified. "

笔记本电脑安装了.NET Framework V4但错误仍然存​​在。 任何帮助将不胜感激,谢谢你。

2 个答案:

答案 0 :(得分:0)

尝试从计算机中删除所有Visual Studio实例,然后从已验证的源重新下载安装程序。如果您无法通过Microsoft直接获得并且是学生,您可以通过您的学校获得Ultimate 2014的副本。

答案 1 :(得分:0)

您的setup.exe是否针对AMD64制作?可以尝试为此处理器架构编译它。