// BDE stuff
// 25-12-2002
// Taken from Kazaa v1.3.3 through v2.0.2

BDEProcess=%WINDIR%\BDE\b3dsetup.exe
BDEProcess=%WINDIR%\BDE\bdeviewer.exe
BDEProcess=%WINDIR%\BDE\Update\zupdate.exe
BDEProcess=%WINSYSDIR%\bdeinstall.exe
BDEProcess=%WINDIR%\Zupdate\zupdate.exe
BDEProcess=%WINDIR%\SYSTEM\bdeinstallman3.exe

BDEFile=c:\BDE\Cache\b3d.b3d
BDEFile=c:\BDE\Cache\b3dstats.cab
BDEFile=c:\BDE\Cache\bdeclean.exe
BDEFile=c:\BDE\Cache\bdedetect1.dll
BDEFile=c:\BDE\Cache\installb3d3100.cab
BDEFile=c:\BDE\Cache\installb3dcodecs.cab
BDEFile=c:\BDE\Cache\installb3dplayer3100.cab
BDEFile=c:\BDE\Cache\installb3drasts.cab
BDEFile=c:\BDE\Cache\installb3dviewer2.cab
BDEFile=c:\BDE\Cache\installNSplugins.cab
BDEFile=c:\BDE\Cache\syscheckb3dplayer.cab
BDEFile=%WINDIR%\BDE\b3dlogo\b3d.b3d
BDEFile=%WINDIR%\BDE\b3dsetup.exe
BDEFile=%WINDIR%\bde\bdeclean.exe
BDEFile=%WINDIR%\BDE\BDEEngine2.dll
BDEFile=%WINDIR%\BDE\bdeimage.dll
BDEFile=%WINDIR%\BDE\bdeplayer2.dll
BDEFile=%WINDIR%\BDE\bdeviewer.exe
BDEFile=%WINDIR%\BDE\Cache\b3d.b3d
BDEFile=%WINDIR%\BDE\Cache\b3dstats.cab
BDEFile=%WINDIR%\BDE\Cache\bdeclean.exe
BDEFile=%WINDIR%\BDE\Cache\bdedetect1.dll
BDEFile=%WINDIR%\BDE\Cache\installb3d3101.cab
BDEFile=%WINDIR%\BDE\Cache\installb3d3105.cab
BDEFile=%WINDIR%\BDE\Cache\installb3dcodecs.cab
BDEFile=%WINDIR%\BDE\Cache\installb3dplayer3101.cab
BDEFile=%WINDIR%\BDE\Cache\installb3drasts.cab
BDEFile=%WINDIR%\BDE\Cache\installb3dviewer2.cab
BDEFile=%WINDIR%\BDE\Cache\installNSplugins.cab
BDEFile=%WINDIR%\BDE\Cache\syscheckb3dplayer.cab
BDEFile=%WINDIR%\BDE\mskin\config3.ini
BDEFile=%WINDIR%\BDE\mskin\mskin.bmp
BDEFile=%WINDIR%\BDE\npbdplay2.dll
BDEFile=%WINDIR%\BDE\setup.cab
BDEFile=%WINDIR%\BDE\Update\setup.cab
BDEFile=%WINDIR%\BDE\Update\zget.cab
BDEFile=%WINDIR%\BDE\Update\zslot1.cab
BDEFile=%WINDIR%\BDE\Update\zuninstall.cab
BDEFile=%WINDIR%\BDE\Update\zupdate.exe
BDEFile=%WINSYSDIR%\bde3d_ref2.dll
BDEFile=%WINSYSDIR%\bdedata2.dll
BDEFile=%WINSYSDIR%\bdedownloader.dll
BDEFile=%WINSYSDIR%\bdefdi.dll
BDEFile=%WINSYSDIR%\bdeinsta.dll
BDEFile=%WINSYSDIR%\bdeinsta2.dll
BDEFile=%WINSYSDIR%\bdeinsta25.dll
BDEFile=%WINSYSDIR%\bdeinstall.exe
BDEFile=%WINSYSDIR%\bdeload.dll
BDEFile=%WINSYSDIR%\BDERastMMX_30001.dll
BDEFile=%WINSYSDIR%\BDESac10.dll
BDEFile=%WINSYSDIR%\bdesecureinstall.cab
BDEFile=%WINSYSDIR%\bdesecureinstall.exe
BDEFile=%WINSYSDIR%\bdeverify.dll
BDEFile=%WINSYSDIR%\bdeverify.exe
BDEFile=%WINSYSDIR%\chktrust.exe
BDEFile=%WINDIR%\Zupdate\setup.cab
BDEFile=%WINDIR%\Zupdate\zget.cab
BDEFile=%WINDIR%\Zupdate\zslot1.cab
BDEFile=%WINDIR%\Zupdate\zuninstall.cab
BDEFile=%WINDIR%\Zupdate\zupdate.exe
BDEFile=%WINDIR%\temp\BDECache\bde6112.TMP
BDEFile=%WINDIR%\temp\BDECache\bdeC365.TMP
BDEFile=%WINDIR%\temp\BDECache\bdeD325.TMP
BDEFile=%WINDIR%\temp\Brilliant\Atl.dll
BDEFile=%WINDIR%\temp\Brilliant\b3d3100Package.cab
BDEFile=%WINDIR%\temp\Brilliant\bdedata2.dll
BDEFile=%WINDIR%\temp\Brilliant\bdedownloader.dll
BDEFile=%WINDIR%\temp\Brilliant\bdefdi.dll
BDEFile=%WINDIR%\temp\Brilliant\bdeinsta.dll
BDEFile=%WINDIR%\temp\Brilliant\bdeplayer\bde3d_ref2.cab
BDEFile=%WINDIR%\temp\Brilliant\bdeplayer\BDEEngine2.cab
BDEFile=%WINDIR%\temp\Brilliant\bdeplayer\BDEimage.cab
BDEFile=%WINDIR%\temp\Brilliant\bdeplayer\bdeload.cab
BDEFile=%WINDIR%\temp\Brilliant\bdeplayer\BDEPlayer2.cab
BDEFile=%WINDIR%\temp\Brilliant\bdeplayer\BDERastDx6_30002.cab
BDEFile=%WINDIR%\temp\Brilliant\bdeplayer\BDERastMMX_30001.cab
BDEFile=%WINDIR%\temp\Brilliant\bdeplayer\BDESac10.cab
BDEFile=%WINDIR%\temp\Brilliant\bdeplayer\bdeviewer2.cab
BDEFile=%WINDIR%\temp\Brilliant\bdeplayer\NPBDplay2.cab
BDEFile=%WINDIR%\temp\Brilliant\msvcirt.dll
BDEFile=%WINDIR%\temp\Brilliant\setup.cab
BDEFile=%WINDIR%\temp\Brilliant\setup.exe

