Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/neo4j/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Windows 7 仅在Windows 7中安装Windows应用程序时出现未绑定异常_Windows 7 - Fatal编程技术网

Windows 7 仅在Windows 7中安装Windows应用程序时出现未绑定异常

Windows 7 仅在Windows 7中安装Windows应用程序时出现未绑定异常,windows-7,Windows 7,我用VB.NET开发了windows应用程序 Visual Studio 2008 .NET Framework 3.5 SQLServer2005Express版 应用程序有一个安装项目,单击setup.exe,安装程序运行,应用程序安装到用户的计算机上 安装程序将检查用户计算机中是否存在SQL Server 2005 Express Edition,如果不存在,则安装SQL Server 2005 Express Edition。 该应用程序在Windows XP和Vista上工作正常,但在

我用VB.NET开发了windows应用程序 Visual Studio 2008 .NET Framework 3.5 SQLServer2005Express版 应用程序有一个安装项目,单击setup.exe,安装程序运行,应用程序安装到用户的计算机上 安装程序将检查用户计算机中是否存在SQL Server 2005 Express Edition,如果不存在,则安装SQL Server 2005 Express Edition。 该应用程序在Windows XP和Vista上工作正常,但在Windows 7上工作不正常,在Windows 7上运行该集后,会出现“未处理的异常”。 例外情况详情如下: 异常文本 System.IO.IOException:当文件已存在时,无法创建该文件

at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.__Error.WinIOError()
at System.IO.FileInfo.MoveTo(String destFileName)

请帮助

右键单击Setup.exe和以管理员身份运行是否存在相同的问题

否则,您可以在注册表中设置一个值,并使用DebugView获取调试跟踪,如:

[HKEY\U LOCAL\U MACHINE\SOFTWARE\Policys\Microsoft\Windows\Installer] 将DWORD调试为2