Jump to content

Unattented WinXP SP2


Recommended Posts

Hi

I have just finished my first unattented cd, so Im quit new at this. However I have expirenced quit a few problems.

1. During the step where the content of the cd was copied to my harddriver there was a file It couldnt copy. I tried again and it worked. Could this just be a one time problem or?

2. During the installation, setup said that a dll was missing, I forgot to write the name of the dll down, but told it to continue installing.

3. When everything had been installed, I had told setup to log on once the administrator, and so it did. But a bunch of things went wrong, It wouldn't install any of my tweaks. As the folders had been deleted when the installation was done, and it was impossible for me to get online, or even on LAN. When trying to open explorer, I was asked wether I wanted it to be opened by pictureviewer or notepad.

I have followed the unattented CD guide, but obviosly I have done something wrong. Could anyone help me? Sorry about the spelling, english is not my native language.

;SetupMgrTag
[Data]
   AutoPartition=0
   MsDosInitiated="0"
   UnattendedInstall="Yes"
   AutomaticUpdates=yes

[Unattended]
   FileSystem=*
   UnattendMode=FullUnattended
   OemSkipEula=Yes
   OemPreinstall=Yes
   TargetPath=\WINDOWS
   UnattendSwitch="yes"
   WaitForReboot="No"
   OemPnPDriversPath="Drivers\000_chipset;Drivers\001_network;
Drivers\001_network\wireless;Drivers\002_graphics;Drivers\003_sound;
Drivers\004_monitor;Drivers\005_keyboard;Drivers\006_mouse;
Drivers\007_modem;Drivers\008_memorystick"
   DriverSigningPolicy=Ignore
   ProgramFilesDir="C:\Program Files"
   CommonProgramFilesDir="C:\Program Files\Common Files"

[GuiUnattended]
   AdminPassword=*
   EncryptedAdminPassword=NO
   AutoLogon=Yes
   AutoLogonCount=1
   OEMSkipRegional=1
   TimeZone=105
   OemSkipWelcome=1

[UserData]
   ProductKey=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
   FullName="PhiL"
   OrgName=""
   ComputerName=PhiL

[Display]
   BitsPerPel=32
   Xresolution=1024
   YResolution=768

[TapiLocation]
   CountryCode=45

[RegionalSettings]
   LanguageGroup=1
   SystemLocale=00000406
   UserLocale=00000406
   InputLocale=0406:00000406

[WindowsFirewall]
   Profiles = WindowsFirewall.TurnOffFirewall

[WindowsFirewall.TurnOffFirewall]
   Mode = 0

[IEPopupBlocker]
   BlockPopups=Yes
   FilterLevel=Medium
   ShowInformationBar=Yes

[Identification]
   JoinWorkgroup=Volden

[Networking]
   InstallDefaultComponents=Yes

[URL]
Home_Page=http://www.newz.dk

[Components]
   msmsgs=off
   msnexplr=off
   zonegames=off
   pinball=off
   Mswordpad=off

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

This is where RunOnceEx.cmd is located

D:\xpcd\$OEM$\$1\Install\RuneOnceEx.cmd

//Phi|

RunOnceEx.cmd

Link to comment
Share on other sites


Same problem here. RunOnceEx can't find the files in install. Here's my RunOnceEx.cmd

cmdow @ /HID

@echo off

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY% /V TITLE /D "Installing Applications" /f

REG ADD %KEY%\001 /VE /D "Preparing Installation..." /f

REG ADD %KEY%\001 /V 1 /D "%systemdrive%\install\prepare.cmd" /f

REG ADD %KEY%\010 /VE /D "WMP 9 Codecs" /f

REG ADD %KEY%\010 /V 1 /D "%systemdrive%\install\wmp9_mm2\wm9codecs.exe /q" /f

REG ADD %KEY%\015 /VE /D ".NET Framework v1.1" /f

REG ADD %KEY%\015 /V 1 /D "%systemdrive%\install\netframe\netfx.msi /qn" /f

REG ADD %KEY%\020 /VE /D "MSN Messenger 6.2" /f

REG ADD %KEY%\020 /V 1 /D "%systemdrive%\install\msn\MsnMsgs.msi /qn" /f

