如果已經安裝過個人版Delphi2007,如何安裝Delphi2007企業版

如果您之前已經安裝過個人版,請按照下列步驟清理後方可正常安裝企業版。

1. 啓動 D2007Tweaks.exe 擊 Advanced tweaks 選項卡,在 Remove license check 複選框上去掉已經打上的對勾,點擊 OK。

2. 卸載 Delphi 2007 for Win32。

3. 刪除 C:/Documents and Settings/All Users/Application Data/{AB3EC276-D261-4943-A921-1CC1C6799AED} (如果該目錄存在的話)。

4. 刪除 C:/Documents and Settings/All Users/Application Data/CodeGear 目錄及其子目錄。

5. 重新執行本光盤中的 Delphi 2007 for Win32 目錄下的 setup.exe 即可開始安裝。

6. 升級 delphi2007 時 setup.exe 在運行時報錯,內容是Attempting to get value of undefined variable HAS_SLIP。很明顯的,是找不到授權文件的數據。於是去 CodeGear 找了找,果然有解決的方法,現在記下解決的過程

1.下載 MSI Cleanup Utility,這個工具可以清除 msi 安裝時留下的註冊表數據
2.運行這個工具,找到 RAD Studio [5.0] 這個項,選中後點擊 Remove 按鈕,接下來可能會等比較長的時間,工具會清除 delphi2007 的註冊表安裝項。
3.找到 Documents and Setting 目錄,勾上“顯示所有文件和文件夾”,然後把 All Users 和 All Users.Widnows 下的 CodeGear 有關的目錄刪了(如果你只有 delphi 2007,就這麼刪,如果有 C++Builder2007,還要進目錄,只刪 delphi 的),把 {AB3EC276...... 刪除
4.現在就能正常安裝 delphi2007 update 1 了

原文如下:
Delphi 2007 - HAS_SLIP Error

摘要: Solution to the HAS_SLIP script error when attempting to uninstall, modify, repair, or upgrade Delphi 2007.
Symptom: Attempting to uninstall, modify, repair, or upgrade Delphi 2007 RTM results in the error:

Line 12035: Attempting to get value of undefined variable HAS_SLIP

Cause: This problem occurs when the Delphi 2007 install cache directory has become corrupted or was manually removed.

Solution: The only known solution for this problem is to manually remove Delphi 2007 RTM from the system. The easiest way to accomplish this is to download the MSI Cleanup Utility from Microsoft's web site. Go to http://support.microsoft.com and search their Knowledge Base for article Q290301.

1) Download and install the MSI Cleanup Utility per article Q290301

2) Run the utility, select "RAD Studio [5.0]" from the list, and click the Remove button.

3) Remove the Program Files/CodeGear/RAD Studio/5.0 directory.

For Windows Vista:

4a) Remove the Program Data/CodeGear/RAD Studio/5.0 directory.

4b) Remove the Program Data/{AB3EC276... directory.

4c) Remove the User/All Users/CodeGear/RAD Studio/5.0 directory.

For pre-Vista Windows OS:

4a) Remove the Documents and Setting/All Users/Application Data/CodeGear/RAD Studio/5.0 directory.

4b) Remove the Documents and Setting/All Users/Application Data/{AB3EC276... directory.

5) Download and run the Delphi 2007 Update 1 installer.

Note: It is not necessary to install Delphi 2007 RTM before installing Update 1. Update 1 is a full release of the product.

 

發佈於: 6/7/2007 7:16:57 PM

發佈了59 篇原創文章 · 獲贊 5 · 訪問量 19萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章