Author Topic: WinXP $oem$ Unattended Install  (Read 4555 times)

Offline Firecat

  • stranger
  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
WinXP $oem$ Unattended Install
« on: March 08, 2003, 10:50:07 AM »
I\'m trying to integrate Microsoft VM 5.0.3809 and WMP9 into Windows XP (unattended) setup. I\'ve just reinstalled XP but it didn\'t work http://images.thetechguide.com/forum/public/style_emoticons/<#EMO_DIR#>/sad.gif\' class=\'bbc_emoticon\' alt=\':(\' /> BTW, my bootable XP CD-ROM is unreadable, so I\'m forced to copy the entire CD to HDD and install from DOS. This being the case, do I need to put the $oem$ folder under the i386 directory?

\"UNATTEND.TXT\" File:

[Unattended]
OemSkipEula=Yes
OemPreinstall=Yes
TargetPath=WINNT
DriverSigningPolicy=Ignore
UnattendMode=FullUnattended
Repartition = No
FileSystem=LeaveAlone
ExtendOEMPartition=0
Hibernation = 1

[GuiUnattended]
AutoLogon=Yes
AdminPassword = *
ProfilesDir=\"%SystemDrive%Profiles\"
OEMSkipRegional=1
OEMSkipWelcome =1
TimeZone =205

[UserData]
FullName = anonymous
ProductID=xxxxx-xxxxx-xxxxx-xxxxx-xxxxx
ComputerName=NoNamez

[Branding]
BrandIEUsingUnattended= Yes
NoFavorites=1

[URL]
Home_Page=about:blank

[SystemFileProtection]
SFCQuota=0

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

[TapiLocation]
AreaCode=02
CountryCode=66
Dialing=Tone

[Networking]

[Components]
accessopt=off
;autoupdate=off
deskpaper=off
dialer=off
freecell=off
hearts=off
hypertrm=off
IndexSrv_System=off
media_clips=off
minesweeper=off
mousepoint=off
msmsgs=off
msnexplr=off
paint=off
pinball=off
;rootautoupdate=off
solitaire=off
spider=off
templates=off
zonegames=off

[Shell]
DefaultStartPanelOff=Yes
DefaultThemesOff=Yes

[Identification]
JoinWorkgroup=GROUP

[Data]
MsDosInitiated=\"0\"
UnattendedInstall=Yes
UseBIOSToBoot =\"0\"


CMDLINES.TXT File:

[Commands]
\".msjavwu.exe /C:\"javatrig.exe /exe_install /l /q /qq\" /Q:A /R:N\"
\".mpsetup.exe /C:\"setup_wm.exe /Q /R:N\" /Q:A /R:N\"


$oem$ Folder Root:

CMDLINES.TXT
mpsetup.exe
msjavwu.exe

According to several articles I\'ve read, the $oem$ folder should be copied to the %SystemDrive%$WIN_NT$.~LS directory during text-mode setup. As I mentioned earlier, I think the solution lies in the initial location of the $oem$ folder. Installing XP from DOS, I didn\'t put $oem$ under i386 but alongside it like this:

D:wxpsp1$oem$
D:wxpsp1i386

Perhaps it should be this:

D:wxpsp1i386$oem$

Another thing I noticed is \"Hibernation\" was enabled when in fact I disabled it - see \"unattend.txt\". Any ideas on this? I don\'t plan on reinstalling XP again just yet; but any help would be appreciated. Thanks in advance!

Offline Burner

  • newbie
  • Newbie
  • *
  • Posts: 30
  • Karma: +0/-0
    • View Profile
WinXP $oem$ Unattended Install
« Reply #1 on: March 10, 2003, 02:01:35 PM »
It is true for a CD the OEM folder must be at the same level as I386, except for a network installation then its I386/$oem$. Also it looks as if you trying to install mpsetup.exe and msjavwu.exe during both in the answer file and the cmdlines txt files. So only need these install in one place. Start by creating just a batch file. the manually executing it. Then call for the batch file once the install works. Third, in cmdline.txt there MUST be quotations around the command. such as \".mpsetup.exe\" If the command line itself has the need for quotation then you need to call the command with a batch file. Fourth the exe\' that you call need to be at the root of $OEM$ unless you state the entire path. And lastly about the hibernation option, I have found that the hibernation options does not work when deploying to laptops. I have not determined if this works with desktops. Can anyone help with this hibernation option?? Microsoft states that Hibernation=0/1 Specifies whether to enable the hibernation option in the Power Options control panel.

gosh

  • Guest
WinXP $oem$ Unattended Install
« Reply #2 on: March 10, 2003, 10:25:43 PM »
To firecat:

