echo TITLE WMP 10 Slipstreamer V1.1 - By Bashrat the Sneaky
@ECHO OFF
REM
REM
REM
REM #####################################################################
REM # #
REM # Copyright Bâshrat the Sneaky 2005 #
REM # #
REM # http://www.BTSunattended.net <http://www.btsunattended.net/> #
REM # #
REM # BashratTheSneaky@BTSunattended.net #
REM # #
REM #####################################################################
REM
REM
REM
REM #####################################################################
REM =======================
REM Folders, commands and other
REM _______________________
SET P=C:\WMP10TMP
SET OUT=C:\I386
SET C=MAKECAB /D CompressionType=LZX /D CompressionMemory=21 /L %OUT% %P%\
SET TotalSteps=3
REM =======================
REM #####################################################################

IF EXIST %P% RD %P%
IF EXIST %OUT% RD %OUT%
COLOR 0A

CLS
ECHO.
ECHO.
ECHO This batch file will help you slipstreaming Windows Media Player 10!
ECHO.
ECHO.
ECHO The batch file does steps 1 and 2 on its own. You have to do step 3
yourself: moving the files to your UWXPCD and editing the HIVEDEF.INF file.
ECHO.
ECHO.
PAUSE

IF NOT EXIST MP10Setup.exe GOTO ERR

CLS
TITLE 1/%TotalSteps% Extracting MP10Setup.exe to %P%...
ECHO.
ECHO.
ECHO.
ECHO 1/%TotalSteps% Extracting MP10Setup.exe to %P%...
ECHO.
ECHO.
START /WAIT MP10Setup.exe /C /Q /T:%P%
ECHO.
ECHO Complete!
ECHO.
PAUSE

CLS
TITLE 2/%TotalSteps% Moving the files to %OUT% and compressing them on the
fly...
ECHO.
ECHO.
ECHO.
ECHO 2/%TotalSteps% Moving the files to %OUT% and compressing them on the
fly...
ECHO.
ECHO.
ECHO Starting... 61 files have to be compressed...
ECHO.
ECHO.
%C%wmplayer.adm
%C%asferror.dll
%C%blackbox.dll
%C%CEWMDM.dll
%C%custsat.dll
%C%DRMClien.dll
%C%DrmStor.dll
%C%drmv2clt.dll
%C%LAPRXY.DLL
%C%mpvis.DLL
%C%msnetobj.dll
CLS
ECHO.
ECHO 50 files left to compress...
ECHO.
ECHO.
ECHO.
%C%MsPMSNSv.dll
%C%MsPMSP.dll
%C%msscp.dll
%C%MSWMDM.dll
%C%qasf.dll
%C%WMADMOD.DLL
%C%WMADMOE.DLL
%C%WMASF.DLL
%C%WMDMLOG.dll
%C%WMDMPS.dll
CLS
ECHO.
ECHO 40 files left to compress...
ECHO.
ECHO.
ECHO.
%C%wmerror.dll
%C%wmidx.dll
%C%WMNetMgr.dll
%C%wmp.dll
%C%wmpasf.dll
%C%wmpband.dll
%C%wmpcd.dll
%C%wmpcore.dll
%C%wmpdxm.dll
%C%wmploc.DLL
CLS
ECHO.
ECHO 30 files left to compress...
ECHO.
ECHO.
ECHO.
%C%wmpshell.dll
%C%wmpui.dll
%C%WMSDMOD.DLL
%C%WMSDMOE2.DLL
%C%WMSPDMOD.DLL
%C%WMSPDMOE.DLL
%C%WMVCORE.DLL
%C%WMVDMOD.DLL
%C%WMVDMOE2.DLL
%C%logagent.exe
CLS
ECHO.
ECHO 20 files left to compress...
ECHO.
ECHO.
ECHO.
%C%migrate.exe
%C%setup_wm.exe
%C%unregmp2.exe
%C%wmplayer.exe
%C%wmp.ocx
%C%Plylst1.wpl
%C%Plylst10.wpl
%C%Plylst11.wpl
%C%Plylst12.wpl
%C%Plylst13.wpl
CLS
ECHO.
ECHO 10 files left to compress...
ECHO.
ECHO.
ECHO.
%C%Plylst14.wpl
%C%Plylst15.wpl
%C%Plylst2.wpl
%C%Plylst3.wpl
%C%Plylst4.wpl
%C%Plylst5.wpl
%C%Plylst6.wpl
%C%Plylst7.wpl
%C%Plylst8.wpl
%C%Plylst9.wpl
IF EXIST %P% RD /S /Q %P%
ECHO.
ECHO.
ECHO.
ECHO Complete!
ECHO.
PAUSE
CLS
TITLE 3/%TotalSteps% Now it's up to you...
ECHO.
ECHO.
ECHO.
ECHO 3/%TotalSteps% Now it's up to you...
ECHO.
ECHO.
ECHO A) First of all move the folder %OUT% to the root of your UWXPCD. When
you are asked to overwrite files, click Yes.
ECHO.
ECHO.
ECHO Now you have to edit the I386\HIVEDEF.INF file:
ECHO.
ECHO Add the following line under the section [AddReg]:
ECHO.
ECHO
HKCU,"SOFTWARE\Microsoft\MediaPlayer\Preferences","AcceptedPrivacyStatement",0x00010003,1
ECHO.
ECHO.
ECHO.
ECHO Complete! Windows Media Player 10 is now completely slipstreamed!
ECHO.
PAUSE
CLS
TITLE Credits
ECHO.
ECHO.
ECHO.
ECHO Fully created by Bâshrat the Sneaky. (2005)
ECHO.
ECHO Download it at www.BTSunattended.net <http://www.btsunattended.net/>
ECHO.
ECHO.
ECHO.
ECHO With thanks to:
ECHO ---------------
ECHO.
ECHO - Obliviator, for providing all information I needed to make this batch
file.
ECHO.
ECHO - jcarle, for explaining me I could shorten this batch file.
ECHO.
PAUSE
EXIT

:ERR
CLS
TITLE ERROR: MP10SETUP.EXE COULD NOT BE FOUND!
ECHO.
ECHO.
ECHO.
ECHO MP10Setup.exe could not be found! Please place this batchfile in the
same folder as MP10Setup.exe!
ECHO.
PAUSE
EXIT

WMP10的好處是DRM的解碼部分