Screwz Luse Posted October 22, 2004 Posted October 22, 2004 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. (BTW: I used almost the same $OEM$ folder and winnt.sif file that I used with a working XP Unattended installation)
MHz Posted October 23, 2004 Posted October 23, 2004 These files are located in the directory as commands.txt?
Screwz Luse Posted October 23, 2004 Author Posted October 23, 2004 The Directory structure and such look likeroot--$OEM$----cmdlinest.txt----setup.inf----Registry.cmd----$1----$$
Bâshrat the Sneaky Posted October 23, 2004 Posted October 23, 2004 You should remove the.\because the files are in the same directory!Bâshrat the Sneaky
Alanoll Posted October 23, 2004 Posted October 23, 2004 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now