Here's how I did it, thanks to Great Numinious:
1. Make a folder called: CODECS in your c:\ drive
1. Install DivX & Xvid
2. Copy the two files: divxdec.ax & xvid.ax, found in windows\system32 folder to the CODECS folder
3. Create two files in the CODECS folder: COMMAND.BAT, & REGISTER.REG
4. In COMMAND.BAT, Insert these:
QUOTE
CLS
@echo off
ECHO.
ECHO Copying Codecs...
COPY "%systemdrive%\Codecs\divxdec.ax" "%systemroot%\system32\"
COPY "%systemdrive%\Codecs\xvid.ax" "%systemroot%\system32\"
ECHO.
ECHO Registering Codecs...
REGEDIT /S %systemdrive%\Codecs\register.reg
regsvr32.exe %systemroot%\system32\xvid.ax /s
regsvr32.exe %systemroot%\system32\divxdec.ax /s
ECHO.
ECHO You Are Done!
EXIT
5. in REGISTER.REG, insert these:
QUOTE
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\GNU\XviD]
"Brightness"=dword:00000019
"Deblock_H_Y"=dword:01010101
"Deblock_V_Y"=dword:01010101
"Deblock_H_C"=dword:01010101
"Deblock_V_C"=dword:00010101
"Dering_Y"=dword:00000101
"Dering_C"=dword:00000001
"Horiz_Threshold"=dword:00000014
"Vert_Threshold"=dword:00000028
"ForceColorspace"=dword:00000000
[HKEY_CURRENT_USER\Software\DivXNetworks\DivX4Windows]
"Auto PP"=dword:00000001
"Disable PP"=dword:00000000
"Dering PP Level"=dword:00000000
"Deblock PP Level"=dword:0000000f
"Warmth Strength"=dword:00000002
"Warmth Filter"=dword:00000001
"Brightness"=dword:00000000
"Contrast"=dword:00000000
"Saturation"=dword:00000000
"AspectRatio_X"=dword:00000000
"AspectRatio_Y"=dword:00000000
"Smooth Playback"=dword:00000001
"Extended Yuv Mode"=dword:00000001
"Double Buffering"=dword:00000000
"Extended Overlay Mode"=dword:00000000
"Disable Logo"=dword:00000001
"ATI Disable"=dword:00000000
you're done, all you have to do is to double click the batch file, or call it from another batch if you want to install unattendedly.