REG ADD %KEY%\025 /VE /D "TweakUI 2.10 Powertoy" /f

REG ADD %KEY%\025 /V 1 /D "%systemdrive%\install\powertoy\TweakUI.msi /qn" /f

REG ADD %KEY%\030 /VE /D "Task Switcher" /f

REG ADD %KEY%\030 /V 1 /D "%systemdrive%\install\powertoy\tasksw.exe /s /v/qn" /f

REG ADD %KEY%\035 /VE /D "Acrobat Reader 6.01" /f

REG ADD %KEY%\035 /V 1 /D "%systemdrive%\install\adobe\AR.msi /qn" /f

REG ADD %KEY%\055 /VE /D "Flash Player 7" /f

REG ADD %KEY%\055 /V 1 /D "%systemdrive%\install\flash\flash7.msi /qn" /f

REG ADD %KEY%\995 /VE /D "Cleaning Up" /f

REG ADD %KEY%\995 /V 1 /D "%systemdrive%\install\cleanup.cmd" /f

EXIT

It seems like SP2 doesn't support RunOnceEx command or $OEM$ folders.

Link to comment
Share on other sites

Well, it sure does support $oem$ folders, so there must be something else wrong.

BTW:

fastest way to check if runonceEx is still used is to make a simple script and run it on your freshly installed XPsp2.

If you see the proper keys added in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

then it is working, just the parameters you're passing could be wrong.

Sort of a RunOnceEx after the fact shall we say? :P

Link to comment
Share on other sites

it seems you miss some info in your winnt.sif in the unattended section

because of a bug in winXP unattended you need this information

OemFilesPath="..\$OEM$"

if your $OEM$ folder is a the same level than the i386 folder like this

CDROM-

----------$OEM$

----------i386

for the install dir it must be like that

BTW you don't need the

ProgramFilesDir="C:\Program Files"

CommonProgramFilesDir="C:\Program Files\Common Files"

'cause those are the default values so...

see the root tree bellow

the selected install folder in this image should be the same as the one your runonceex search for

during the setup this will become the %SYSTEMDRIVE%\install folder you need

post-70-1092776640_thumb.jpg

Link to comment
Share on other sites

it seems you miss some info in your winnt.sif in the unattended section

because of a bug in winXP unattended you need this information

    OemFilesPath="..\$OEM$"

if your $OEM$ folder is a the same level than the i386 folder like this

CDROM-

----------$OEM$

----------i386

for the install dir it must be like that

BTW you don't need the

ProgramFilesDir="C:\Program Files"

CommonProgramFilesDir="C:\Program Files\Common Files"

'cause those are the default values so...

see the root tree bellow

the selected install folder in this image should be the same as the one your runonceex search for

during the setup this will become the %SYSTEMDRIVE%\install folder you need

Thanks Aknott,

I will try it. By the way it worked fine with Windows XP Sp1.

:) I will test it tonight.

Link to comment
Share on other sites

Strange :blink:

I have tried it but it didn't work :

Here is my Winnt.sif

;SetupMgrTag

[Components]

AutoUpdate = Off ;Auto Update

Deskpaper = Off ;Desk Paper

Dialer = Off ;Phone Dialer

Iis_common = Off ;Common Files

Iis_ftp = Off ;FTP Service

Iis_inetmgr = Off ;Internet Information Services Snap-In

Iis_smtp = Off ;SMTP Service

Iis_nntp = Off ;NNTP Service

Iis_webadmin = Off ;IIS Web UI for Web server administration

Iis_www = Off ;IIS World Wide Web Service

Iis_www_vdir_scripts = Off ;IIS Optional Scripts Directory

Fp_extensions = Off ;FrontPage® 2000 Server Extensions

Media_clips = Off ;Media Clips

Msnexplr = Off ;MSN Explorer

Mswordpad = Off ;MS Wordpad

OEAccess = Off ;Outlook Express

Paint = Off ;MS Paint

WMAccess = Off ;Windows Messenger

[Data]

AutoPartition=0

MsDosInitiated="0"

UnattendedInstall="Yes"

AutomaticUpdates=yes

[unattended]

UnattendMode=FullUnattended

