Jump to content

Unattended install not functioning properly?


Recommended Posts

Just wanted to start off by saying awesome work so far. I have long wanted to do this, but just simply don't have the knowledge to do it. Problem I am having is that when running the unattended install with the extras, the install runs perfect, but no user account is installed and all the tweaks are done for the admin account. THanks to webmedic and another member here, I am pretty sure I have the user account problem solved, but the BIGGEST problem is that the install does not install IE, OE, any networking at all, defrag and most of the accessories are no show, and I don't have any switches set that would keep them from being omitted. Is this all just because I did not have a user account setup when all the programs, drivers and tweaks were being installed. I have 3 pretty useless CD's already, so I figured I would ask the pro's before burning a 4th frisbee...heh. If you need any info like my winnt.sif or .bat files let me know...be glad to post them. I really want this to work.

Thanks in advance.

Link to comment
Share on other sites


Strange...

Did you try adding the user account BEFORE trying to add the other stuff?

My main_batch.cmd file's first few lines are this:

ECHO Adding User "Valkyre"

net user Valkyre /add

net localgroup "administrators" Valkyre /add

ECHO.

ECHO Applying Registry Tweaks...

REGEDIT /S %systemdrive%\install\regtweaks.reg

ECHO.

Check your code, make sure your adding your user account before anything else.

(Anyone feel free to correct me if I'm wrong)

Link to comment
Share on other sites

No, I had not done that before and everything was being installed under administrator. I added the files to add a user that were posted in another thread so that a user account will be installed before all the other stuff takes place, and I hope that takes care of it. The files and code shown in the other thread about creating a user accout are all I needed to do correct? That code will run before any of the post install tweaks and extras are installed correct?

Link to comment
Share on other sites

Nope, nothing under [Components] or even an entry for [Components]. Maybe that is the problem. I tried again to no avail. Still same crap. User account is now installed like it should be, but no IE, OE, defrag, calculator, hell half the whole accesories menu is gone and it still doesn't install any networking, although it connects to the internet just fine. I go in to try to change the workgroup name and it says I can't until networking is installed....lol

;SetupMgrTag

[Data]

AutoPartition=0

MsDosInitiated="0"

UnattendedInstall="Yes"

[unattended]

UnattendMode=FullUnattended

OemSkipEula=Yes

OemPreinstall=YES

TargetPath=\WINDOWS

Repartition=No

UnattendSwitch="no"

WaitForReboot=No

DriverSigningPolicy=Ignore

OemPnPDriversPath="\Drivers\Catalyst3_6\2KXP_INF"

ForceHALDetection=No

DUDisable=Yes

[GuiUnattended]

AdminPassword="*"

EncryptedAdminPassword=NO

OEMSkipRegional=1

TimeZone=35

OemSkipWelcome=1

[userData]

ProductKey="produ-ctkey-notsh-ownto-br549

FullName="Skipster"

OrgName="Home"

ComputerName=Skipster-Nforce2

[Display]

BitsPerPel=32

Xresolution=1024

YResolution=768

Vrefresh=100

[TapiLocation]

CountryCode=1

Dialing=Tone

AreaCode=270

[RegionalSettings]

LanguageGroup=1

[identification]

JoinWorkgroup=HOMENET

[Networking]

InstallDefaultComponents=Yes

[branding]

BrandIEUsingUnattended=Yes

AUtoConfig=0

Home_Page=http://www.driverheaven.net

[GuiRunOnce]

Command0=%systemdrive%\install\main_batch.cmd

Command1=%systemdrive%\install\applications.cmd

[NetAdapters]

Adapter1=params.Adapter1

[NetClients]

MS_MSClient=params.MS_MSClient

[NetServices]

MS_SERVER=params.MS_SERVER

MS_PSched=params.MS_PSched

[NetProtocols]

MS_TCPIP=params.MS_TCPIP

[params.MS_TCPIP]

DNS=Yes

UseDomainNameDevolution=No

EnableLMHosts=Yes

AdapterSections=params.MS_TCPIP.Adapter1

[params.MS_TCPIP.Adapter1]

SpecificTo=Adapter1

DHCP=Yes

WINS=No

NetBIOSOptions=0

Thats it for winnt.sif. I copied the code for adding a user before setup in the other most excellent thread (Thank you very much, it does work!) Do I really need that [branding] entry and if so do I have to copy the unattend.txt file somewhere?

Link to comment
Share on other sites

Also, I found it handy to have 2 hard drives installed, and just continually testing the automated install on the secondary hard drive, then switch back to the primary hard drive and continue developing.

GREAT IDEA! I have an old 2GB spare drive laying in a drawer. Much better than using my daughters machine as a guinea pig...lol. Thx.

Link to comment
Share on other sites

I finally got it!! :):D

I am currently running my unattended install inside VM Ware and glad to say that everything is there. All the accessories, IE, OE and the install went pretty much unattended. The Welcome to Windows XP screen did come up and go through the register now, create user, la la la, but if thats all I have to do, that was extremely easy and all my apps and drivers are being installed properly. Just wanted to say thanks to all the people here that made this possible, your the bomb :rolleyes:

