I updated the diff to current CVS. ftp://www.hansonsystems.com/unattended/MakeUnattendedScriptsaBitQuieterB yDefault.diff
Example output before and after applying the patch is attached. -Jeff > Subject: Quieter Scripts, and improvements to mapznrun.bat > > wget ftp://www.hansonsystems.com/unattended/MakeUnattendedScriptsaBitQuieterB yDefault.diff > wget ftp://www.hansonsystems.com/unattended/justinstallapps.bat > > I modified all the base scripts to be a bit quieter by default. The batch scripts should have to > echo almost nothing to the screen because todo.pl announces what it is about to execute AND gives > status if it returns a non-0 error code. With this patch my unattended scripts look much nicer :) > > I also have been working on automated application installs using a batch script on machines that > have never seen unattended before. Read: no c:\netinst directory, therefore no authentication > files, no Z_ variables, etc. Rather then depending on outside scripts to setup things correctly > (error prone) I decided to construct a separate script to setup the appropriate variables, Z_PATH > and Z, map a drive using current user credentials, install perl and fire off the todo.pl script. > It is a work in progress and most definitely needs work but it does work, I just don't like hard > coding all the todo items in there, but its no worse then what postinst.bat does. > > I usually run justinstallapps.bat from the start menu -> run -> > "\\servername\sharename\justinstallapps.bat" > > Comments encouraged.... > Flame away :) > > -Jeff
Mapping: \\ntinstall\install on Z: The command completed successfully. The command completed successfully. The command completed successfully. The command completed successfully. Running: srconfig.pl --disable Disabling System Restore...done. Running: base.bat C:\NETINST>todo.pl "auconfig.pl 3" C:\NETINST>todo.pl adobe-reader.bat C:\NETINST>todo.pl %WINVER%-updates.bat %WINVER%-notips.pl .reboot C:\NETINST>todo.pl defrag.bat C:\NETINST>todo.pl ".ignore-err 255 startup-type.pl Manual IISADMIN" ".ignore-er r 255 startup-type.pl Manual W3SVC" C:\NETINST>todo.pl "startup-type.pl Manual Messenger" C:\NETINST>todo.pl hidepw.pl bootini.pl fixtz.pl Running: hidepw.pl Running: bootini.pl Running: fixtz.pl Resetting timezone [Eastern Standard Time]... ...done. Running: startup-type.pl Manual Messenger Setting mode for Messenger (Messenger) to Manual...done. Running: startup-type.pl Manual IISADMIN Setting mode for IISADMIN (IIS Admin) to Manual...done. Running: startup-type.pl Manual W3SVC Setting mode for W3SVC (World Wide Web Publishing) to Manual...done. Running: defrag.bat C:\NETINST>if exist C:\WINDOWS\system32\defrag.exe goto got_defrag C:\NETINST>todo.pl "C:\WINDOWS\system32\defrag.exe C: -f -v" Running: C:\WINDOWS\system32\defrag.exe C: -f -v Windows Disk Defragmenter Copyright (c) 2001 Microsoft Corp. and Executive Software International, Inc. Analysis Report ...
Mapping: \\ntinstall\install on Z: The command completed successfully. The command completed successfully. The command completed successfully. The command completed successfully. Waiting: 10 seconds Running: Windows Installer 2.0 Running: ActivePerl Running: srconfig.pl --disable Disabling System Restore...done. Running: base.bat Running: hidepw.pl Running: bootini.pl Running: fixtz.pl Resetting timezone [Eastern Standard Time]... ...done. Running: startup-type.pl Manual Messenger Setting mode for Messenger (Messenger) to Manual...done. Running: startup-type.pl Manual IISADMIN Setting mode for IISADMIN (IIS Admin) to Manual...done. Running: startup-type.pl Manual W3SVC Setting mode for W3SVC (World Wide Web Publishing) to Manual...done. Running: defrag.bat Running: C:\WINDOWS\system32\defrag.exe C: -f -v Windows Disk Defragmenter Copyright (c) 2001 Microsoft Corp. and Executive Software International, Inc. Analysis Report ...