OemSkipEula=Yes

Repartition=No

Hibernation=No

OemPnPDriversPath="Drivers\001_Network;Drivers\006_storage;Drivers\006_storage\3ware;Drivers\006_storage\3ware\6000;Drivers\006_storage\3ware\7k&8k;Drivers\006_storage\acard;Drivers\006_storage\acard\6280;Drivers\006_storage\acard\6290;Drivers\006_storage\acard\67160;Drivers\006_storage\acard\671x;Drivers\006_storage\acard\6880;Drivers\006_storage\acard\6890;Drivers\006_storageacard\68x5;Drivers\006_storage\adaptec;Drivers\006_storage\adaptec\aac;Drivers\006_storage\adaptec\aar1210;Drivers\006_storage\adaptec\i2o;Drivers\006_storage\adaptec\u160;Drivers\006_storage\adaptec\u320;Drivers\006_storage\adaptec\u320r;Drivers\006_storage\ali;Drivers\006_storage\amd;Drivers\006_storage\highpoint;Drivers\006_storage\highpoint\hpt366;Drivers\006_storage\highpoint\hpt371;Drivers\006_storage\highpoint\hpt374;Drivers\006_storage\highpoint\hpt3xx;Drivers\006_storage\highpoint\rr182x;Drivers\006_storage\intel;Drivers\006_storage\intel\eide;Drivers\006_storage\intel\sataraid;Drivers\006_storage\intel\u320r;Drivers\006_storage\ite;Drivers\006_storage\lsilogic;Drivers\006_storage\lsilogic\megaide;Drivers\006_storage\lsilogic\mraid35x;Drivers\006_storage\lsilogic\mylex;Drivers\006_storage\lsilogic\symmpi;Drivers\006_storage\nvidia;Drivers\006_storage\nvidia\eide;Drivers\006_storage\nvidia\raid;Drivers\006_storage\promise;Drivers\006_storage\promise\fasttrak;Drivers\006_storage\promise\fasttx2k;Drivers\006_storage\promise\sx4000;Drivers\006_storage\promise\sx6000;Drivers\006_storage\promise\ulsata;Drivers\006_storage\promise\ultra;Drivers\006_storage\qlogic;Drivers\006_storage\qlogic\12160;Drivers\006_storage\siimage;Drivers\006_storage\siimage\3112;Drivers\006_storage\siimage\3112r;Drivers\006_storage\siimage\3114;Drivers\006_storage\siimage\3114r;Drivers\006_storage\siimage\3124;Drivers\006_storage\siimage\3124r;Drivers\006_storage\siimage\649r;Drivers\006_storage\siimage\680;Drivers\006_storage\siimage\680r;Drivers\006_storage\sis;Drivers\006_storage\sis\eide;Drivers\006_storage\sis\raid;Drivers\006_storage\via;Drivers\006_storage\via\eide;Drivers\006_storage\via\ideraid;Drivers\006_storage\via\miniport;Drivers\006_storage\via\sataraid;"

DriverSigningPolicy=Ignore

OemSigningPolicy=Ignore

OemFilesPath="..\$OEM$"

OverwriteOemFilesOnUpgrade=No

UnattendSwitch="Yes"

WaitForReboot="No"

TargetPath=\Windows

[GuiUnattended]

AdminPassword=*

EncryptedAdminPassword=NO

AutoLogon=Yes

AutoLogonCount=3

OEMSkipRegional=1

TimeZone=85

OemSkipWelcome=1

[userData]

ProductKey=

FullName="JSL"

OrgName="JSL"

ComputerName=*

[Display]

BitsPerPel=16

Xresolution=800

YResolution=600

Vrefresh=75

[identification]

JoinWorkgroup=WORKGROUP

[Networking]

InstallDefaultComponents=Yes

[PCHealth]

RA_AllowFullControl = 0

RA_AllowToGetHelp = 0

RA_AllowUnsolicited = 0

ER_Enable_Reporting = 0

[shell]

DefaultThemesOff = No

DefaultStartPanelOff = No

[WindowsFirewall]

Profiles = WindowsFirewall.TurnOffFirewall

[WindowsFirewall.TurnOffFirewall]

Mode = 0

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