views:

12194

answers:

11

I tried to install Delphi 7 on Vista several times and Vista prevented me from doing so by telling me that there are known problems with this application (Delphi 7). Several other people in my company experienced problems with installing D7 on Vista.

This lead to the conclusion that we were at risk with our D7 application, as the company could within the lifetime of the app switch to Vista or Windows 7 and newer Delphi versions are not in the policy of the company. Therefore management decided on rewriting the app in C#.

My question(s):

  1. How to install D7 on Vista
  2. Experience with such an installation
  3. Risk assessment concerning stability of IDE and developed programs
  4. Risk assessment concerning executability under Windows 7

Not using any! third party components or database there should be no problem running the developed app under Vista. If not able to develop and debbug under Vista (which at the point being will be the only customer platform, yes, internal programming) will result in a sort of cross platform development - if we would be allowed to keep XP as the development platform. It is not a developers decision to rewrite, it has been done in the company for the last 3 years: if you had to significantly touch an app developped in Delphi or if there was a certain risk of it not to survive the planned life circle/life span, it had to be rewritten. The life cicle just expanded to 2015 due to cancelling another project.

So the main issue here would really be: I would like to have educated arguements about the risks.

+5  A: 

For installing Delphi 7 in Vista, you can try this patch from Microsoft.

http://support.microsoft.com/default.aspx/kb/932246

As for the rest someone else I suspect will have more knowledge.

ShaneB
+1  A: 

I think there's a big jump from having trouble installing D7 in Vista (D7 which after all contains low-level bits and pieces for the debugger and which doesn't know about the 'correct' place to put things under Vista), to assuming that your own app will have problems with Vista...

You have the source code, you can test your program running under Vista, you can make whatever (usually minor) tweaks are necessary to your code.... I'm really surprised that you would decide to rewrite the app in another language just because you can't get the (old) development tool to install under Vista.

We need to know more about what your application does, and what components you make use of, to be able to make any guess at your 3rd and 4th questions. They're too general.

FOr instance, I have several D7 applications on the market, one of which uses open-source Interbase 6 with Delphi and can be a problem to get installed/working on Vista Home (the process seems less painful on Vista Business). Another of our apps uses SQL Express 2005 and runs quite happily on Vista. Our newest app, written in D2007, runs fine on Vista. On both Delphi platforms, our two main 'third party' tools are DevExpress controls and ReportBuilder.

robsoft
+6  A: 

Running Delphi 7 under Vista is no problem if you can turn UAC off. With UAC on, you get an error message when starting D7, but it still works, just click ok and go on.

Programs compiled with D7 have no problem with Vista. But new features of Vista are supported by Delphi 2007/2009 only.

We use D7 on XP and on Vista, building and maintaining a commercial App which has gone from D2 to D4, D5 to D7. Besides problems with the BDE, which made us switch to DBX (Corelabs) there are no problems.

+3  A: 

I have Delphi 7 working fine on my Vista development box. Yes there was a few issues during installation, but no more than other applications and these issues have been resolved in subsequent versions of Delphi.

None of this should cause problems with apps developed by D7 for Vista. We use Delphi as our primary development tool for all our applications and they work just fine with Vista.

It sounds like this is an excuse by someone in the company to get rid of Delphi and move to C#. Typical FUD tactics. There may be genuine reasons for your company to move away from Delphi, but Vista compatibility should not be one of them.

dcraggs
+5  A: 

Just follow these instructions and you'll be fine. No reason to turn off UAC! I've been running Delphi 7 on Vista for about a year without any problem at all. Debugging is totally fine too.

http://www.drbob42.com/examines/examin84.htm

Frederik Slijkerman
Thanks a lot. Some of this is no option, as I will never be granted the right to change read/write permissions on any directories in the "program files" path. Large company :-(
Ralph Rickenbach
Tell them that as a programmer you should be admin on your own computer!
Frederik Slijkerman
You're not allowed to change permissions, but you are allowed to turn of UAC? Boy, I'm glad we are a small company...
Vegar
Why can't they change the permissions for you? Else just install it in a path where you have permissions (subfolder of documents?)
Remko
A: 

I have been using D4 with Vista for year as one of our key products uses it, its good version still and there are workarounds to make it use new Vista features. You can call any win32 API (new functions) so there is no point to update to D7.

I installed/moved D4 to my new machine by hand: 1. by exporting registry hive(s) 2. registering a few components 3. copying files

thats it.. no need to run slow setupper.

Tom
+3  A: 

Also, if you'd like all the Vista-ready features in your Delphi 7 application, have a look at this article here: Creating Windows Vista Ready Applications with Delphi

This will make it so that your application correctly appears when doing Flip3D, or when showing a preview thumbnail when hovering over the app in the taskbar. Essentially, this will give you the "Vista-readiness" of Delphi 2007, from within older versions of Delphi (I have used this with Delphi 2006 and it works very well).

You also get the new Vista task dialogs and new Common dialogs with the modifications listed on the linked website.

Mick
A: 

i get this error on trying to install delphi 7 enterprise edition on vista laptop: Error 1305 Error reading from file E:\Borland Delphi Studio Enterprise\ProgramFiles\Borland\Delphi 7\objrepos\IntraWeb\Icons\Appform.ico tells me to confirm that file is there and that's it's accessible and then retry. I followed that path and do see that file...whether it's accessible is what I'm not sure about (not sure what they mean by that) any thoughts or suggestions?

A: 

As others have noted, there is no problem running Delphi 7 applications under Vista: We do this with a multi-hundred-thousand line Delphi 7 application that uses numerous third-party controls (Developer Express grids, TSILang translation components, etc.).

We use Vista as our primary operating system, but we run the Delphi 7 development environment in a Windows XP Virtual machine. It works perfectly, and there are no installation issues.

A: 

It is very simple really.. All what you have to is the following: Search UAC (User Account Control) off and then intall delphi7 but, you must have no other version of delphi on your computer.

A: 

im upgrading to a new pc with windows 7 64bit. I have an app that I sell written in Delphi 6, will this install ?

I had problems with the actual app itself not running on vista (but was still developing with xp) Im concerned that windows 7 64bit may not be compatible.

misuk11
Ralph Rickenbach