firebird components

firebird is a free database engine which is fast and unlike sql server does not have to be detached from the processes when a snapshot is taken.. the latest version is 1.5.3 .. it supports .gdb and .fdb database types…

i was working on a setup program that installed an emergency server on one of the workstations when the database server is not available.. the program i created did a silent install of the firebird engine (by using the /SILENT command line parameter).. firebird has the following components

1.superserver

2.classic server

3.server

4.development and administration utilities

5.client

i thought just specifying a “superserver” component as a parameter would install the server, dev and admin utilities.. but oh was i wrong!! the program blew up during a live installation on a clients computer.. nor was the backup utility called fbak installed.. embarassing.. i had to explicitly specify the /Components=”superservercomponent, servercomponent, devadminutilities, clientcomponent” parameter.. all when you thought super was actually super.. i guess not.. oh well.. at least its working now!!

UPDATE: this post is getting a lot of hits… so for those of u who are curious abt the code in INNO, here it is:

server

Exec(ExpandConstant(‘{src}’) + ‘\Firebird-1.5.3.4870-0-Win32.exe’, ‘/SP /SILENT /NORESTART /COMPONENTS=”SuperServerComponent, ServerComponent, DevAdminComponent, ClientComponent” ‘,”,SW_ShowNormal,ewWaitUntilTerminated, ResultCode)

client

Exec(ExpandConstant(‘{src}’) + ‘\Firebird-1.5.3.4870-0-Win32.exe’, ‘/SP /SILENT /NORESTART /COMPONENTS=”ClientComponent” /COPYFBCLIENT’,”,SW_ShowNormal,ewWaitUntilTerminated, ResultCode);

Advertisements

1 Comment

Filed under All, delphi

One response to “firebird components

  1. Pingback: Firebird News » firebird components for silent installer - it’s super

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s