There it is -- the cover of the Delphi version with which I made my first steps into the fabulous world of Windows programming in the summer of 1999. Bought at a small bookstore in Flensburg, it contains not only a copy of Delphi 4 but also one of the older 16-Bit Delphi 1.6 -- which I preferred. I have no idea why, but my first Windows programs were 16-Bit binaries. Maybe it was the availability of setSysModalWindow() -- which back then on Windows 9x was still implemented as set system modal window (and not as setForegroundWindow()). Oh well.
Back in nowtime. Borland Delphi 1.6 cannot be executed on Windows 7 since support for 16-Bit executeables has been dropped; so Delphi 4 is on.
I won't bore you with "the 99 ways it didn't work" and restrict this to "how it worked".
Installation requires a set of privileges. That is, administrative privileges on the local machine, including the ability to write files to the installation directory. At this point, you may want to keep in mind that Delphi will by default start with an empty project in its installation directory. What 1999 was kinda "state of the art" is nowerdays a no-go. Windows executeables installed into the default program folder aren't expected to write to it. Thus you may want to install Delphi somewhere else. My personal choice in such cases:
Then keep in mind that the installation used to be run from a CD -- thus it may rely on the installation folder being assigned a drive letter.
So the installation setup parameters are:
- Installation to
- Installation medium files are put to
C:\bin\install\bd4. Then I needed to have administrative privileges when executing the installer -- and all binaries probably called by it. And that's the point at which thinking just exceeds the magic coming with Windows compatibility. I tried installations with all kinds of compatibility settings -- they mostly failed at some point. Thus I finally did the following:
- Get your explorer and navigate to
C:\windows\system32or whereever your WIndows installation may have its home.
- Seek for
cmd.exeand get the context menu.
- Hit "Run as administrator"
C:\bin\install\bd4by means of
C:\path> subst I: C:\bin\install\bd4After this command is issued sucessfully, we can jump there and just type
install.exe, hit return and feel a bit of the gorgeous spirit of late 1998 when InstallShield was the hot shit,
.msifiles were far away and the dot-com-bubble was yet to come.
This procedure works just the same way if you want to install Borland Delphi 6 on Windows 7.