Jump to content

Recommended Posts

Posted

So, I was working on a Windows 2003 unattended DVD, when I ran into a problem. It looks like before installation, the files in $1 are copied over but my commands in the cmdlines.txt aren't being executed. Here's my cmdlines.txt file:

[COMMANDS]
"rundll32 setupapi.dll,InstallHinfSection DefaultInstall 128 .\setup.inf"
".\Registry.cmd"

Here's my winnt.sif:

;SetupMgrTag
[Data]
   AutoPartition=0
   MsDosInitiated="0"
   UnattendedInstall="Yes"

[Unattended]
   UnattendMode=FullUnattended
   UnattendSwitch="Yes"
   OemSkipEula=Yes
   OemPreinstall=Yes
   WaitForReboot = No
   TargetPath=\WINDOWS
   DriverSigningPolicy = Ignore
   NonDriverSigningPolicy = Ignore
   OemPnPDriversPath="REMOVED FOR H-SCROLLNESS"

[GuiUnattended]
   EncryptedAdminPassword = No
AdminPassword = "none"
AutoLogon = YES
AutoLogonCount = 1
TimeZone = 035
OEMSkipRegional = 1
OemSkipWelcome = 1

[Shell]
DefaultStartPanelOff = Yes

[UserData]
   ProductKey=CENSORED
   FullName="CENSORED"
   OrgName="CENSORED"
   ComputerName=CENSORED

[Display]
   BitsPerPel=32
   Xresolution=1024
   YResolution=768
   Vrefresh=60

[LicenseFilePrintData]
   AutoMode=PerServer
   AutoUsers=5

[RegionalSettings]
   LanguageGroup=1
   Language=00000409

[Identification]
   JoinWorkgroup=HOME

[Networking]
   InstallDefaultComponents=Yes

(I also tried commenting out UnattendSwitch="Yes" due to something mentioned in the old unattended guide that I dug up)

Any thoughts why it wouldn't execute my setup.inf or registry.cmd files? I just can't figure it out. It's probably something stupid that I didn't do. :D

(BTW: I used almost the same $OEM$ folder and winnt.sif file that I used with a working XP Unattended installation)


Posted

but .\ should still have the same effect as it gets the path of the working directory which at CMDLINES.TXT is $OEM$. But do try without .\ as Bashrat suggests.

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