Jump to content

start an office install


Recommended Posts

Helo,

I want to start an office 2003 installation immediately after the winxp installation finishes.

the xp joins the domin during the installation.

the problem is that the office installation files are on a share on a domin member server but after the win-xp installation finishes it logs on automaticly with a local user so it does'nt have access to the share. I don't want to copy the office installation files to the local drive, what can I do ?

Link to comment
Share on other sites


  • 2 weeks later...

I use runonceEX.cmdto install my office 2003 & other apps

contents of my runonceEX.cmd file

cmdow @ /HID

@echo off

net user aspnet /delete

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY% /V TITLE /D "Installing Applications" /f

REG ADD %KEY%\002 /VE /D "Installing Additional Drivers" /f

REG ADD %KEY%\002 /V 1 /D "%SystemDrive%\D\BTS_DPs_finish.cmd" /f

REG ADD %KEY%\005 /VE /D ".NET Framework 2.0" /f

REG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\dotnet2.exe" /f

REG ADD %KEY%\010 /VE /D "Microsoft Office 2003" /f

REG ADD %KEY%\010 /V 1 /D "%systemdrive%\install\Office2003install.cmd" /f

REG ADD %KEY%\015 /VE /D "McAfee VirusScan Enterprise 8.0" /f

REG ADD %KEY%\015 /V 1 /D "\"\\EBC-img-01\it$\Software\Other\McAfee\VirusScan Enterprise 8.0i\setup.exe\" /qb" /f

REG ADD %KEY%\020 /VE /D "McAfee EPO Agent" /f

REG ADD %KEY%\020 /V 2 /D "\"\\EBC-img-01\it$\Software\Other\McAfee\EPOAgent.exe\" /f

REG ADD %KEY%\025 /VE /D "Adobe Reader 7.0.7" /f

REG ADD %KEY%\025 /V 1 /D "%systemdrive%\install\reader707.exe" /f

REG ADD %KEY%\030 /VE /D "Macromedia Authoware 7.0" /f

REG ADD %KEY%\030 /V 1 /D "%systemdrive%\install\AWAX_Full_Installer.EXE /s" /f

REG ADD %KEY%\050 /VE /D "Macromedia Shockwave 10.0.1" /f

REG ADD %KEY%\050 /V 1 /D "%systemdrive%\install\Shockwave10.exe" /f

REG ADD %KEY%\070 /VE /D "Removing unwanted Files" /f

REG ADD %KEY%\070 /V 1 /D "%SYSTEMDRIVE%\Install\Cleanup.cmd" /f

REG ADD %KEY%\080 /VE /D "Defragmenting Drive" /f

REG ADD %KEY%\080 /V 1 /D "%WINDIR%\system32\defrag.js" /f

REG ADD %KEY%\080 /V 2 /D "%WINDIR%\system32\defrag.js" /f

REG ADD %KEY%\090 /VE /D "Restarting Computer" /f

REG ADD %KEY%\090 /V 1 /D "%SYSTEMDRIVE%\restart.cmd" /f

Link to comment
Share on other sites

it depends what you want or how you are installing office 2003 on what you want in your batch file..

for machines which are on my domain i install an administrative install of office which is up to date with SP's & updates.

Office2003install.bat

cmdow @ /HID

@echo off

"\\EBC-img-01\it$\Software\Office\Office 2003\CD1\setup.exe" TRANSFORMS="\\EBC-img-01\it$\Software\Office\Office 2003\cd1\New Custom Setup File.MST" /qb-

exit

for machines that have a local install source of Office 2003 I call an office2003install.bat to install office them a Office2003SP2.bat for service pack 2.

Office2003install.bat

cmdow @ /HID

@echo off

"\\EBC-img-01\it$\Software\Office\Office 2003\CD1\setup.exe" TRANSFORMS="\\EBC-img-01\it$\Software\Office\Office 2003\cd1\New Custom Setup File.MST" /qb-

exit

Office2003SP2.bat

cmdow @ /HID

@echo off

"\\ebc-img-01\it$\Software\Office\Office 2003\Office 2003 Administration\Office updates\SP2 Laptop_Standalone\Office2003SP2-KB887616-Client-ENU.exe" /q

exit

RunOnceEX.cmd sits in your $OEM$ folder with the cmdlines.txt i call RRunonceEX.cmd from the cmdlines.txt.

Everything you need to know about setting up a RunonceEX.cmd ststem of install is here http://unattended.msfn.org/unattended.xp/view/web/31/

here is my cleanup.cmd

cmdow @ /HID

xcopy "%ALLUSERSPROFILE%\Start Menu\Programs\Adobe Reader 7.0.*" "%ALLUSERSPROFILE%\desktop" /y

regedit /s %SystemDrive%\install\intel_Tray.reg

RD /S /Q %SystemDrive%\temp

DEL /F /Q %SYSTEMDRIVE%\*.7z

DEL /F /Q %WINDIR%\system32\setupold.exe

DEL /F /Q %WINDIR%\system32\7za.exe

DEL /F /Q %WINDIR%\system32\presetup.cmd

RD /S /Q %SystemDrive%\D

RD /S /Q %systemdrive%\drivers\

RD /S /Q %systemdrive%\install\

exit

Edited by chiners_68
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...