MSFN Forum: Unattended doesn't work - MSFN Forum

Jump to content



  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

Unattended doesn't work Rate Topic: -----

#1 User is offline   Nikser 

  • Newbie
  • Group: Members
  • Posts: 18
  • Joined: 02-June 04

Posted 21 December 2004 - 01:41 PM

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!


#2 User is offline   Incroyable HULK 

  • Slowly Turning Green...
  • Group: Super Moderator
  • Posts: 1,256
  • Joined: 05-March 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 21 December 2004 - 02:02 PM

Are you currently MultiBooting? I mean do you have more than 1 OS on your CD and have EX Edited w2ksect.bin and setupldr.bin

OR

You only have a Custom Boot Menu and you are launching with w2ksect.bin directly without any modifications?

#3 User is offline   Nikser 

  • Newbie
  • Group: Members
  • Posts: 18
  • Joined: 02-June 04

Posted 21 December 2004 - 02:11 PM

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)

#4 User is offline   Incroyable HULK 

  • Slowly Turning Green...
  • Group: Super Moderator
  • Posts: 1,256
  • Joined: 05-March 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 21 December 2004 - 06:16 PM

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


If so, I don't see why it won't work.

What is your method for Burning or Generating the ISO?

#5 User is offline   Nikser 

  • Newbie
  • Group: Members
  • Posts: 18
  • Joined: 02-June 04

Posted 22 December 2004 - 12:55 AM

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.

#6 User is offline   Incroyable HULK 

  • Slowly Turning Green...
  • Group: Super Moderator
  • Posts: 1,256
  • Joined: 05-March 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 22 December 2004 - 07:24 AM

Ok then what do you mean by:

Quote

The installation is unattended, but the scripts that SHOULD run after the first boot

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

#7 User is offline   Nikser 

  • Newbie
  • Group: Members
  • Posts: 18
  • Joined: 02-June 04

Posted 22 December 2004 - 10:29 AM

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.

#8 User is offline   Incroyable HULK 

  • Slowly Turning Green...
  • Group: Super Moderator
  • Posts: 1,256
  • Joined: 05-March 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 22 December 2004 - 10:51 AM

start.cmd is called from where?

3 possibilities:

1) Winnt.sif under
[GuiUnattended]
    DetachedProgram=


2) Winnt.sif under
[GuiRunOnce]


3) cmdlines.txt

#9 User is offline   Nikser 

  • Newbie
  • Group: Members
  • Posts: 18
  • Joined: 02-June 04

Posted 22 December 2004 - 10:56 AM

GuiRunOnce in winnt.sif

#10 User is offline   Incroyable HULK 

  • Slowly Turning Green...
  • Group: Super Moderator
  • Posts: 1,256
  • Joined: 05-March 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 22 December 2004 - 11:06 AM

GuiRunOnce is executed at first LOGON not first reboot:

http://unattended.ms...xp/timeline.htm

And 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=


#11 User is offline   Nikser 

  • Newbie
  • Group: Members
  • Posts: 18
  • Joined: 02-June 04

Posted 22 December 2004 - 11:08 AM

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.

#12 User is offline   Incroyable HULK 

  • Slowly Turning Green...
  • Group: Super Moderator
  • Posts: 1,256
  • Joined: 05-March 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 22 December 2004 - 11:15 AM

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

#13 User is offline   Nikser 

  • Newbie
  • Group: Members
  • Posts: 18
  • Joined: 02-June 04

Posted 22 December 2004 - 11:28 AM

The folder IS copied over, but I have added no drivers, so I don't know about that

#14 User is offline   Incroyable HULK 

  • Slowly Turning Green...
  • Group: Super Moderator
  • Posts: 1,256
  • Joined: 05-March 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 22 December 2004 - 11:44 AM

please post your winnt.sif

#15 User is offline   Nikser 

  • Newbie
  • Group: Members
  • Posts: 18
  • Joined: 02-June 04

Posted 22 December 2004 - 12:05 PM

[Data]
AutoPartition=0
MsDosInitiated="0"
UnattendedInstall="Yes"
AutomaticUpdates="Yes"

[Unattended]
UnattendMode=FullUnattended
OemSkipEula=Yes
OemPreinstall=Yes
UnattendSwitch="Yes"
TargetPath=\WINDOWS
FileSystem=*
WaitForReboot="No"

[GuiUnattended]
AdminPassword=*
EncryptedAdminPassword=NO
OEMSkipRegional=1
OemSkipWelcome=1
TimeZone=110

[UserData]
ProductKey=*****-*****-*****-*****-*****
FullName="Windows"
OrgName=""
ComputerName=WinXP

[Display]
BitsPerPel=32
Xresolution=800
YResolution=600

[TapiLocation]
CountryCode=31
AreaCode=0495

[Branding]
BrandIEUsingUnattended=Yes

[Identification]
JoinWorkgroup=Werkgroep

[Networking]
InstallDefaultComponents=Yes

[Components]
msnexplr=off

[Shell]
DefaultStartPanelOff = Yes

[GuiRunOnce]
%systemdrive%\install\start.cmd


#16 User is offline   Incroyable HULK 

  • Slowly Turning Green...
  • Group: Super Moderator
  • Posts: 1,256
  • Joined: 05-March 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 22 December 2004 - 12:12 PM

Humm looks fine to me.

Have you used some special option when making your ISO? When using EasyBoot, make sure you have JOLIET enabled and DO NOT use the DOS(8.3) option

#17 User is offline   Nikser 

  • Newbie
  • Group: Members
  • Posts: 18
  • Joined: 02-June 04

Posted 22 December 2004 - 12:14 PM

i do not use the 8.3 option, but i don't use the JOLIET option. you think thats it?

#18 User is offline   Incroyable HULK 

  • Slowly Turning Green...
  • Group: Super Moderator
  • Posts: 1,256
  • Joined: 05-March 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 22 December 2004 - 12:15 PM

Maybe... I suggest you try

EDIT: based on the fact you told me it worked BEFORE you switched to MultiBoot...

#19 User is offline   Nikser 

  • Newbie
  • Group: Members
  • Posts: 18
  • Joined: 02-June 04

Posted 22 December 2004 - 01:46 PM

Well, Ive tried the JOLIET thing, didnt help...

#20 User is offline   Incroyable HULK 

  • Slowly Turning Green...
  • Group: Super Moderator
  • Posts: 1,256
  • Joined: 05-March 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 22 December 2004 - 01:49 PM

beats me :blink:

Have you considered launching it from cmdlines.txt at the root of the $OEM$ folder?

cmdlines.txt
[Commands]
"AllUsers.cmd"
"RunOnceEx.cmd"
etc...


Share this topic:


  • 2 Pages +
  • 1
  • 2
  • 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