Subject | Re: running firebird without installing it |
---|---|
Author | Adam |
Post date | 2006-08-05T04:08:33Z |
--- In firebird-support@yahoogroups.com, "jesus_martinez1967"
<jesus_martinez1967@...> wrote:
you install? If so I would suggest using the embedded engine, as that
is quite a simple install.
installing as an application unless the OS does not support it. (ie,
install as a service on NT based OS - NT4/2K/XP/2003/Vista and as an
application on 95/98/ME). A service is much more beneficial because
you don't force the user to be logged in, and to be logged in with
sufficient rights.
API and changes the default SYSDBA password.
have the same endian on these machines, I would simply restore a
backup of your 'empty' structure.
made. The model with the least decisions to be made is embedded,
literally extract the zip file and copy your binar(y/ies) into that
folder, renaming fbembedded if appropriate.
Adam
<jesus_martinez1967@...> wrote:
>Well thankyou for asking.
>
> hello, how are you ?
>Is there only a single program accessing the database on the machine
> i want to distribute a copy of firebird to my clients.
> they really dont know anything about installing programs,
> so i dont want to give them the "official-firebird-installer.exe"
> but my own installer.exe that:
you install? If so I would suggest using the embedded engine, as that
is quite a simple install.
>No problems.
> 1) install the firebird's required files
> 2) modify the system as firebird needs (registry, paths, etc)
> 3) execute it as a process, not as a service (if it is possible)If embedded, not relevant. Otherwise, there would be no point
> (it must run also on win98 machines)
installing as an application unless the OS does not support it. (ie,
install as a service on NT based OS - NT4/2K/XP/2003/Vista and as an
application on 95/98/ME). A service is much more beneficial because
you don't force the user to be logged in, and to be logged in with
sufficient rights.
> 4) enable the server in a port readed from an INI file orPort is read from firebird.conf.
> something like that.
> 5) delete the sysdba userCan't be done. You can write a program that connects to the services
API and changes the default SYSDBA password.
> 6) creates the tables-structure that my client-app needsGiven your target appears to be win32, and the databases are going to
have the same endian on these machines, I would simply restore a
backup of your 'empty' structure.
> 7a) insert the data orSee above.
> 7b) copy db-files to hdd, assign them in firebird and make
> them available via firebird.
> 8) create the dbuser that will be used by clientsThe same tool you wrote to change the SYSDBA password could be used.
> 9) assign that dbuser to my tablesDo that before you make the 'empty' database backup
> all without any kind of user interaction.Sure, it just means you need to make the decisions that the installer
made. The model with the least decisions to be made is embedded,
literally extract the zip file and copy your binar(y/ies) into that
folder, renaming fbembedded if appropriate.
Adam