DavidJGu's Blog

       尼采说,宁可追求虚无也不能无所追求!  Keeping is harder than winning
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

在装有SAP客户端后安装VS2003时出错

Posted on 2007-03-28 11:24  Let's DotNet  阅读(504)  评论(0编辑  收藏  举报
  
   The error dialog that appears has the title Setup Initialization Error and an error string that looks something like the following:

Setup cannot access the required initialization file 'C:\PROGRA~1\SAP\FRONTEND\SAPGUI\FILC\ODBC\AUNCHER="C:\DOCUME~1\USERNAME\LOCALS~1\TEMP\"'.

There is a compatibility issue that prevents Visual Studio setup from being able to copy itself to the %temp% directory and relaunch itself if the SAP GUI client application is installed on the computer.  The telltale indication that you've hit this problem is the \SAP\FRONTEND\SAPGUI\ information in the path listed in the error dialog during VS setup.

   Solution:

   renaming the registry entry HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\<b>setup.exe</b> to something else e.g. <b>sapgui_filc_odbc_setup.exe</b>.