Jump to content

Could Someone Check my .sif and .bat file?


Recommended Posts

This is my first time here and I am attempting to do the whole slipstream and unattended install. Ive got my Slipstream sp1 working and part of my unattended install.

XP installs all the way but when it comes to executing my .cmd files it says it can not find c:\install\main_batch.cmd or c:\install\hotfixes.cmd

well they arnt located on C: and I dont know why the .sif is looking for them their.

could you please look over my files and tell me whats wrong. ill post them below. :/

any help would be much appreciated. :)

P.S. those files are actulallty located in $OEM$/$1/install on the CD, and the patches and applications are in $OEM$/$1/install/hotfixes and then seperate folders for the applications.

------------------------------------------------------------------------------------------------

( winnt.sif )

[Data]

AutoPartition=0

MsDosInitiated="0"

UnattendedInstall="Yes"

[unattended]

UnattendMode=FullUnattended

OemSkipEula=Yes

OemPreinstall=No

TargetPath=\WINDOWS

[GuiUnattended]

AdminPassword=*

EncryptedAdminPassword=NO

OEMSkipRegional=1

TimeZone=4

OemSkipWelcome=1

[userData]

ProductKey=POE5E-FKROE-FRT9J-KSNE1-Q487W

FullName="Administrator"

OrgName="Home"

ComputerName=*

[RegionalSettings]

LanguageGroup=1

[identification]

JoinWorkgroup=WORKGROUP

[Networking]

InstallDefaultComponents=Yes

[branding]

BrandIEUsingUnattended=Yes

Home_Page=http://www.MSFN.org

[Components]

msmsgs=off

msnexplr=off

freecell=off

hearts=off

minesweeper=off

pinball=off

spider=off

[GuiRunOnce]

Command0=%systemdrive%\install\main_batch.cmd

Command1=%systemdrive%\install\hotfixes.cmd

-------------------------------------------------------------------------------------------------

( main_batch.cmnd )

CLS

@echo off

ECHO.

ECHO Over the next few minutes you will see automated installations

ECHO of various sofware applications, windows updates, and registry

ECHO hacks being implemented. The computer will restart automatically

ECHO once the whole process has finished!

ECHO.

ECHO Copying patched UXTheme.dll...

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 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\wmplayer_9\MPSetupXP.exe /Q:A /R:N

ECHO.

ECHO Installing .NET Framework v1.1

ECHO Please wait...

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

ECHO.

ECHO Installing Microsoft JavaVM - Build 3810

ECHO Please wait...

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

ECHO.

ECHO Installing Microsoft Messanger 4.7

ECHO Please wait...

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

ECHO.

ECHO Applying Registry Tweaks...

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

ECHO.

EXIT

-------------------------------------------------------------------------------------------------

( hotfixes.cmd )

CLS

@echo off

ECHO.

ECHO Installing NDP10_SP_Q321884_En...

start /wait %systemdrive%\install\Hotfixes\NDP10_SP_Q321884_En.exe /Q:A /R:N

ECHO.

ECHO Installing Q810565_WXP_SP2_x86_ENU...

start /wait %systemdrive%\install\Hotfixes\Q810565_WXP_SP2_x86_ENU.exe /Q /M /Z

ECHO.

ECHO Installing WindowsXP-KB821557-x86-ENU...

start /wait %systemdrive%\install\Hotfixes\WindowsXP-KB821557-x86-ENU.exe /Q /M /Z

ECHO.

ECHO Installing Q328310_WXP_SP2_en...

start /wait %systemdrive%\install\Q328310_WXP_SP2_en.exe /Q /M /Z

ECHO.

ECHO Installing Q811493_WXP_SP2_x86_ENU...

start /wait %systemdrive%\install\Hotfixes\Q811493_WXP_SP2_x86_ENU.exe /Q /M /Z

ECHO.

ECHO Installing WindowsXP-KB282010-x86-ENU...

start /wait %systemdrive%\install\Hotfixes\WindowsXP-KB282010-x86-ENU.exe /Q /M /Z

ECHO.

ECHO Installing q818529...

start /wait %systemdrive%\install\Hotfixes\q818529.exe /Q:A /R:N

ECHO.

ECHO Installing q330994...

start /wait %systemdrive%\install\Hotfixes\q330994.exe /Q:A /R:N

ECHO.

ECHO Installing WindowsMedia9-KB819639-x86-ENU...

start /wait %systemdrive%\install\Hotfixes\WindowsMedia9-KB819639-x86-ENU.exe /Q:A /R:N

ECHO.

ECHO Installing hu1002_pro...

start /wait %systemdrive%\install\Hotfixes\hu1002_pro.exe /Q:A /R:N

ECHO.

ECHO Installing Q811630_WXP_SP2_EN...

start /wait %systemdrive%\install\Hotfixes\Q811630_WXP_SP2_EN.exe /Q /M /Z

ECHO.

ECHO Installing WindowsXP-KB823980-x86-ENU...

