Bacula-users

Re: [Bacula-users] automating windows client installs

2009-05-28 02:31:03
Subject: Re: [Bacula-users] automating windows client installs
From: "James Harper" <james.harper AT bendigoit.com DOT au>
To: "Jayson Broughton" <jbroughton AT truecos DOT com>, <Bacula-users AT lists.sourceforge DOT net>
Date: Thu, 28 May 2009 16:26:19 +1000
> 
> I have also tried bacula-3.0.1.exe /Silent   For a silent install, and
it does
> work, but the config files are @computer_name@ instead of the actual
computer
> name displayed during a manual install of the software.  Besides
having to
> write a WMI script to grab the computer name, and a SED script to
modify the
> config file after a /Silent install, what are my options?
> 

I would do just that. If your computers are all under group policy then
create a boot script (vbs would be fine) that does the following:

. Check for a stamp file and exit if present
. read the config file in line by line.
. substitute the relevant tokens (computer name, password, director,
etc)
. write each line out to a new file
. rename the old file out of the way
. rename the new file to the old file
. create a stamp file so that you know it's already been done

If WiX could be made to build Windows installers under Linux it would be
really nice!!!

James

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>