Solved

Delphi 7 file associations - "repair" installation doesn't

Posted on 2003-11-22
4
854 Views
Last Modified: 2010-04-05
I recently upgraded from Delphi 5 pro to Delphi 7 pro. I installed D7 while keeping D5 installed until I got everything working in D7. Then I uninstalled D5. Now all the file associations have been lost for Delphi files. I tried the D7 repair installation but it did not repair the problem. As far as I can tell, the old "registry only" installation is no longer present. Re-installing D7 with the same options on top of the existing installation does not fix the problem.

Is there any way to fix the installation without completely uninstalling and re-installing? I've done quite a bit of customizing and installing my specialized settings, components, etc, so I hate to have to do that all over again.

0
Comment
Question by:tgodfrey
  • 2
  • 2
4 Comments
 
LVL 5

Accepted Solution

by:
arjanh earned 250 total points
ID: 9803127
You could manually re-associate the .pas .dfm .dpr etc files with D7. In a Windows Explorer right click the appropriate files and set the default open with to D7.
Or, if the files are currently still linked to D5: go to Tools->Folder Options, tab File Types. Select the delphi file extensions (pas dpr dfm etc.) and enter delphi as the default "open with" command.

It's a bit tedious, but faster than uninstalling and reinstalling copmletely...
0
 

Author Comment

by:tgodfrey
ID: 9803286
I have continued to research this and found someone else had this problem;

http://groups.google.com/groups?hl=en&lr=lang_en&ie=UTF-8&oe=UTF-8&threadm=3ed3502e%240%2449113%24e4fe514c%40news.xs4all.nl&rnum=5&prev=/groups%3Fhl%3Den%26lr%3Dlang_en%26ie%3DUTF-8%26oe%3DUTF-8%26q%3Ddelphi%2B7%2Binstall%2Bassociation%26sa%3DN%26tab%3Dwg

This thread does not contain a real solution, though, other than the tedious process of manually re-associatiing each file type, although the hint of fixing the registry reference in HKCR_Applications is helpful.

I am looking for a way to cause the installer to fix the problem - like the "registry only" install in previous versions of Delphi did.

0
 
LVL 5

Assisted Solution

by:arjanh
arjanh earned 250 total points
ID: 9803392
You basically only need .bpg and .dpr extension to be linked to the delphi IDE. So you only need to do the manual thing twice. Besides, using right-click in Explorer makes it very easy.

I checked the install. Under the repair option it says "fixes ... and registry entries". So if that option didn't work for you, you have to do it manuall....
There is no separate register-only option anymore.
0
 

Author Comment

by:tgodfrey
ID: 12486620
I wanted to close this so I split the points for the two who responded.
Conclusion - this is a problem with Delphi. There is no solution. There is no warning about this issue in Delphi 7 readme or FAQs.

Anyone who is installing Delphi 7 to replace Delphi 5 should be cautioned: Either uninstall Delphi 5 before installling Delphi 7, or don't ever uninstall Delphi 5 after installing Delphi 7.

0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now