start /wait %systemdrive%\install\Hotfixes\WindowsXP-KB823980-x86-ENU.exe /Q /M /Z

ECHO.

ECHO Installing WindowsXP-KB817778-x86-ENU...

start /wait %systemdrive%\install\Hotfixes\WindowsXP-KB817778-x86-ENU.exe /Q /M /Z

ECHO.

ECHO Installing WindowsXP-KB820291-x86-ENU...

start /wait %systemdrive%\install\Hotfixes\WindowsXP-KB820291-x86-ENU.exe /Q /M /Z

ECHO.

ECHO Installing Q814995_WXP_SP2_x86_ENU...

start /wait %systemdrive%\install\Hotfixes\Q814995_WXP_SP2_x86_ENU.exe /Q /M /Z

ECHO.

ECHO Installing DirectX9-KB819696-x86-ENU...

start /wait %systemdrive%\install\Hotfixes\DirectX9-KB819696-x86-ENU.exe /Q:A /R:N

ECHO.

ECHO Installing Q327979_WXP_SP2_x86_ENU...

start /wait %systemdrive%\install\Hotfixes\Q327979_WXP_SP2_x86_ENU.exe /Q /M /Z

ECHO.

ECHO Installing Q819696_WXP_SP2_x86_ENU...

start /wait %systemdrive%\install\Hotfixes\Q819696_WXP_SP2_x86_ENU.exe /Q /M /Z

ECHO.

ECHO Installing WindowsXP-KB818043-x86-ENU...

start /wait %systemdrive%\install\Hotfixes\WindowsXP-KB818043-x86-ENU.exe /Q /M /Z

ECHO.

ECHO Installing Q331953_WXP_en...

start /wait %systemdrive%\install\Hotfixes\Q331953_WXP_en.exe /Q /M /Z

ECHO.

ECHO Installing Q323255_X86_EN...

start /wait %systemdrive%\install\Hotfixes\Q323255_X86_EN.exe /Q /M /Z

ECHO.

ECHO Installing Q318138_x86...

start /wait %systemdrive%\install\Hotfixes\Q318138_x86.exe /Q /M /Z

ECHO.

ECHO Installing Q810577_WXP_en...

start /wait %systemdrive%\install\Hotfixes\Q810577_WXP_en.exe /Q /M /Z

ECHO.

ECHO Installing Q815021_WXP_SP2_x86_ENU...

start /wait %systemdrive%\install\Hotfixes\Q815021_WXP_SP2_x86_ENU.exe /Q /M /Z

ECHO.

ECHO Installing Q329115_WXP_SP2_x86_ENU...

start /wait %systemdrive%\install\Hotfixes\Q329115_WXP_SP2_x86_ENU.exe /Q /M /Z

ECHO.

ECHO Installing Q329170_WXP_SP2_EN...

start /wait %systemdrive%\install\Hotfixes\Q329170_WXP_SP2_EN.exe /Q /M /Z

ECHO.

ECHO Installing Q817606_WXP_SP2_x86_ENU...

start /wait %systemdrive%\install\Hotfixes\Q817606_WXP_SP2_x86_ENU.exe /Q /M /Z

ECHO.

ECHO Installing Q814033_WXP_SP2_x86_ENU...

start /wait %systemdrive%\install\Hotfixes\Q814033_WXP_SP2_x86_ENU.exe /Q /M /Z

ECHO.

ECHO Installing Q329441_WXP_SP2_en...

start /wait %systemdrive%\install\Hotfixes\Q329441_WXP_SP2_en.exe /Q /M /Z

ECHO.

ECHO Installing Q810833_WXP_SP2_x86_ENU...

start /wait %systemdrive%\install\Hotfixes\Q810833_WXP_SP2_x86_ENU.exe /Q /M /Z

ECHO.

ECHO Installing WindowsXP-KB823559-x86-ENU...

start /wait %systemdrive%\install\Hotfixes\WindowsXP-KB823559-x86-ENU.exe /Q /M /Z

ECHO.

ECHO Installing Q329048_xp...

start /wait %systemdrive%\install\Hotfixes\Q329048_xp.exe /Q /M /Z

ECHO.

ECHO Installing Q810272_WXP_SP2_x86_ENU...

start /wait %systemdrive%\install\Hotfixes\Q810272_WXP_SP2_x86_ENU.exe /Q /M /Z

ECHO.

ECHO Installing js56nen...

start /wait %systemdrive%\install\Hotfixes\js56nen.exe /Q:A /R:N

ECHO.

ECHO Installing WindowsMedia8-KB817787-x86-ENU...

start /wait %systemdrive%\install\Hotfixes\WindowsMedia8-KB817787-x86-ENU.exe /Q:A /R:N

ECHO.

ECHO Installing WindowsXP-KB821253-x86-ENU...

start /wait %systemdrive%\install\Hotfixes\WindowsXP-KB821253-x86-ENU.exe /Q /M /Z

ECHO.

ECHO Installing q813951...

