Jump to content

Recommended Posts

Posted

I'm reading the Unattended install of office 2003 and i get to the end of the topic but i don't understand what to name the batch file at the end so that this line: TRANSFORMS=C:\XPCD\$\$1\install\Applications\Office2003\Unattended.MST /qb- changes to this line: TRANSFORMS=Unattended.MST /qb- with this code: ECHO Installing Office 2003 Professional

ECHO Please wait...

start /wait %systemdrive%\install\Applications\Office2003\setup.exe TRANSFORMS=Unattended.MST /qb-

where do i put the batch file and what do i name it. Need help ASAP if anyone can do it. thanks alot. :thumbup

Sector7


Posted (edited)

Sorry but I've never read the unattended install guide for Office. I simply use the Office Resource Kit's Custom Installation Wizard to create transforms, then install using WPI. In your case, I don't see the reasoning behind rewriting the path to the transform. My WPI code looks like this:

pn=30
prog[pn]=['Word, Excel, PowerPoint, Publisher, Access, Outlook, InfoPath']
desc[pn]=['Copy the source files to disc and install Office 2003 Professional as well as Office Sounds, the Office File Converter Pack, and the Outlook Personal Folders Backup Wizard.']
cmd1[pn]=['U:\\WPI\\AutoIt3.exe U:\\WPI\\Programs\\O2K3\\O2K3copy.au3']
cmd2[pn]=['\"C:\\Program Files\\Office2003 Setup Files\\SETUP.EXE\" \"TRANSFORMS=C:\\Program Files\\Office2003 Setup Files\\WEPPAIO.MST\" /qb-']
cmd3[pn]=['\"C:\\Program Files\\Office2003 Setup Files\\sounds.msi\" /qb']
cmd4[pn]=['\"C:\\Program Files\\Office2003 Setup Files\\pfbackup.msi\" /qb']
cmd5[pn]=['\"C:\\Program Files\\Office2003 Setup Files\\OCVSetup.msi\" /qb']
dflt[pn]=['yes']
forc[pn]=['false']
cat[pn]=['Office 2003 Pro']
ordr[pn]=[300]
uid[pn]=['']
deps[pn]=[]
pn++

pn=31
prog[pn]=['Word, Excel, PowerPoint, Publisher, Access']
desc[pn]=['Copy the source files to disc and install Office 2003 Professional as well as Office Sounds and the Office File Converter Pack.']
cmd1[pn]=['U:\\WPI\\AutoIt3.exe U:\\WPI\\Programs\\O2K3\\O2K3copy.au3']
cmd2[pn]=['\"C:\\Program Files\\Office2003 Setup Files\\SETUP.EXE\" \"TRANSFORMS=C:\\Program Files\\Office2003 Setup Files\\WEPPA.MST\" /qb-']
cmd3[pn]=['\"C:\\Program Files\\Office2003 Setup Files\\sounds.msi\" /qb']
cmd4[pn]=['\"C:\\Program Files\\Office2003 Setup Files\\OCVSetup.msi\" /qb']
dflt[pn]=['no']
forc[pn]=['false']
cat[pn]=['Office 2003 Pro']
ordr[pn]=[310]
uid[pn]=['']
deps[pn]=[]
pn++

pn=32
prog[pn]=['Word, Excel, PowerPoint']
desc[pn]=['Copy the source files to disc and install Office 2003 Professional as well as Office Sounds and the Office File Converter Pack.']
cmd1[pn]=['U:\\WPI\\AutoIt3.exe U:\\WPI\\Programs\\O2K3\\O2K3copy.au3']
cmd2[pn]=['\"C:\\Program Files\\Office2003 Setup Files\\SETUP.EXE\" \"TRANSFORMS=C:\\Program Files\\Office2003 Setup Files\\WEP.MST\" /qb-']
cmd3[pn]=['\"C:\\Program Files\\Office2003 Setup Files\\sounds.msi\" /qb']
cmd4[pn]=['\"C:\\Program Files\\Office2003 Setup Files\\OCVSetup.msi\" /qb']
dflt[pn]=['no']
forc[pn]=['false']
cat[pn]=['Office 2003 Pro']
ordr[pn]=[320]
uid[pn]=['']
deps[pn]=[]
pn++

As you can see, I copy the source files to a directory called "Office2003 Setup Files," which is created in Program Files. Then I run a given install using a particular transform. You can name the transform file as you see fit. In your case, the full path might look like this:

start /wait %systemdrive%\install\Applications\Office2003\setup.exe TRANSFORMS=%systemdrive%\install\Applications\Office2003\Unattended.MST /qb-

...assuming the transform file is in the same location as setup.exe.

Edit: Just took a look at the unattended guide for Office 2003 and, yes, "add this to your batch" leaves one wondering. I believe you will find the answer in the general Unattended Guide located under the MSFN logo found on every single page of this Web site. Intermediate Users --> Methods of Install --> RunOnceEx will give you a good idea of how you can make this work. There are other installation methods. As I say, I use an older version of WPI to get the job done. Good luck.

Edited by blinkdt

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...