Hello everyone ...

I have spent a few hours on creating an unattended setup of Microsoft's
Office 2003. I have also searched for the patches that are available at 
this moment. It includes the Dutch and English/American (ENU) patches.

For this i created the office2003.bat file

I fixed a bug with updating winxp to sp1 with all the patches, the extra
network option needed the i386 dir, all tough i am not exactly sure
which one failed and asked for user interaction! So i modified the
registry to include the right dir for it. Included base.bat,
registry.bat, registry.reg 

The modified files, because sf doesn't accept .bat files :(

base.bat
---------------------------------------------------------------------
:: MASTER: Perform a basic workstation installation

:: Set Automatic Updates to download automatically but prompt before install.
todo.pl "auconfig.pl 3"

:: Install popular applications.
todo.pl adobe-reader.bat


:: Update windows and turn off annoying stuff.
todo.pl %%WINVER%%-updates.bat %%WINVER%%-notips.pl .reboot

:: Defragment the drive to collect the free space.
todo.pl defrag.bat

:: Add some stuff to the registry
todo.pl registry.bat

:: Set IIS startup type to manual and ignore if not installed.
todo.pl ".ignore-err 255 startup-type.pl Manual IISADMIN" ".ignore-err 255 
startup-type.pl Manual W3SVC"

:: Turn off Windows Messenger service
todo.pl "startup-type.pl Manual Messenger"

:: Cleanup messes left over from installing.
todo.pl hidepw.pl bootini.pl fixtz.pl
---------------------------------------------------------------------
registry.bat
---------------------------------------------------------------------

:: Setting some stuff to the registry of Windows XP 
:: Hm, tying this to win2k is probably wrong.  FIXME
if not %WINVER%. == winxp. goto didfpse
start /wait regedit /s %Z%\scripts\registry.reg
echo finished >> c:\netinst\logs\registry.txt
if errorlevel 1 exit 1
:didfpse
exit 0

---------------------------------------------------------------------
registry.reg (only relevant lines)
---------------------------------------------------------------------

REGEDIT4

;Disable Automatic Restart in the event of a BSOD
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CrashControl]
"AutoReboot"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion]
"SourcePath"="Z:\os\winxp"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup]
"Installation Sources"="z:\os\winxp"
"SourcePath"="Z:\\os\\winxp"

--------------------------------------------------------------------
office2003.bat
---------------------------------------------------------------------

:: OPTIONAL: Install Office 2003 and its updates

:: Reminder: Commands will be executed in reverse order.

:: Reboot after installing everything (superstition).
todo.pl .reboot

:: Word 2003 Update: KB830000
:: 
URL|ENU|http://download.microsoft.com/download/3/3/0/33067852-1400-4BEB-ADFE-8ABA8661F16A/Office2003-kb830000-client-enu.exe
 
:: 
URL|NLD|http://download.microsoft.com/download/e/2/c/e2cdc6fa-3fed-4694-981b-cdebc435aa68/office2003-kb830000-client-nld.exe|updates/office2003/nld/office2003-kb830000-client-nld.exe
::todo.pl "%Z%\updates\office2003\%WINVER%\office2003-kb830000-client-%WINVER%.exe /q 
/c:\"msiexec /qb /l* c:\netinst\logs\o2003-kb830000.txt /p winword-Binary-GLB.msp 
REBOOT=ReallySuppress\""
::not yet working, returns error 1328!

:: Outlook 2003 Junk E-mail Filter Update: KB832333
:: 
URL|ENU|http://download.microsoft.com/download/A/D/D/ADDC1A61-68BE-45A1-A780-8B4D668BDC09/Office2003-kb832333-client-enu.exe|updates/office2003/enu/office2003-kb832333-client-enu.exe
:: 
URL|NLD|http://download.microsoft.com/download/1/d/c/1dc8edef-9d22-4341-ab10-cade0e594390/office2003-kb832333-client-nld.exe|updates/office2003/nld/office2003-kb832333-client-nld.exe
:: See <http://www.microsoft.com/office/ork/2003/tools/locddl/default.htm#Dutch>:: for 
a Dutch version
todo.pl "%Z%\updates\office2003\%WINVER%\office2003-kb832333-client-%WINVER%.exe /q 
/c:\"msiexec /qb /l* c:\netinst\logs\o2003-kb832333.txt /p outlfltr-Binary-GLB.msp 
REBOOT=ReallySuppress\""

:: Office 2003 Critical Update: KB828041 
:: 
URL|ENU|http://download.microsoft.com/download/e/1/9/e19746da-c20c-43ff-b824-90a55b5386ad/Office2003-kb828041-client-enu.exe|updates/office2003/enu/office2003-kb828041-client-enu.exe
:: 
URL|NLD|http://download.microsoft.com/download/b/4/e/b4e204d5-70fe-4125-a264-ac768406e493/Office2003-kb828041-client-NLD.exe|updates/office2003/nld/office2003-kb828041-client-nld.exe
:: See 
<http://wwiw.microsoft.com/downloads/details.aspx?FamilyId=722C7A55-E541-44CC-97CB-572859346DEE&displaylang=en>
:: Download from:
:: 
<http://download.microsoft.com/download/e/1/9/e19746da-c20c-43ff-b824-90a55b5386ad/Office2003-kb828041-client-enu.exe>
todo.pl "%Z%\updates\office2003\%WINVER%\office2003-kb828041-client-%WINVER%.exe /q 
/c:\"msiexec /qb /l* c:\netinst\logs\o2003-kb828041.txt /p mso-Binary-GLB.msp 
REBOOT=ReallySuppress\""

todo.pl "%Z%\packages\office2003\setup.exe /qb /l* c:\netinst\logs\office2003.txt 
ADDLOCAL=ALL NOUSERNAME=1 PIDKEY=%PIDKEY%"
---------------------------------------------------------------------

the end :)

imdos aka Sander



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
unattended-info mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unattended-info

Reply via email to