Saurabh Agrawal
Saurabh Agrawal

Reputation: 1

How to install Delphi 4 in windows 7(32 bit)

I am trying to instal Delphi4 in windows 7. I am new to using delphi. When I tried to insatl it, following error was thrown. "config.nt. the system file is not suitable for running ms-dos and microsoft windows applications"

I looked up it in google and tried following steps.

  1. I tried to check weather all the 3 files config.nt, autoexec.nt, command.com in the system32 folder. They were all present.

  2. Than I tried to write all the files getting content for each files from google and saved them.Then I replaced the files in system 32 with new files(config.nt, autoexec.nt, command.com ). Even after that I was not able to instal Delphi 4. same error message kept coming up.

  3. Than I tried the following steps. a.Click Start, point to Settings, and then click Control Panel. b.Double-click System, click the Advanced tab, and then click Environment Variables. c.In the User variables for User_Name list, click TMP, and then click Edit. d.In the Variable value box, type c:\windows\temp, and then click OK three times. Alternatively, type the path of any folder that does not use long file names in the Variable Value box. e.Close Control Panel. But this also didnt help. I am totally stumped on what I should try next. It would be great if any body can help.

Upvotes: 0

Views: 3806

Answers (1)

Olaf Hess
Olaf Hess

Reputation: 1483

What worked for me on Windows Vista (have not tried it on Windows 7) was to create a shortcut to the SETUP.EXE for Delphi 4 and to configure the shortcut to use the compatibility mode for "Windows NT 4". To do so open the properties of the shortcut, select the tab "Compatibility", check "Run this program in compatibility mode for" and select the desired OS.

Launching the installation program using this shortcut allowed me to install Delphi 4.

Or, as others have suggested, use the free Windows XP mode VM in Windows 7 (http://www.microsoft.com/windows/virtual-pc/).

Upvotes: 0

Related Questions