James,
Thanks for your input, I figured that would have to be the route I will have
to take.   When I get this done I'll paste my results to the list so that
others may benefit :-)

~Jayson

-----Original Message-----
From: James Harper [mailto:james.har...@bendigoit.com.au] 
Sent: Thursday, May 28, 2009 12:26 AM
To: Jayson Broughton; Bacula-users@lists.sourceforge.net
Subject: RE: [Bacula-users] automating windows client installs

> 
> 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
The information in this electronic mail message and any attached files is 
confidential and may be legally privileged.  If you are not the intended 
recipient, delete this message and contact the sender immediately.  Access to 
this message by anyone other than its intended recipient is unauthorized.  You 
must not use or disseminate this information as it is proprietary property of 
the True companies.  Communications on or through the True companies' computer 
systems may be monitored or recorded to secure effective system operation and 
for other lawful purposes.  Thank you.


------------------------------------------------------------------------------
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to