Bacula Win32 Client Installer
The Bacula Windows Client Installer was created using the Nullsoft Scriptable Installation System (NSIS) in an attempt to make the installation of the Bacula Win32 client easier. This site is dedicated to hosting information about the installer, at least until I'm finished with the initial development (maintainers who want to take over the project later are welcome).
News
04/05/2004: Starting with 1.34.0, Bacula is shipping with an NSIS installer for the Windows client (partially based on mine AFAIK) so this site has become obsolete.
03/10/2004: Updated reference to site design (contact)
02/05/2004: First release of the installer (v0.1)
Download
- NSIS Script (the source): winbacula.nsi (8Kb)
- Precompiled 1.32f (stable) installer: winbacula-1.32f.exe (568Kb)
- Precompiled 1.32f-4 (stable) installer: winbacula-1.32f-4.exe (568Kb)
- Precompiled 1.33-30Jan04 (beta) installer: winbacula-1.33-30Jan04.exe (582Kb)
- Precompiled 1.33.3-16Feb04 (beta) installer: winbacula-1.33.3-16Feb04.exe (582Kb)
Features
- Silent Installation (/S)
- Can optionally install the Bacula service (/service)
- Creates an uninstaller for easy removal of the client
- Supports CYGWIN installs
- Customizable (just edit the NSIS script according to your needs)
Usage
Precompiled installers:Just download and launch them. They will ask you where you want to install the Bacula client, whether you want to install it as a service and open up the default config file in an editor (make sure to change paths and other options according to your installation).
The installer will accept the following command line options:
- /S (case sensitive): make the installer silent (no prompts, installs to default location which is 'c:\bacula')
- /service: forces the installer to also install the Bacula Client service (useful in silent mode, also works in 'normal' mode though)
- /cygwin: forces the installation directory to 'c:\cygwin\bacula' (useful in silent mode, also works in 'normal' mode though)
Creating your own NSIS installer is quite easy. You will need the .NSI script (download link above), NSIS for compiling the installer (get it from the NSIS project page) and of course one of the tarballs containing the Bacula Win32 Client you want to package (you can get these from the official Bacula site). You will probably also need a tool to extract the files from that tarball, something like 7-Zip should to the trick, and you may wish to download UPX if you want to gain a few extra bytes by compressing the header of final installer. To create the installer follow these steps:
- Install and configure NSIS on your system (if you haven't done that already)
- Extract the winbacula-x.yy...tar.gz file to a temporary location (example c:\temp)
- copy the winbacula.nsi file to the bacula directory you just extracted (c:\temp\bacula)
- edit the NSI file (with notepad) and adapt it to your needs (change the version number and maybe the default paths, it should all be pretty obvious if you look at the code of the script)
- right-click the winbacula.nsi file and select 'Compile NSIS Script', the output will be a file named winbacula-<version>.exe where version corresponds to what you defined inside the NSI script
- use the resulting .exe as described in the section above
Bugs/Known Issues
- Silent install not completely silent when /service is specified
(bacula-fd.exe outputs messagebox when installing the service)
- Silent install parameter is case sensitive (ie '/S', NOT '/s')
Contact information
The Bacula website is at: http://www.bacula.orgThe Nullsoft Installer (NSIS) project can be found at: http://nsis.sourceforge.net
Site design blatantly ripped from the Tunez project, the original is probably from here: http://www.bluerobot.com.
You can contact me personally at: michel@tcnnet.dyndns.org