在 Windows 7 64 位企业版上安装 Delphi 2007 时出现问题
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/2148794/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Problem installing Delphi 2007 on Windows 7 64 Bit Enterprise
提问by Raymond Wilson
I have an issue installing Delphi 2007 RAD Studio Professional onto Windows 7 64 Bit Enterprise.
我在将 Delphi 2007 RAD Studio Professional 安装到 Windows 7 64 位企业版上时遇到问题。
Everything is fine until I enter the serial number for the installation. After I enter it and click the next button in the installation wizard I get an installation script error at line 906. OKing that error closes the installer.
一切都很好,直到我输入安装序列号。在我输入它并单击安装向导中的下一步按钮后,我在第 906 行收到一个安装脚本错误。确定该错误将关闭安装程序。
I have done some Googling but have not found anything similar yet (though I have found a lot of references to people who have installed it on various versions of 64 bit windows and who have had other issues).
我已经做了一些谷歌搜索,但还没有找到任何类似的东西(尽管我发现了很多关于在 64 位 Windows 的各种版本上安装它并且遇到其他问题的人的参考)。
I have been able to install Delphi 2009 on the same machine with no problems.
我已经能够在同一台机器上安装 Delphi 2009,没有任何问题。
I'd really like to get 2007 installed as this is currently our primary Delphi development IDE.
我真的很想安装 2007,因为这是目前我们主要的 Delphi 开发 IDE。
回答by Mick
I had problems installing Delphi 2007 from my original DVD from CodeGear. However, after logging into the CodeGear/Embarcadero website, I was able to download the latest DVD ISO (with all updates already applied) for Delphi 2007 and that resolved all of my installation issues.
我从 CodeGear 的原始 DVD 安装 Delphi 2007 时遇到问题。但是,在登录 CodeGear/Embarcadero 网站后,我能够下载 Delphi 2007 的最新 DVD ISO(已应用所有更新)并解决了我的所有安装问题。
I'd suggest trying that. Also, you will need to uninstall your broken installation if possible. Try using Revo Uninstaller(free) to help with getting rid of all the extra stuff left around from a broken installation.
我建议尝试一下。此外,如果可能,您将需要卸载损坏的安装。尝试使用Revo Uninstaller(免费)来帮助摆脱因安装损坏而留下的所有额外内容。
回答by Paul-Jan
You mention you previously installed Delphi 2009 on the same machine. Could it be you are running into thisissue? I quote:
您提到您之前在同一台机器上安装了 Delphi 2009。难道你遇到了这个问题?我引用:
Symptom: Attempting to install Delphi 2007 or C++Builder 2007 results in Install Script Error 1580.
Cause: This problem occurs when the installer is run from a directory that contains a slip file for a different product than the one being installed.
Solution: Save the installer (i.e. setup.exe) to an empty directory before running it. For example: c:\temp\delphi2007.
症状:尝试安装 Delphi 2007 或 C++Builder 2007 导致安装脚本错误 1580。
原因:当安装程序从包含与正在安装的产品不同的产品的滑动文件的目录中运行时,会出现此问题。
解决方法:在运行之前将安装程序(即setup.exe)保存到一个空目录。例如:c:\temp\delphi2007。
回答by Ken White
If you're trying to install into the default folder (%PROGRAMFILES%\CodeGear\RAD Studio\5.0), you could be having trouble with permissions. Are you running the installer as an Administrator?
如果您尝试安装到默认文件夹 (%PROGRAMFILES%\CodeGear\RAD Studio\5.0),您可能会遇到权限问题。您是否以管理员身份运行安装程序?
You should try re-running the installation as Administrator, and install to somewhere other than %PROGRAMFILES%. I have D2007, D2009, and D2010 all running on Win7 64 Home Premium in a folder called E:\Delphi, to which I can safely give read/write access to everyone. (Later versions of Delphi are sensitive to access rights and UAC under Vista and Win7, but D7 and 2007 not so much; both of those try to write information to the ($BDS) folders, which is verboten under Vista and Win7).
您应该尝试以管理员身份重新运行安装,并安装到 %PROGRAMFILES% 以外的其他位置。我的 D2007、D2009 和 D2010 都在 Win7 64 Home Premium 上运行,位于名为 E:\Delphi 的文件夹中,我可以安全地向所有人授予读/写访问权限。(更高版本的 Delphi 对 Vista 和 Win7 下的访问权限和 UAC 敏感,但 D7 和 2007 不那么敏感;两者都尝试将信息写入 ($BDS) 文件夹,这在 Vista 和 Win7 下被禁止)。