Jump to content

[How-to] - slipstream Automation


Recommended Posts

Posted

::XPCD.CMD 
::Created by: Don Scroggins
::12/21/05

::After creating numerous slipstreamed cds I knew
::there had to be a way to automate the drugery
::This file is one solution: My Solution

::This file will take you to the point where you're ready to burn a cd with SP2 integrated
:: and some of the bloat removed.

::If your like me though you'll also want to do other modifications such as registry tweaks,
:: application installs, and yes (gasp!!) even Unattended installs

::Enjoy



::You may need to change drive letters or path names to reflect where the files being copied reside



::change to root and create directory structure

@ECHO OFF
cd\
mkdir xp
mkdir XP-SP2\UNPACKED
mkdir XP-BootImg

::Copy XP CD to hd

CLS
ECHO Copying Windows CD ..Please Wait..

@ECHO OFF
cd xp
xcopy /h /s /q g:\

::Create OEM Directory Structure

mkdir $OEM$\$1\install\Applications
mkdir $OEM$\$$\System32

cd \XP-SP2

ECHO Copying SP2

@ECHO OFF
copy d:\WindowsXP-KB835935-SP2-ENU.exe

WindowsXP-KB835935-SP2-ENU.exe -X:C:\XP-SP2\UNPACKED\

ECHO Integrating SP2

@ECHO OFF
CD UNPACKED\I386\UPDATE\
UPDATE.EXE -S:C:\XP

ECHO copying Window CD Boot Image

@ECHO OFF
CD\XP-BOOTIMG
COPY D:\micro*.*


ECHO Removing Bloat

::Don't mod these unless you know what your doing

@ECHO OFF

cd\

rmdir /q /s c:\xp-sp2

rmdir /q /s c:\xp\docs

rmdir /q /s c:\xp\valueadd

rmdir /q /s c:\xp\support

rmdir /q /s c:\xp\i386\win9xmig

rmdir /q /s c:\xp\i386\win9xupg

rmdir /q /s c:\xp\i386\winntupg

rmdir /q /s c:\xp\i386\lang

rmdir /q /s c:\xp\cmpnents

echo All Processes Complete.. Thank You

Enjoy. Use, share as you wish as long as you leave the credits.

Title Edited - Please follow new posting rules from now on.

--Zxian


Posted
Why not use /integrate instead?

I really got sick of the process when doing patched builds every few months. I just made a batch of commands that call a patch one at a time with the integrate switch. It makes life a lot easier for me.

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