Jump to content

I need help with a distribution file syntax on an XP install cd


Recommended Posts

Posted

I am new here so I hope that someone can help me. Here is what I am trying to do. I have an XP SP2 disk with all slipstreamed hotfixes integrated into it. I also have been trying to use a $oem$ distribution folder in the XP SP2 ISO that I created to automatically install office 2003 when I install XP from the disk. Below is what I have been doing:

I created an ISO with the usual i386 folder with a winnt.sif file in it. Here is what is in the winnt.sif file:

[Data]

Autopartition = 0

MsDosInitiated = 0

UnattendedInstall = Yes

[unattended]

UnattendMode = FullUnattended

UnattendSwitch = No

OemPreinstall = Yes

OemSkipEula = Yes

FileSystem = *

WaitForReboot = No

NoWaitAfterTextMode = 1

NoWaitAfterGUIMode = 1

DriverSigningPolicy = Ignore

NonDriverSigningPolicy = Ignore

Hibernation = No

[Display]

Xresolution = 800

Yresolution = 600

[systemRestore]

[GuiUnattended]

EncryptedAdminPassword = No

AdminPassword = *

TimeZone = 035

OEMSkipRegional = 1

OemSkipWelcome = 1

[shell]

DefaultThemesOff = Yes

DefaultStartPanelOff = Yes

[Components]

[userData]

ProductKey = "HMVR2-D26JY-WM667-4RX32-XXXXX" (where the xxxxx is the last 5 of the serial)

ComputerName = DEFAULT

FullName = *

[RegionalSettings]

Language = 0409

[Networking]

InstallDefaultComponents = Yes

[GUIRunOnce]

"%SystemDrive%\install.cmd

[identification]

JoinWorkgroup = Workgroup

Then I created a .cmd file in the $OEM$\$1 folder in the ISO with the following:

ECHO.

ECHO Installing Office 2003 Professional

ECHO Please wait...

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

I created an unattended.mst file in the "$OEM$\$1\install\Applications\Office2003\" folder in the ISO to install office 2003 automatically

I am trying to get the winnt.sif file to recognize that it should look at the .mst file and install the office 2003 setup files that are in the office2003 folder (which I copied from an office 2003 disk), during the XP install.

When I load it up it keeps telling me that line 53 in the winnt.sif file is incorrect. That is my "guirunonce"command. What am I doing wrong?

Thanks,

Josh


Posted (edited)

Here is what my command looks like

[GuiRunOnce]
Command0="%systemroot%\Temp\end.cmd"

If I remember right you also need to point to a location for drivers when you set oempreinstall to yes.

OemPreinstall=Yes
OemPnPDriversPath="Drivers"

This assumes you created a folder called Drivers under $OEM$\$1\

Edited by dhdan

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