Solved

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

Posted on 2003-11-22
4
880 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
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…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

718 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