` Printed Icetips Article

Icetips Article



SQL Related Articles: Firebird - creating installs for deployment of applications
2004-05-06 -- Jorge Andres Brugger
 
Newsgroups: softvelocity.clarion.databasedrivers,comp.lang.clarion

> the std fb odbc install works fine. the premise of my excercise is to see if
> i can create an "embedded" install using setupbuilder

Following is the script part I use (I use Inno Setup, but it maybe helps
you), but in this case, it´s not necesary install first the odbc with
the setup, you just have to copy and register files. Note I´ve included
the fbclient.dll file also, so I don't need to install the ODBC neither
the Firebird Client using the original installers.

[Files]
Source: ..\DLL Firebird\fbclient.dll; DestDir: {sys}; Flags: sharedfile
Source: ..\DLL Firebird\IscDbc.dll; DestDir: {app}; Flags: ignoreversion
deleteafterinstall
Source: ..\DLL Firebird\OdbcJdbc.dll; DestDir: {app}; Flags:
ignoreversion deleteafterinstall
Source: ..\DLL Firebird\OdbcJdbcSetup.dll; DestDir: {app}; Flags:
ignoreversion deleteafterinstall

[Run]
Filename: {sys}\regsvr32.exe; Parameters: "/s ""{app}""\OdbcJdbcSetup.dll"

I even create the DSN from InnoSetup, and work seamless.

I hope this helps you.

Best regards



Printed November 21, 2024, 11:51 am
This article has been viewed/printed 35221 times.
Google search has resulted in 436 hits on this article since January 25, 2004.