Winnt.sif:

;SetupMgrTag

[Data]

AutoPartition=0

MsDosInitiated="0"

UnattendedInstall="Yes"

[unattended]

UnattendMode=FullUnattended

OemSkipEula=Yes

OemPreinstall=Yes

TargetPath=\WINDOWS

DriverSigningPolicy=Ignore

WaitForReboot=No

UnattendSwitch="no"

OemPnPDriversPath="\Drivers\Catalyst3_6\2KXP_INF";"\Drivers\Nforce2"

RePartition=No

[GuiUnattended]

AdminPassword=*

EncryptedAdminPassword=NO

OEMSkipRegional=1

TimeZone=35

OemSkipWelcome=1

[userData]

ProductKey='removed'

FullName="Skipster"

OrgName="Home"

ComputerName=Skipster-Nforce2

[Display]

BitsPerPel=32

Xresolution=1024

YResolution=768

Vrefresh=85

[TapiLocation]

CountryCode=1

Dialing=Tone

AreaCode=270

[branding]

BrandIEUsingUnattended=Yes

Home_Page=http://www.driverheaven.net

[Proxy]

Proxy_Enable=0

Use_Same_Proxy=1

[identification]

JoinWorkgroup=HOMENET

[Networking]

InstallDefaultComponents=Yes

[GuiRunOnce]

%systemdrive%\install\main_batch.cmd

Main_batch.cmd:

CLS

@echo off

ECHO.

ECHO STARTING CUSTOM INSTALLATION PROCESS......

ECHO.

ECHO Adding Default User...

net user Skipster /add

net localgroup "administrators" Skipster /add

ECHO.

ECHO Applying Root Registry Tweaks...

REGEDIT /S %systemdrive%\install\Reg_Root_Tweaks.reg

ECHO.

ECHO Copying patched UXTheme.dll for custom themes...

REN %systemroot%\System32\dllcache\uxtheme.dll uxtheme.old

COPY "%systemdrive%\Install\uxtheme\uxtheme.dll" "%systemroot%\System32\dllcache\"

REN %systemroot%\System32\uxtheme.dll uxtheme.old

COPY "%systemdrive%\Install\uxtheme\uxtheme.dll" "%systemroot%\System32\"

ECHO.

ECHO Installing MSN Messenger 6.0.0602 Final

ECHO Please wait...

start /wait %systemdrive%\install\MSN\MsnMsgs.msi /QB

ECHO.

ECHO Installing DirectX 9.0b

ECHO Please wait...

start /wait %systemdrive%\install\DirectX9b\dxsetup.exe /opk

ECHO.

ECHO Installing Windows Media Player 9

ECHO Please wait...

start /wait %systemdrive%\install\WMP9\setup_wm.exe /Q:A /R:N

ECHO.

ECHO Installing Movie Maker 2.0

ECHO Please wait...

start /wait %systemdrive%\install\MovieMaker\mm20.msi /qn

ECHO.

ECHO Installing Microsoft JavaVM 3809.1....

start /wait %systemdrive%\install\JavaVM\MSJava3809.exe /Q:A /R:N

ECHO.

ECHO Updating Microsoft JavaVM to 3810

ECHO Please wait...

start /wait %systemdrive%\install\JavaVM\msjavx86_3810update.exe /Q:A /R:N

ECHO.

ECHO Applying Custom Registry Tweaks...

REGEDIT /S %systemdrive%\install\Regtweaks.reg

ECHO.

Echo Installing Custom Applications...

start /wait %systemdrive%\install\applications.cmd

ECHO Installation complete. Press any key to continue...

PAUSE

EXIT

Applications.cmd:

CLS

@echo off

ECHO.

ECHO Installing Diskeeper 7.0

ECHO Please Wait...

start /wait %systemdrive%\install\Applications\Diskeeper\DiskeeperWorkstation.msi /QB

ECHO.

ECHO Installing Norton Internet Security 2003

ECHO Pleae Wait...

start /wait %systemdrive%\install\APplications\NIS\NIS\NIS.msi /QB

ECHO.

ECHO Installing ATI Control Panel for Catalyst 3.6

ECHO Please wait...

start /wait %systemdrive%\install\Applications\ATI_CP_3_6\Setup.exe -s -f1"%systemdrive%\install\Applications\ATI_CP_3_6\setup.iss"

ECHO.

ECHO Installing WinRAR 3.20

ECHO Please wait...

start /wait %systemdrive%\install\Applications\WinRAR\wrar320.exe /s

EXIT

I had to call Applications.cmd from Main_batch.cmd because for some reason when I did not, both batches would run simultaneously, even though winnt.sif was set to call them in order. It works, I am happy and I owe you guys a beer. Thanks for the excellent articles, tutorials and the friendly site. Keep up the good work. :D

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