// since K 2.0.1
BDEFile=%WINDIR%\BDE\bdedetect1.dll
BDEFile=%WINDIR%\BDE\Cache\installb3d3200.cab
BDEFile=%WINDIR%\BDE\Cache\installb3dplayer3200.cab

BDEFolder=c:\BDE
BDEFolder=c:\BDE\Cache
BDEFolder=c:\BDE\TEMP
BDEFolder=%WINDIR%\temp\Brilliant
BDEFolder=%WINDIR%\bde
BDEFolder=%WINDIR%\BDE\b3dlogo
BDEFolder=%WINDIR%\BDE\Cache
BDEFolder=%WINDIR%\BDE\mskin
BDEFolder=%WINDIR%\BDE\TEMP
BDEFolder=%WINDIR%\BDE\Update
BDEFolder=%PROGRAMFILES%\BDE
BDEFolder=%WINDIR%\temp\BDECache
BDEFolder=%WINDIR%\temp\Brilliant\bdeplayer
BDEFolder=%WINDIR%\Zupdate

BDERegkey=HKCR\.b3d
BDERegkey=HKCR\.b3dini
BDERegkey=HKCR\.b3ds
BDERegkey=HKCR\.s3d
BDERegkey=HKCR\b3d_auto_file
BDERegkey=HKCR\b3dini_auto_file
BDERegkey=HKCR\b3ds_auto_file
BDERegkey=HKCR\BDEPLAYER.BDEPlayerCtrl
BDERegkey=HKCR\BDEPLAYER.BDEPlayerCtrl.1
BDERegkey=HKCR\BDESmartInstaller.BDESmartInstaller
BDERegkey=HKCR\BDESmartInstaller.BDESmartInstaller.1
BDERegkey=HKCR\BDESmartInstaller25.BDESmartInstaller25
BDERegkey=HKCR\BDESmartInstaller25.BDESmartInstaller25.1
BDERegkey=HKCR\s3d_auto_file
BDERegkey=HKCU\Software\Brilliant Digital Entertainment
BDERegkey=HKLM\Software\Brilliant Digital Entertainment
BDERegkey=HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\bdeplayer
BDERegkey=HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\Zupdate
BDERegkey=HKLM\Software\Zupdate
BDERegkey=HKCR\CLSID\{3EEC42B5-FB94-40D3-A588-BB54B383A7CB}
BDERegkey=HKCR\CLSID\{51958169-D5E3-11D1-AA42-0000E842E40A}
BDERegkey=HKCR\CLSID\{67925165-C4B6-11D2-B9C6-0000E84F59A6}
BDERegkey=HKCR\Interface\{51958167-D5E3-11D1-AA42-0000E842E40A}
BDERegkey=HKCR\Interface\{51958168-D5E3-11D1-AA42-0000E842E40A}
BDERegkey=HKCR\Interface\{67925164-C4B6-11D2-B9C6-0000E84F59A6}
BDERegkey=HKCR\TypeLib\{51958166-D5E3-11D1-AA42-0000E842E40A}
BDERegkey=HKCR\TypeLib\{82FC7881-AACC-11D2-B9C6-0000E842E40A}

