MSFN Forum: Curious problem. - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Curious problem. Rate Topic: -----

#1 User is offline   Screwz Luse 

  • Member
  • PipPip
  • Group: Members
  • Posts: 158
  • Joined: 19-November 03

Posted 22 October 2004 - 01:38 PM

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)


#2 User is offline   MHz 

  • SendToA3X v1.7
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,634
  • Joined: 02-August 04

Posted 23 October 2004 - 01:35 AM

These files are located in the directory as commands.txt?

#3 User is offline   Screwz Luse 

  • Member
  • PipPip
  • Group: Members
  • Posts: 158
  • Joined: 19-November 03

Posted 23 October 2004 - 08:32 AM

The Directory structure and such look like

root
--$OEM$
----cmdlinest.txt
----setup.inf
----Registry.cmd
----$1
----$$

#4 User is offline   Bâshrat the Sneaky 

  • aka Wim Leers
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,214
  • Joined: 29-October 03
  • OS:none specified
  • Country: Country Flag

Posted 23 October 2004 - 09:19 AM

You should remove the

.\


because the files are in the same directory!


Bâshrat the Sneaky

#5 User is offline   Alanoll 

  • CODE tags people, CODE tags!
  • Group: Patrons
  • Posts: 5,496
  • Joined: 25-September 03

Posted 23 October 2004 - 10:48 AM

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.

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy