Nikser Posted December 21, 2004 Share Posted December 21, 2004 I'm trying to make a bootcd with Windows XP SP2 Home and Pro on them, with unattended installs. I made and tested all the scripts and stuff, and made i menu with easyboot, but the unattended part doesn't work with the menu. Well, it only works partly. The installation is unattended, but the scripts that SHOULD run (they should, they have been tested thoroughly) after the first boot, dont get run when i boot using the menu. I tried running the w2ksec.bin from the root, and i tried using a boot sector i extracted from my original SP2 pro cd using IsoBuster, but they both give the same problem.can anyone help me?thank you in advance! Link to comment Share on other sites More sharing options...
Incroyable HULK Posted December 21, 2004 Share Posted December 21, 2004 Are you currently MultiBooting? I mean do you have more than 1 OS on your CD and have EX Edited w2ksect.bin and setupldr.binORYou only have a Custom Boot Menu and you are launching with w2ksect.bin directly without any modifications? Link to comment Share on other sites More sharing options...
Nikser Posted December 21, 2004 Author Share Posted December 21, 2004 I made the two options in the menu already, but i havent yet put the files on the cd-rom, so only the Pro version is on the disk, in the root. (So not in a different directory or anything yet, just <cdrom>\i386 and stuff. and because i dont have special dir's, i havent edited the setupdlr or w2ksect) Link to comment Share on other sites More sharing options...
Incroyable HULK Posted December 22, 2004 Share Posted December 22, 2004 So you have everything inside%ProgramFiles%/EasyBoot/disk1 (root with I386, $OEM$, etc.)Inside /disk1 you have w2ksect.bin and you are calling this file with the following command in EasyBoot:run w2ksect.binIf so, I don't see why it won't work.What is your method for Burning or Generating the ISO? Link to comment Share on other sites More sharing options...
Nikser Posted December 22, 2004 Author Share Posted December 22, 2004 Yes, thats the situation (except the I have everything in C:\disk1). I make the ISO using EasyBoot itself, cause then I can pick the loader.bin as bootsector, else I won't get the menu. Link to comment Share on other sites More sharing options...
Incroyable HULK Posted December 22, 2004 Share Posted December 22, 2004 Ok then what do you mean by:The installation is unattended, but the scripts that SHOULD run after the first bootDo you mean by that at the first LOGON?Give me more details for theses scripts, where they are located, from where they are launched, at wich step of the setup...If you can get pass the TextMode setup (blue background) I don't think your problem has anything to do with the boot technique. Is is probably related to the Unattended Installation itself... Link to comment Share on other sites More sharing options...
Nikser Posted December 22, 2004 Author Share Posted December 22, 2004 the whole installation runs unattended as specified in winnt.sif, but after the first boot a script called start.cmd is supposed to run which doesn't. it is located in the folder \$oem$\$1\install. it has always worked, until I added the bootmenu thingie. And it hasn't been changed either. Link to comment Share on other sites More sharing options...
Incroyable HULK Posted December 22, 2004 Share Posted December 22, 2004 start.cmd is called from where? 3 possibilities:1) Winnt.sif under[GuiUnattended] DetachedProgram=2) Winnt.sif under[GuiRunOnce]3) cmdlines.txt Link to comment Share on other sites More sharing options...
Nikser Posted December 22, 2004 Author Share Posted December 22, 2004 GuiRunOnce in winnt.sif Link to comment Share on other sites More sharing options...
Incroyable HULK Posted December 22, 2004 Share Posted December 22, 2004 GuiRunOnce is executed at first LOGON not first reboot:http://unattended.msfn.org/xp/timeline.htmAnd it is executed at the same time as RunOnceEx.The only way to execute something at first reboot is with:1) Winnt.sif under[GuiUnattended] DetachedProgram= Link to comment Share on other sites More sharing options...
Nikser Posted December 22, 2004 Author Share Posted December 22, 2004 Oh my mistake, you're right, after the first time Welcome screen it should run, but it doesn't run AT ALL. And it did before I added the bootmenu. Link to comment Share on other sites More sharing options...
Incroyable HULK Posted December 22, 2004 Share Posted December 22, 2004 Since you are using the $OEM$ folder, does your drivers get installed? Does the $OEM$ folder is properly copied over to your hard drive? Maybe you should post your winnt.sif Link to comment Share on other sites More sharing options...
Nikser Posted December 22, 2004 Author Share Posted December 22, 2004 The folder IS copied over, but I have added no drivers, so I don't know about that Link to comment Share on other sites More sharing options...
Incroyable HULK Posted December 22, 2004 Share Posted December 22, 2004 please post your winnt.sif Link to comment Share on other sites More sharing options...
Nikser Posted December 22, 2004 Author Share Posted December 22, 2004 [Data]AutoPartition=0MsDosInitiated="0"UnattendedInstall="Yes"AutomaticUpdates="Yes"[Unattended]UnattendMode=FullUnattendedOemSkipEula=YesOemPreinstall=YesUnattendSwitch="Yes"TargetPath=\WINDOWSFileSystem=*WaitForReboot="No"[GuiUnattended]AdminPassword=*EncryptedAdminPassword=NOOEMSkipRegional=1OemSkipWelcome=1TimeZone=110[UserData]ProductKey=*****-*****-*****-*****-*****FullName="Windows"OrgName=""ComputerName=WinXP[Display]BitsPerPel=32Xresolution=800YResolution=600[TapiLocation]CountryCode=31AreaCode=0495[Branding]BrandIEUsingUnattended=Yes[Identification]JoinWorkgroup=Werkgroep[Networking]InstallDefaultComponents=Yes[Components]msnexplr=off[Shell]DefaultStartPanelOff = Yes[GuiRunOnce]%systemdrive%\install\start.cmd Link to comment Share on other sites More sharing options...
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