start /wait %systemdrive%\install\Hotfixes\q813951.exe /Q:A /R:N

ECHO.

ECHO Installing Q817287...

start /wait %systemdrive%\install\Hotfixes\Q817287.exe /Q:A /R:N

ECHO.

ECHO Installing vbs56nen...

start /wait %systemdrive%\install\Hotfixes\vbs56nen.exe /Q:A /R:N

ECHO.

ECHO Installing Q329390_WXP...

start /wait %systemdrive%\install\Hotfixes\Q329390_WXP.exe /Q /M /Z

ECHO.

ECHO Installing Q329834_WXP_SP2_en...

start /wait %systemdrive%\install\Hotfixes\Q329834_WXP_SP2_en.exe /Q /M /Z

ECHO.

ECHO Installing Q322069...

start /wait %systemdrive%\install\Hotfixes\Q322069.exe /Q /M /Z

ECHO.

EXIT

------------------------------------------------------------------------------------------------

Link to comment
Share on other sites


Hey man, you might want to go and edit your post...remove your cd key....just leave that empty or place stars or something....you wouldn't want others getting your key. might also want to remove any passwords....you never know....if I come over to visit you :rolleyes: in the future, I might hack :) my way into your computer and *del* *del* *del* Oh well...enough of the cheap crap, might wanna remove that stuff :D

Link to comment
Share on other sites

also, under the unattended section you need to add the following line:

OemPnPDriversPath="Drivers\Nvidia\Display;Drivers\Nvidia\Ethernet"

I have my folder setup as follows:

XPCD\$OEM$\$1\Drivers\

just change the name of drivers to whatever you want and place the drivers under different folders, such as modem drivers, video drivers, nic card drivers, etc etc. Make sure in this line that your folders hold the .inf files that refer to that driver. If you have seperate drivers such as display and modem, you would want it to look in 2 seperate folders, so seperate the folders with a semicolon ;

so Drivers\modem;drivers\display

this way it looks in 2 different folders for updated drivers. I figure this is pretty self explanatory, but in case you had any problems. Hope this helps man

Link to comment
Share on other sites

I still have to add that command even though Im not preinstalling nvidia Display drivers?

the reason is because im trying to make this a generic unattended install as possible incase I have diffrent display drivers in the future.

I dont have any drivers for harware listed.

basically all I need is for the .sif to activate my .cmd file main_batch.cmd and hotfixes.cmd to install the hotfixes and the 5 apps I have that are from the xp update wesite. which include. DirectX9b, .net1.1, Messenger4.7, msjavawu, and media player 9.

everything installs ok but the .sif file is looking for the .cmd file on the C: drive (or the .cmd files are looking for the apps and updates on the C: Drive.

Link to comment
Share on other sites

I just tried to run my main_batch.cmd file and it said:

Windows cannot find 'C:\install\hotfixes\NDP10_SP_Q321884_EN.exe'. Make sure you typed the name correctly, and then try again. To search for a file, click the start button, and the click search.

it supposed to look in the CD drive under $OEM$/%1/ (path)

there for my pathes must be incorect in my .cmd files?

the dos window says c:\Windows\system32\cmd.exe

wtf. is with that. how do I make it open the right files!!!!

Link to comment
Share on other sites

Alright, at first i was a little confused as to what you were saying, but lemme get this straight:

You go to install XP, and it says that it cannot find certain files, these files being your .cmd files or the actual programs themself?

Ok, go to the base directory of your CD, make sure that you have the folder:

$OEM$

then open that folder and you should have one folder named:

$1

Under that folder you have whatever, make sure that your batch files appropriately point to these files and folders. Just change the oempreinstall to yes. This tells the CD to copy EVERYTHING under the $1 folder...that's why it's important to have the folders named appropriately.

You do not want any drivers copied over? Then do not add OemPnPDriversPath line. If you do want drivers installed, then just place a drivers folder under the $1 folder, it should look like this:

XPCD:\$OEM$\$1\Drivers

You want it to install modem drivers for ya? Place a folder called modem or something under the drivers folder and copy the drivers into that folder. Make sure that the .inf file that pertains to that driver is located under the modem folder.

Then make sure you have the line as such:

OemPnPDriversPath="Drivers\modem"

This will ONLY look in the modem folder for any updated drivers or drivers that XP does not have.

If you have more questions, hit me up on AIM:

AnthrAx12385

Link to comment
Share on other sites

I think liptonsea is trying to execute the cmd files manually to test them, which is why he gets the error.

Liptonsea, Windows XP Setup copies everything from the $OEM$\$1\ folders during setup, so all the files appear in C:\install and the cmd files work.

Link to comment
Share on other sites

well bolth, they didnt execute during the install or after.

I changed the pathes in the .cmd to

Example:

ECHO Installing Windows Media Player 9

ECHO Please wait...

start /wait .\wmplayer_9\MPSetupXP.exe /Q:A /R:N

ECHO.

and the test worked.

now should I leave them as is and attempt tp reinstall XP?

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