How can I tell which service packs are loaded in Delphi ?

I have just installed update 1 for Delphi 7, however the 'about' screen still shows the original version number and Build number. Is there another way of finding out if the update has been installed?


Thanks in anticipation
LVL 1
alanjbrownAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Wim ten BrinkSelf-employed developerCommented:
The SysUtils unit has the following variables that are set with the proper information:
  Win32MajorVersion: Integer = 0;
  Win32MinorVersion: Integer = 0;
  Win32BuildNumber: Integer = 0;
  Win32CSDVersion: string = '';

But you're talking about the service pack of Delphi itself, I assume? Not the Windows version number... Well, if the build number hasn't changed then I would assume the service pach has not yet been installed. But the service packs are smart enough to detect if you've already installed them or not. Try to install them and they will warn you. (But it seems to me you don't have them installed.)
0
alanjbrownAuthor Commented:
I have just re installed the update. There was no warning that it was alredy there and the build number is still the same.
 So I still don't know if the update was successful.


Any other ideas?

Regards

Alan

0
Wim ten BrinkSelf-employed developerCommented:
It could be that the major version number might have changed a bit. E.g. from 7.0 to 7.01 but I'm just not sure about it. It could be that your version of Delphi didn't even need to be patched or perhaps only the sourcefiles and *.DCU's in the library have been patched. Which version numbers does it show now?
0
Cloud Class® Course: CompTIA Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

alanjbrownAuthor Commented:
7.0 (build 8.1)
0
Wim ten BrinkSelf-employed developerCommented:
I've checked http://bdn.borland.com/article/0,1410,32337,00.html and it says: (Borland BDN membership required to read it)

VERIFYING THAT THE UPDATE WAS SUCCESSFUL

The final dialog of the update installer indicates whether the update was successful. You can also:

* Open Delphi 7 and use "Help | About" to display the About Box. The product version should be:  
  Version 7.0 (Build 8.1)  
  (Before applying the update, the version is 7.0 (Build 4.453).)

* Use the file list in "FILES INSTALLED BY THIS UPDATE" below to verify that the correct file versions are installed on your machine.

Version          Path and File Name
-------          ------------------
7.0.8.1          <InstallDir>\bin\coreide70.bpl
7.1.1523.17956   <InstallDir>\bin\dbexpdb2.dll
7.1.1523.17956   <InstallDir>\bin\dbexpInf.dll
7.1.1523.17956   <InstallDir>\bin\dbexpInt.dll
7.1.1523.17956   <InstallDir>\bin\dbexpmss.dll
7.1.1523.17956   <InstallDir>\bin\dbexpmysql.dll
7.1.1692.666     <InstallDir>\bin\dbexpora.dll
7.0.8.1          <InstallDir>\bin\dcc32.exe
7.0.8.1          <InstallDir>\bin\dcc70.dll
7.0.8.1          <InstallDir>\bin\dclclxdb70.bpl
7.0.8.1          <InstallDir>\bin\dcldb70.bpl
7.0.8.1          <InstallDir>\bin\dcldbx70.bpl
7.0.8.1          <InstallDir>\bin\delphi32.exe
7.0.8.1          <InstallDir>\bin\designide70.bpl
7.0.8.1          <InstallDir>\bin\dfm70.bpl
7.0.8.1          <InstallDir>\bin\orbpas45.dll
7.0.8.1          <InstallDir>\bin\tlib70.bpl

