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.