Jump to content

Unattended Inastall


Recommended Posts

pleas help me for instal windows xp media center edition 2005 in unattended mode. :}

hi

i am a MCSE student.

problem 1 brief:

in unattend install windows xp media center 2005 CD2 not request. :}

problem 2 brief:

i use "NTUpgrade=NO"&"Win9xUpgrade=NO" in [unattended] Parameter,in unattend.txt.

but setup upgradeed old windows if 9x or XP. :}

problem 3 brief:

i set "AutoPartition=0" in [Data] parameter in unattend.txt .i run setup in unattend mode. :}

after one restart,"select partition for instal" window not viewed.and setup go to upgrade windows.

my setting in unattend.bat:

@rem SetupMgrTag
@echo off
rem
rem This is a SAMPLE batch script generated by Setup Manager.
rem If this script is moved from the location where it was generated, it may have to be modified.
rem
set AnswerFile=.\UNATTEND.TXT
set SetupFiles=L:\i386
L:\i386\winnt32 /s:%SetupFiles% /unattend:%AnswerFile% /copysource:lang /tempdrive:d:\

my setting in answer file :

;SetupMgrTag
[Data]
   AutoPartition=0
   MsDosInitiated="0"
   UnattendedInstall="Yes"
[Unattended]
   UnattendMode=FullUnattended
   NTUpgrade=NO
   Win9xUpgrade=NO
   OemSkipEula=Yes
   OemPreinstall=Yes
   TargetPath=\WINDOWS
[GuiUnattended]
   AdminPassword=*
   EncryptedAdminPassword=NO
   OEMSkipRegional=1
   TimeZone=160
   OemSkipWelcome=1
[UserData]
   ProductKey=xxxxx-xxxxx-xxxxx-xxxxx-xxxxx
   FullName="MySystem"
   OrgName="WorldSoftware"
   ComputerName=WorldSoftware
[Display]
   BitsPerPel=16
   Vrefresh=70
   XResolution=1024
   YResolution=768
[TapiLocation]
   CountryCode=98
   AreaCode=021
[RegionalSettings]
   LanguageGroup=13,11
   Language=00000429
[Identification]
   JoinWorkgroup=WORKGROUP
[Networking]
   InstallDefaultComponents=Yes
[Branding]
   BrandIEUsingUnattended=Yes
[Proxy]
   Proxy_Enable=0
   Use_Same_Proxy=0

thankfully

kotlas_ehs@yahoo.com

Link to comment
Share on other sites


  • 2 weeks later...

hi my friend.

thankyou for help me.

i am a mcse student.

i want setup winXP media center 2005 in unattend mode.

my problem is , in events setup (unattend) cd2 not request.

my friend sayed : ought edit "DOSNET.INF" in i386 directory.

i opened dosnet.inf and edited thats.

Edit description:

i edited all parameter "d2,d3,d4 to d1" (i think"d1=disk1")

before edit :

[Directories]

d1 = \I386

d2 = \cmpnents\tabletpc\I386

d3 = \cmpnents\mediactr\I386

d4 = \cmpnents\netfx\I386

after edited :

edited to ...

[Directories]

d1 = \I386

d1 = \cmpnents\tabletpc\I386

d1 = \cmpnents\mediactr\I386

d1 = \cmpnents\netfx\I386

before edit :

and edit all

d1,sonic.cat

d2,stikynot.exe

d3,plus.cab

d4,netfx.cab

after edited :

to ...

d1,sonic.cat

d1,stikynot.exe

d1,plus.cab

d1,netfx.cab

and in this time ,i by winISO software createed image from cd1.

i open image in winIso and transfered contents folder in CD2 (cmpnents) to cd root.

and i replace new dosnet.inf to i386 folder.

and i burning thats image to cd.

CD root: __\i386\files...

|__\cmpnents\mediactr\i386\files...

|__\cmpnents\netfx\i386\files...

|__\cmpnents\tabletpc\i386\files...

|__setup.exe

|__AUTORUN.INF

.

.

.

now i runed winnt32.exe /unattend:g:unattend.txt

setup started.

started copying file.

then setup display a "file copy error window". and searched for "inkball.exe"

and displayed this key:

"Retry" "Skip File" "Exit Setup"

this file exist in "cd\cmpnents\tabletpc\i386\inkball.ex_"

and setup not found that.

i understand setup is searching in "CD\i386\inkball.ex_"

now i Transferred all file in

CD root:|__\cmpnents\mediactr\i386\files...

|__\cmpnents\netfx\i386\files...

|__\cmpnents\tabletpc\i386\files...

folders to cd\i386\...

CD root: __\i386\files...

|__\cmpnents\mediactr\i386\empty

|__\cmpnents\netfx\i386\empty

|__\cmpnents\tabletpc\i386\empty

.

.

.

now run winnt32.exe /unattend:g:unattend.txt

setup started.

started copying file.

copying file complete.

but "mediactr.cab & plus.cab & sonic.cab &..." not copyed in $win_nt~is$ .

system restarted and goed to other stage.

setup completeed.

but mediacenter & other program not instaled.

i View "layout.inf"

whether this file not ought edited ?

please help me !!!.

Link to comment
Share on other sites

[Directories]d1 = \I386

d1 = \cmpnents\tabletpc\I386

d1 = \cmpnents\mediactr\I386

d1 = \cmpnents\netfx\I386

This is wrong.

What you are doing here, is creating a directory path.

d1 = \i386

That means that every line that starts with d1, will copy it's files from the i386 directory.

You now get a copy error because you tell setup to copy a file from all four directories.

I think your problem is within txtsetup.sif

check out these lines:

[SourceDisksNames.x86]
1  = %cdname%,%cdtagfilei%,,\i386
2 = "%cd2name%","%cd2tagfilei%",,\cmpnents\tabletpc\i386
3 = "%cd2name%","%cd2tagfilei%",,\cmpnents\mediactr\i386
4 = "%cd2name%","%cd2tagfilei%",,\cmpnents\netfx\i386

Maybe you could change this to:

[SourceDisksNames.x86]
1  = %cdname%,%cdtagfilei%,,\i386
2 = "%cdname%","%cdtagfilei%",,\cmpnents\tabletpc\i386
3 = "%cdname%","%cdtagfilei%",,\cmpnents\mediactr\i386
4 = "%cdname%","%cdtagfilei%",,\cmpnents\netfx\i386

I am not quite sure about this so I hope that someone can confirm this.

Edit:

About problem nr. 3

this is what I found in the ref.chm file:

AutoPartition

Installs Windows to the first available partition that has adequate space for a Windows installation and does not already contain an installed version of Windows.

Syntax AutoPartition = 1

Value 1

Example AutoPartition = 1

Comments: Either omit the AutoPartition entry from your answer file or set the value of AutoPartition to 1. If AutoPartition = 1, the /tempdrive command-line option of Winnt32.exe is ignored during Setup. If you do not set the value, text-mode Setup installs Windows on the partition where $WIN_NT$.~LS is located.

I never knew this either :D

I think that you should delete this line and use /tempfile to decide on which drive you want to install.

Edited by erik_demon
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...