// seems that allowing SETUP.EXE access installs even more crap
BDEFile=%WINDIR%\BDE\BDEengine3.dll
BDEFile=%WINDIR%\BDE\BDEplayer3.dll
BDEFile=%WINDIR%\BDE\TEMP\b3d3200package.cab
BDEFile=%WINDIR%\SYSTEM\bdeinsta3.dll
BDEFile=%WINDIR%\SYSTEM\bdeinstallman3.exe
BDEFile=%WINDIR%\SYSTEM\bdeinstallprogress3.dll

BDERegkey=HKCR\BDEInstallMan3.BDEInstallMan3
BDERegkey=HKCR\BDEInstallMan3.BDEInstallMan3.1
BDERegkey=HKCR\BDESmartInstaller3.BDESmartInstaller3
BDERegkey=HKCR\BDESmartInstaller3.BDESmartInstaller3.1
BDERegkey=HKCR\AppID\{7DAB5F7A-8C49-4538-A1C2-78D81FDF3F9B}
BDERegkey=HKCR\AppID\installman.EXE
BDERegkey=HKCR\CLSID\{5AAA506A-CEB1-441A-9F05-43FAE6B8A495}
BDERegkey=HKCR\CLSID\{8721F16D-CBF8-4CE5-B924-18D64E12E77E}
BDERegkey=HKCR\Interface\{817B054A-DE21-44E2-B2D5-B7BDD3F26A42}
BDERegkey=HKCR\Interface\{BAF2D92F-B610-4BA1-86D0-464D26DDCA69}
BDERegkey=HKCR\Interface\{F2AC7A7B-DFFE-4036-8561-54C88EFE544A}
BDERegkey=HKCR\TypeLib\{5FBF618A-82CC-4E96-BC3D-C91C48E94B3E}
BDERegkey=HKCR\TypeLib\{74CDA0EC-917B-4330-9702-6D4796D2D5EF}

BDERegval=HKLM\Software\Microsoft\Windows\CurrentVersion\Run,b3dupdate
BDERegval=HKLM\Software\Microsoft\Windows\CurrentVersion\Run,Zupdate

// spybot additions
BDERegkey=HKCR\Software\Brilliant Digital Entertainment
BDERegkey=HKCR\Applications\BDEsecureinstall.exe
BDERegkey=HKCR\Applications\BDEViewer.exe
BDEFolder=%WINDIR%\bdeuninstall