• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 205
  • Last Modified:

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
0
alanjbrown
Asked:
alanjbrown
  • 3
  • 3
1 Solution
 
Wim ten BrinkCommented:
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 BrinkCommented:
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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
alanjbrownAuthor Commented:
7.0 (build 8.1)
0
 
Wim ten BrinkCommented:
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
 
alanjbrownAuthor Commented:
Thanks very much for the info.

0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now