I replied to your post on neowin but u just ignored it.  If you want help, you need to listen to those that try to help you.

http://www.neowin.net/forum/index.php?act=ST&f=11&t=64837

To both:

The documentation for hibernation for xp is wrong.  Download the updated xp sp1 deploy tools to get the correct documentation.

-gosh

Offline Firecat

  • stranger
  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
WinXP $oem$ Unattended Install
« Reply #3 on: March 11, 2003, 12:57:24 AM »
Thanks Burner! I reinstalled XP again yesterday and everything worked!! http://images.thetechguide.com/forum/public/style_emoticons/<#EMO_DIR#>/smile.gif\' class=\'bbc_emoticon\' alt=\':)\' /> I made several (minor) changes and added a .cmd file to install Microsoft VM 5.0.3809 -

$OEM$ Folder Structure (for XP DOS install):

D:wxpsp1i386$oem$cmdlines.txt
D:wxpsp1i386$oem$msjavwu.cmd
D:wxpsp1i386$oem$msjavwu.exe
D:wxpsp1i386$oem$mpsetup.exe

MSJavWU.CMD File:

msjavwu.exe /c:\"javatrig.exe /exe_install /l /q /qq\" /q:a /r:n

CMDLINES.TXT File:

[commands]
\"cmd /q /c .msjavwu.cmd\"
\".mpsetup.exe /Q:A /R:N\"

BTW, anyone know how to disable the WMP setup program from doing a System Restore check? If not, then nevermind... I\'ll just have to install it using GuiRunOnce (see below) instead of cmdlines.txt to avoid a message box that appears when S.R. isn\'t turned on -- which is obiviously the case during windows setup.

$OEM$ Folder Structure (for XP DOS install):

D:wxpsp1i386$oem$cmdlines.txt
D:wxpsp1i386$oem$msjavwu.cmd
D:wxpsp1i386$oem$msjavwu.exe
D:wxpsp1i386$oem$$1appsmpsetup.exe

UNATTEND.TXT File:

[GuiRunOnce]
Command0=\"%SystemRoot%appsmpsetup.exe /q:a /r:n\"

CMDLINES.TXT File:

[commands]
\"cmd /q /c .msjavwu.cmd\"

MSJavWU.CMD File:

msjavwu.exe /c:\"javatrig.exe /exe_install /l /q /qq\" /q:a /r:n

The Hibernation option - unattend.txt - does NOT work on my desktop computer. Even though I\'ve got it set to disabled, this feature is automatically enabled in the Power Options control panel. Maybe it\'s a windows bug? Or perhaps it\'s my computer that\'s the culprit... Any thoughts on what may be causing this?

P.S. - Why is it that everytime I install XP from DOS there\'s always a 2 minute pause at the \"Please wait while Setup copies files to your hard disk\" blue screen? I\'ve noticed this since day one and it has happened on every machine I\'ve performed a DOS installation. Win2K never had this problem... Is there a reason?

Offline Burner

  • newbie
  • Newbie
  • *
  • Posts: 30
  • Karma: +0/-0
    • View Profile
WinXP $oem$ Unattended Install
« Reply #4 on: March 11, 2003, 10:27:03 AM »
Try this:
mpsetupXP.exe /Q:A /R:N /c:\"setup_wm.exe /Q /R:N /NoPID /DisallowSystemRestore /P:#e

Offline Firecat

  • stranger
  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
WinXP $oem$ Unattended Install
« Reply #5 on: March 11, 2003, 10:47:39 AM »
To gosh -

Did I offend you or something? Please read my response here (if you haven\'t already done so). I didn\'t even see your reply on Neowin until after I managed to solve the problems I was having ... For the record, I didn\'t ignore your post or anybody else\'s. What\'s the point of participating in a public forum if I\'m going to \"ignore\" everyone and everything that\'s said?! C\'mon now ...

[indent]In reply to:

If you want help, you need to listen to those that try to help you.


[/indent]

Of course -- but at the sametime, I try to come up with my own solutions. And that\'s exactly what happened. I think there\'s a big misunderstanding going on here... BTW, thanks for the hiber info.

Offline AaronXP

  • Newbie
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
WinXP $oem$ Unattended Install
« Reply #6 on: April 22, 2003, 06:12:32 PM »
post removed, made new thread.  http://images.thetechguide.com/forum/public/style_emoticons/<#EMO_DIR#>/cool.gif\' class=\'bbc_emoticon\' alt=\'B)\' /> silly me.
« Last Edit: April 22, 2003, 06:18:52 PM by AaronXP »