7.0.8.1          <InstallDir>\Debugger\DCC70.dll
                 
                 <InstallDir>\lib\idl45\corba.dcu
                 <InstallDir>\lib\ADODB.dcu
                 <InstallDir>\lib\adortl.dcp
                 <InstallDir>\lib\axctrls.dcu
                 <InstallDir>\lib\comctrls.dcu
                 <InstallDir>\lib\ComServ.dcu
                 <InstallDir>\lib\DB.dcu
                 <InstallDir>\lib\DBClient.dcu
                 <InstallDir>\lib\DBCommon.dcu
                 <InstallDir>\lib\DBCtrls.dcu
                 <InstallDir>\lib\dbExpDB2.dcu
                 <InstallDir>\lib\dbExpINT.dcu
                 <InstallDir>\lib\dbExpMySQL.dcu
                 <InstallDir>\lib\dbExpORA.dcu
                 <InstallDir>\lib\dbexpress.dcp
                 <InstallDir>\lib\dbrtl.dcp
                 <InstallDir>\lib\DBXpress.dcu
                 <InstallDir>\lib\dsnap.dcp
                 <InstallDir>\lib\dsnapcon.dcp
                 <InstallDir>\lib\Forms.dcu
                 <InstallDir>\lib\graphics.dcu
                 <InstallDir>\lib\IniFiles.dcu
                 <InstallDir>\lib\menus.dcu
                 <InstallDir>\lib\MidasLib.dcu
                 <InstallDir>\lib\MtsRdm.dcu
                 <InstallDir>\lib\Printers.dcu
                 <InstallDir>\lib\Provider.dcu
                 <InstallDir>\lib\registry.dcu
                 <InstallDir>\lib\rtl.dcp
                 <InstallDir>\lib\SqlConst.dcu
                 <InstallDir>\lib\SqlConst.dcu.de
                 <InstallDir>\lib\SqlConst.dcu.fr
                 <InstallDir>\lib\SqlConst.dcu.jp
                 <InstallDir>\lib\SqlExpr.dcu
                 <InstallDir>\lib\StdCtrls.dcu
                 <InstallDir>\lib\system.dcu
                 <InstallDir>\lib\sysutils.dcu
                 <InstallDir>\lib\ValEdit.dcu
                 <InstallDir>\lib\Variants.dcu
                 <InstallDir>\lib\vcl.dcp
                 <InstallDir>\lib\vcldb.dcp
 
                 <InstallDir>\lib\debug\ADODB.dcu
                 <InstallDir>\lib\debug\axctrls.dcu
                 <InstallDir>\lib\debug\comctrls.dcu
                 <InstallDir>\lib\debug\comserv.dcu
                 <InstallDir>\lib\debug\DB.dcu
                 <InstallDir>\lib\debug\DBClient.dcu
                 <InstallDir>\lib\debug\DBCommon.dcu
                 <InstallDir>\lib\debug\DBCtrls.dcu
                 <InstallDir>\lib\debug\DBXpress.dcu
                 <InstallDir>\lib\debug\Forms.dcu
                 <InstallDir>\lib\debug\graphics.dcu
                 <InstallDir>\lib\debug\inifiles.dcu
                 <InstallDir>\lib\debug\menus.dcu
                 <InstallDir>\lib\debug\MtsRdm.dcu
                 <InstallDir>\lib\debug\printers.dcu
                 <InstallDir>\lib\debug\Provider.dcu
                 <InstallDir>\lib\debug\registry.dcu
                 <InstallDir>\lib\debug\SqlConst.dcu
                 <InstallDir>\lib\debug\SqlConst.dcu.de
                 <InstallDir>\lib\debug\SqlConst.dcu.fr
                 <InstallDir>\lib\debug\SqlConst.dcu.jp
                 <InstallDir>\lib\debug\SqlExpr.dcu
                 <InstallDir>\lib\debug\stdctrls.dcu
                 <InstallDir>\lib\debug\system.dcu
                 <InstallDir>\lib\debug\sysutils.dcu
                 <InstallDir>\lib\debug\ValEdit.dcu
                 <InstallDir>\lib\debug\variants.dcu
                 <InstallDir>\lib\debug\idl45\Corba.dcu
 
                 <InstallDir>\source\rtl\common\ComServ.pas
                 <InstallDir>\source\rtl\common\IniFiles.pas
                 <InstallDir>\source\rtl\common\registry.pas
                 <InstallDir>\Source\Rtl\Corba45\corba.pas
                 <InstallDir>\source\rtl\sys\sysutils.pas
                 <InstallDir>\source\rtl\sys\Variants.pas
                 
                 <InstallDir>\source\vcl\ADODB.pas
                 <InstallDir>\source\vcl\axctrls.pas
                 <InstallDir>\source\vcl\comctrls.pas
                 <InstallDir>\source\vcl\DB.pas
                 <InstallDir>\source\vcl\DBClient.pas
                 <InstallDir>\source\vcl\DBCommon.pas
                 <InstallDir>\source\vcl\DBCtrls.pas
                 <InstallDir>\source\vcl\DBXpress.pas
                 <InstallDir>\source\vcl\Forms.pas
                 <InstallDir>\source\vcl\graphics.pas
                 <InstallDir>\source\vcl\menus.pas
                 <InstallDir>\source\vcl\MtsRdm.pas
                 <InstallDir>\source\vcl\Printers.pas
                 <InstallDir>\source\vcl\Provider.pas
                 <InstallDir>\source\vcl\SqlConst.pas
                 <InstallDir>\source\vcl\SqlConst.pas.de
                 <InstallDir>\source\vcl\SqlConst.pas.fr
                 <InstallDir>\source\vcl\SqlConst.pas.jp
                 <InstallDir>\source\vcl\SqlExpr.pas
                 <InstallDir>\source\vcl\StdCtrls.pas
                 <InstallDir>\source\vcl\ValEdit.pas
                                 
7.0.8.1          Windows\system32\adortl70.bpl
7.0.8.1          Windows\system32\dbexpress70.bpl
7.0.8.1          Windows\system32\dbrtl70.bpl
7.0.8.1          Windows\system32\dsnap70.bpl
7.0.8.1          Windows\system32\dsnapcon70.bpl
7.0.8.1          Windows\system32\rtl70.bpl
7.0.8.1          Windows\system32\vcl70.bpl
7.0.8.1          Windows\system32\vcldb70.bpl
7.1.1692.666     Windows\system32\midas.dll
               
7.0.8.1          Common Files\Borland Shared\Debugger\dcc70.dll

Thus, your version seems to be the correct one. Maybe it was already updated before you tried to update it? Just don't know why they call it the 7.1 update if it's still version 7.0 though...
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
alanjbrownAuthor Commented:
Thanks very much for the info.

0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Delphi

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.