Jump to content

Unnattend Trigger?


Recommended Posts

Hi,

yesterday I dedicated my whole day to the unattended installation of Windows XP Pro. But it didnt seem to work.

I´ve tried several things like using nLite to doing it all manually, but neither of those two worked. Every time I got the same old windows where you have to insert the product key, your name etc etc.

So I thought, is there some sort of trigger you have to pull when I install windows? in the WINNT.SIF file I have the UnnattendMode set on FullUnattended.

actually, I´ll attach the whole file (i´ve deleted a couple things for privacy)

It seems fine to me, but everytime I try it in VMWARE workstation I get the same old insert-dialog.

can somebody help me?

thanks already ;)

WINNT.SIF

Link to comment
Share on other sites


[unattended]

UnattendMode=FullUnattended

UnattendSwitch="Yes"

OemPreinstall="Yes"

OemSkipEula="Yes"

FileSystem=*

WaitForReboot="No"

NoWaitAfterTextMode=1

NoWaitAfterGUIMode=1

DriverSigningPolicy=Ignore

NonDriverSigningPolicy=Ignore

Hibernation="No"

AutoActivate = Yes

That's what I have in mine. Works every time

Edited by Grake
Link to comment
Share on other sites

Could this be it? After you create Windows XP Service Pack 3 slipstreamed media, your product key is not accepted

This issue can occur if you used the /integrate command in Windows Vista or in Windows Server 2008 to slipstream Windows XP SP3.

From a cursory glance at your winnt.sif, I dont see an issue.

Here's my winnt.sif for comparison. It works fine.

Edited by -X-
Link to comment
Share on other sites

I already got it. The problem was that I didnt copy the product key correctly.

the strange thing is, after creating a few beta´s (unattend install with unattend application install) with every one of them worked fine.

of course there were a few errors in the RunOnceEx script, but that is what I´ve been working on.

around 4 beta´s worked fine with unattend install and the files from the $OEM$ folder were copied, but now it doesnt copy them even though OemPreinstall is set on "yes" in the winnt.sif file.

I had this problem now with two beta´s so does anyone knows how to fix it?

Link to comment
Share on other sites

That`s the part of mine (working) "winnt.sif":

; Generated by nLite 1.4.9.1

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

[Unattended]
UnattendMode=FullUnattended
UnattendSwitch="Yes"
OemPreinstall="Yes"
OemSkipEula="Yes"
ProgramFilesDir="\PROGS"
CommonProgramFilesDir="\PROGS\Gemeinsame Dateien"
FileSystem=*
WaitForReboot="No"
NoWaitAfterTextMode=1
NoWaitAfterGUIMode=1
DriverSigningPolicy=Ignore
NonDriverSigningPolicy=Ignore
Hibernation="No"

Question: Are you sure about "AutoPartition=1"?

Another question: Why do you want to copy these files to HDD?

It is possible to install from CD without copying.

Edited by g-force
Link to comment
Share on other sites

at my job I have to install windows several times a day along with a bunch of programs that have to be installed by default.

If I can copy the files to the hard disk drive on the computer, I can remove the installation cd and use it for another computer for installing.

If I have to wait until the programs are installed it would take at least an hour to install windows and the programs, otherwise I can do 2 or 3 in one hour.

AutoPartition=1 was in my older beta´s, now I have it set on 0 ;)

I´ve checked your version and mine... they´re the same except for hibernation...

Link to comment
Share on other sites

God I´m such an id***...

this was my end of the RunOnceEx Script:

RD C:\install /S /Q

RD C:\apps /S /Q

expecting it would delete the files after the installation...

I forgot that in order to delete them, I need to script them like a normal REG ADD %KEY% or link it to another script.

question solved! :P

Link to comment
Share on other sites

another little problem...

I added the hotfixes of office 2003 to the runOnceEx script and 9 of the 10 goes fine... but the last one it goes wrong...

it says that it cant find the ohotfix.exe file, but the link in the error (wich he says he cant find) I have no problem finding myself in cmd.

screenshot:

screenshotk.th.jpg

also, I never see the list of programs that I put in the RunOnceEx script... like this example

does that have anything to do with the cmdow @ /hid command at the first line in the RunOnceEx script?

anyway, I´ll attach my script here, so you can check it yourself ;)

EDIT: it cant find any of the ohotfix.exe setup files in the folders (they are there, I´ve checked 3 times)

RunOnceEx.cmd

Edited by Mark Straatman
Link to comment
Share on other sites

Excuse my lame question, but really all one need to do is to create a winnt.sif file (with abovementioned contents) and have it placed into the i386 directory and Windows install try (depending on the contents, of course) perform Unattended install?

I was under the impression that the unattend.txt file is there for these purposes...

edit: quick test prove me wrong, using unattend.txt did not mean anything to my WinXP SP 1.0a install, file is hapilly ignored...

Link to comment
Share on other sites

My first winnt.sif attempt:

[Data]

AutoPartition=0

MsDosInitiated=0

UnattendedInstall=Yes

AutomaticUpdates=No

[unattended]

UnattendMode=FullUnattended

UnattendSwitch=Yes

OemPreinstall=Yes

OemSkipEula=Yes

FileSystem=*

WaitForReboot=No

NoWaitAfterTextMode=1

NoWaitAfterGUIMode=1

DriverSigningPolicy=Ignore

NonDriverSigningPolicy=Ignore

Hibernation=No

AutoActivate=No

[GuiUnattended]

AdminPassword=*

EncryptedAdminPassword=No

OEMSkipRegional=1

TimeZone=095

AutoLogon=Yes

OemSkipWelcome=1

[userData]

ProductKey=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX

FullName=test

OrgName=test_home

ComputerName=zatr_pc

[Display]

BitsPerPel=32

Xresolution=1024

YResolution=768

Vrefresh=60

[Components]

msmsgs=off

msnexplr=off

media_clips=off

Accessopt=off

templates=off

Clipbook=off

Dialer=off

Chat=off

hypertrm=off

pinball=off

freecell=off

minesweeper=off

spider=off

hearts=off

zonegames=off

mousepoint=off

Deskpaper=off

Charmap=off

Netoc=off

[GuiRunOnce]

[identification]

JoinWorkgroup=test_home

[Networking]

InstallDefaultComponents=No

...but with the "help" of my modified txtsetup.sif it cause a not working install. After loading and the black screen (just before the partition and formating job) it says that "no drives are found in machine" and install have to end, press F3 ... and reboot.

What I did wrong? Where I overoptimized?

txtsetup_caps_buster.zip

Link to comment
Share on other sites

Problem found and there it is - the [scsiClass.Load] I have done this way:

cdrom = cdrom.sys

disk = disk.sys,,noload

floppy = sfloppy.sys,,noload

ramdisk = ramdisk.sys,,noload

...and that is WRONG. The disk = disk.sys must NOT be noload. Weird, in Win2kSP4 that worked w/o loading it, but now there it does not... XP will find my IDE HDD properly after I allowed the "SCSI" disk.sys to be loaded...

Link to comment
Share on other sites

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