Solved

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

Posted on 2003-11-22
4
863 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

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

777 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