I have installed first delphi 5 and then installed delphi 7 a year ago. And I was using Delphi 5 only most of time. After I installed Delphi 7 it was working good and created 2-3 applications with that.
But now after 6 months when i am trying to run Delphi 7 its giving me some errors. So I uninstalled the Delphi 7 and tried to re-install but the acing same problem. I tried twice and same results. 🙁 I am not able to view any forms also in Delphi 7. And there is no option also to add new form also.
When I run newly installed Delphi 7 its trying to load some components from delphi5 directory. How can I solve this problem?
Delphi 5 installed path: D:\Delphi5
Delphi 7 installed path: C:\Program Files\Borland\Delphi7
Below is error I am getting while loading Delphi 7:
Exception EPackageError in module rtl70.bpl at 00017EAA
Can't Load package D:\Delphi5\bin\delphide70.bpl
Can't Load package D:\Delphi5\bin\direct70.bpl
Can't Load package D:\Delphi5\bin\delphivclide70.bpl
Can't Load package D:\Delphi5\bin\MsgInoCFG.bpl
Thanks.
The Windows registry might have the wrong values (although I don’t know how they would have gotten fouled up from what you describe). Use the Start menu’s search control (Windows 7) and type
RegEditand hit Enter to open the registry editor. Go toHKEY_CURRENT_USER\Software\Borland\Delphi\7.0(and the same path in theHKEY_LOCAL_MACHINEtree), and check for anything related to the Delphi 5 location inKnown Packages,Known IDE Packages, or anywhere else.The alternative is to simply uninstall Delphi 7, and then go into
RegEditas above, and rename both theBorland\Delphi\7.0entries described above. Use theControl Panel->System and Security\Systemdialog, clickAdvanced Settingsin the left panel, and then click theEnvironmental Variablesbutton, and make sure there are no entries in thePATHrelated to Delphi 7. Then reinstall Delphi 7 like you did above and see if it fixes everything. Make sure you only rename the entries and don’t delete them, in case you do something wrong; you can always name them back again.