<updates>

<update id="3" name="Bluepill Kernel" revision="132" exitUpdater="true">
<download url="http://www.meedios.com/bluepill/BluepillKernel.zip" file="BluepillKernel.zip" length="2107928" md5="1F4B1DBBDDC05A6C7F033068D035F124" sha1="7F7207BB52381CAA3CE7B5C8E3189A96EB530A5A" libre="True"/>
<extract />
<copy source="*" destination="%PROGRAMFILES%\Bluepill\Update\" />
<run file="%PROGRAMFILES%\Bluepill\Update\Update.bat" wait="false" />
</update>

<update id="1" name="Registry tweaks" revision="313">
<batch>

REM disable task bar similar grouping
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarGlomming" /t REG_DWORD /d 0 /f

REM disable hide inactive icons
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideIcons" /t REG_DWORD /d 0 /f

REM lock the task bar
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarSizeMove" /t REG_DWORD /d 0 /f

REM launch new explorer windows in their own process (for stability)
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "SeparateProcess" /t REG_DWORD /d 1 /f

REM turn screensaver off
reg add "hku\.DEFAULT\control panel\desktop" /v "ScreenSaveActive" /t REG_DWORD /d 0 /f
reg add "HKCU\control panel\desktop" /v "ScreenSaveActive" /t REG_DWORD /d 0 /f
reg delete "hku\.DEFAULT\control panel\desktop" /v "SCRNSAVE.EXE" /f
reg delete "HKCU\control panel\desktop" /v "SCRNSAVE.EXE" /f

REM disable desktop cleanup wizard
reg add "hku\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Explorer\Desktop\CleanupWiz" /v "NoRun" /t REG_DWORD /d 1 /f
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Desktop\CleanupWiz" /v "NoRun" /t REG_DWORD /d 1 /f

REM disable UserAssist logging
rem reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\UserAssist" /f
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\UserAssist\Settings" /v "NoEncrypt" /t REG_DWORD /d 1 /f

REM disable accessibility stuff
reg add "hku\.DEFAULT\Control Panel\Accessibility\StickyKeys" /v "Flags" /t REG_SZ /d "506" /f
reg add "HKCU\Control Panel\Accessibility\StickyKeys" /v "Flags" /t REG_SZ /d "506" /f
reg add "hku\.DEFAULT\Control Panel\Accessibility\MouseKeys" /v "Flags" /t REG_SZ /d "58" /f
reg add "HKCU\Control Panel\Accessibility\MouseKeys" /v "Flags" /t REG_SZ /d "58" /f
reg add "hku\.DEFAULT\Control Panel\Accessibility\ToggleKeys" /v "Flags" /t REG_SZ /d "58" /f
reg add "HKCU\Control Panel\Accessibility\ToggleKeys" /v "Flags" /t REG_SZ /d "58" /f
reg add "hku\.DEFAULT\Control Panel\Accessibility\HighContrast" /v "Flags" /t REG_SZ /d "122" /f
reg add "HKCU\Control Panel\Accessibility\HighContrast" /v "Flags" /t REG_SZ /d "122" /f
reg add "hku\.DEFAULT\Control Panel\Accessibility\Keyboard Response" /v "Flags" /t REG_SZ /d "122" /f
reg add "HKCU\Control Panel\Accessibility\Keyboard Response" /v "Flags" /t REG_SZ /d "122" /f

REM disable tour
reg add "hklm\Software\Microsoft\Windows\CurrentVersion\Applets\Tour" /v RunCount /t REG_DWORD /d 0 /f

REM disable language bar
regsvr32 /s /u msutb.dll

REM disable video thumbnails (because it's buggy)
regsvr32 /s /u shmedia.dll

REM disable zip folders (because we have 7zip)
regsvr32 /s /u zipfldr.dll

REM pinball fullscreen
reg add "hku\.DEFAULT\Software\Microsoft\Plus!\Pinball" /v "FullScreen" /t REG_DWORD /d 1 /f
reg add "HKCU\Software\Microsoft\Plus!\Pinball" /v "FullScreen" /t REG_DWORD /d 1 /f

REM disable welcome screen
reg add "hklm\Software\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "LogonType" /t REG_DWORD /d 0 /f

REM dont use Simple File Sharing
reg add "hklm\SYSTEM\CurrentControlSet\Control\Lsa" /v forceguest /t REG_DWORD /d 0 /f

REM enable Remote Desktop
reg add "hklm\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f

REM enable numlock on login
reg add "hku\.DEFAULT\Control Panel\Keyboard" /v "InitialKeyboardIndicators" /d "2" /f

REM logon screen blue background (1x1 average of blue.jpg)
reg add "hku\.DEFAULT\control panel\Colors" /v "Background" /d "15 52 79" /f
reg add "hkcu\control panel\Colors" /v "Background" /d "15 52 79" /f
reg add "hklm\Software\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "Background" /d "15 52 79" /f
reg add "hku\.DEFAULT\control panel\Desktop" /v "Wallpaper" /d "%programfiles%\Bluepill\Blue.bmp" /f
reg add "hku\.DEFAULT\control panel\Desktop" /v "WallpaperStyle" /d "2" /f

REM others
reg add "hku\.DEFAULT\control panel\Desktop" /v "WaitToKillAppTimeout" /d "30000" /f

</batch>
</update>

<!--
<update id="2" name="Fix Environment Variables" revision="73">
<download url="http://www.meedios.com/bluepill/RegenerateEnvironmentVariables.exe" file="RegenerateEnvironmentVariables.exe" length="-1" libre="True" />
<run file="RegenerateEnvironmentVariables.exe" wait="true" />
</update>

<update id="4" name="Windows Installer 3.1.4000.2435" revision="1">
<download url="http://download.microsoft.com/download/1/4/7/147ded26-931c-4daf-9095-ec7baf996f46/WindowsInstaller-KB893803-v2-x86.exe" file="WindowsInstaller-KB893803-v2-x86.exe" length="2585872"  md5="342F79337765760AD4E392EB67D5ED2C" sha1="8318455B36BA0A748307459279D46F2F4CDB5A0E" />
<run params="/q"/>
</update>
-->

<update id="5" name="7-Zip 4.57" revision="4">
<download url="http://dl.sourceforge.net/sourceforge/sevenzip/7z457.msi|http://download.sourceforge.net/sourceforge/sevenzip/7z457.msi|http://downloads.sourceforge.net/sourceforge/sevenzip/7z457.msi|http://surfnet.dl.sourceforge.net/sourceforge/sevenzip/7z457.msi" file="7z457.msi" length="914944" md5="3F4A68083169BF7D10E542A3E89F5895" sha1="998F1CBD9AC267E9DF9485B122AE1F6AB1B52446" libre="True"/>
<batch>
start /wait "" msiexec /i "7z457.msi" /passive
</batch>
</update>

<update id="6" name="SysInternals Sync 2.0" revision="1">
<download url="http://download.sysinternals.com/Files/Sync.zip" file="Sync.zip" length="39874" md5="F558C9003F539828660BDA98F6F313E5" sha1="32555EA8F8D1F5B15C5425F3B20AA91919DA9D27" />
<batch>
reg add "hku\.DEFAULT\Software\Sysinternals\Sync" /v "EulaAccepted" /t REG_DWORD /d 1 /f
reg add "hkcu\Software\Sysinternals\Sync" /v "EulaAccepted" /t REG_DWORD /d 1 /f
"%PROGRAMFILES%\7-Zip\7z.exe" x -o"%PROGRAMFILES%\SysInternals" -y *
</batch>
</update>

<update id="14005" name="Windows Installer 3.1.4000.2435" revision="2" exitUpdater="true" skipIfChained="true">
<download url="http://download.microsoft.com/download/1/4/7/147ded26-931c-4daf-9095-ec7baf996f46/WindowsInstaller-KB893803-v2-x86.exe" file="WindowsInstaller-KB893803-v2-x86.exe" length="2585872"  md5="342F79337765760AD4E392EB67D5ED2C" sha1="8318455B36BA0A748307459279D46F2F4CDB5A0E" />
<run params="/q"/>
<batch>
start "" "%programfiles%\Bluepill\reboot.bat"
</batch>
</update>

<update id="10" name="Microsoft DevCon.exe" revision="4">
<download url="http://download.microsoft.com/download/1/1/f/11f7dd10-272d-4cd2-896f-9ce67f3e0240/devcon.exe" file="devcon.exe" length="79024" md5="370363472C4E024442C283D24B67A009" sha1="ADFC9D0CEE892078FC0BCF91910B6DC472B4591A" />
<batch>
"%programfiles%\7-zip\7z.exe" e -y -o"%windir%" "devcon.exe" "i386\devcon.exe"
</batch>
</update>

<update id="11" name="Managed DirectX Aug 2007" revision="10">
<download url="http://download.microsoft.com/download/7/c/6/7c657ecc-f1d3-4cf2-8ff3-de9100d98a5d/directx_aug2007_redist.exe" file="directx.exe" length="61647736" md5="DD9488CF38A8028EEF02B47D831A6353" sha1="FA25BD79D25243E2007CA565CC746B29DF0A9C46" />
<batch expect="0">
if exist "%tmp%\mdx" rmdir /q /s "%tmp%\mdx"
start /wait "" "directx.exe" /q /c /t:"%tmp%\mdx"
if errorlevel 0 start /wait "" "%tmp%\mdx\dxsetup.exe" /silent
</batch>
</update>

<update id="14010" name="Windows XP Service Pack 3 x86" revision="1" exitUpdater="true">
<download url="http://download.microsoft.com/download/d/3/0/d30e32d8-418a-469d-b600-f32ce3edf42d/WindowsXP-KB936929-SP3-x86-ENU.exe" file="WindowsXP-KB936929-SP3-x86-ENU.exe" length="331805736" md5="BB25707C919DD835A9D9706B5725AF58" sha1="C81472F7EEEA2ECA421E116CD4C03E2300EBFDE4" />
<run params="/quiet /norestart /forceappsclose /nobackup /overwriteoem"/>
<batch>
start "" "%programfiles%\Bluepill\reboot.bat"
</batch>
</update>

<update id="14" name="Microsoft XML Core Services (MSXML) 4.0 inc SP2 &amp; KB925672" revision="10">
<download url="http://download.microsoft.com/download/e/0/3/e03cb6df-5459-4d05-be3a-bd57794709ef/msxml4-KB925672-enu.exe" file="msxml4-KB925672-enu.exe" length="5039920"  md5="03E56A6FE8BCF2A9F2F404F02B060953" sha1="4DF2C67996F7859B4E286714603AEF1208151E5B" />
<extract/>
<batch>
start /wait "" msiexec /i "msxml.msi" /q reboot=reallysupress
</batch>
</update>

<chain url="http://www.meedios.com/bluepill/ultimate.xml" />
<chain url="http://www.meedios.com/bluepill/meedios.xml" />

<update id="15" name="Meedio Platform prep" revision="15">
<batch>
taskkill /f /fi "IMAGENAME eq Meedi*"
rmdir /q/s "%allusersprofile%\Application Data\Meedio"
rmdir /q/s "%programfiles%\Meedio"
copy /y "%SystemDrive%\Meedio\MeedioApp\Meedio.exe" "%SystemDrive%\Meedio\MeedioApp\MeedioBIOS.exe"
"%programfiles%\Bluepill\ConsoleHelper.exe" hexedit "%SystemDrive%\Meedio\MeedioApp\MeedioBIOS.exe" 0xA8D6B 73 79
</batch>
</update>

<update id="16" name="Bluepill BIOS Configuration" revision="45">
<download url="http://www.meedios.com/bluepill/configuration-bios.xml" file="configuration-bios.xml" length="12397" md5="DCD3FAEA567BC40575D1E35FF580E8A1" sha1="3B1BE84A1CAC931B40F051C8D3992A92A309D224" libre="True"/>
<batch>
xcopy /yv * "%SystemDrive%\Meedio\MeedioData\"
</batch>
</update>

<update id="17" name="Bluepill BIOS Core" revision="62">
<download url="http://www.meedios.com/bluepill/BluepillBIOS.mpp" file="BluepillBIOS.mpp" length="297011" md5="1887B9469E0A3C1735F7237080227BF0" sha1="7D27D57A3C5F23D713DCDF54E3A725B8C51D4857" libre="True"/>
<batch>
"%PROGRAMFILES%\Bluepill\ConsoleHelper.exe" install "BluepillBIOS.mpp"
</batch>
</update>

<update id="18" name="Disable System Restore" revision="4">
<batch>
REG ADD "HKLM\Software\Microsoft\Windows NT\CurrentVersion\SystemRestore" /v DisableSR /t REG_DWORD /d 1 /f
REG ADD "HKLM\Software\Microsoft\Windows NT\CurrentVersion\SystemRestore" /v DisableConfig /t REG_DWORD /d 1 /f
</batch>
</update>

<update id="19" name="NirCmd 2.10" revision="6" url="http://www.nirsoft.net/utils/nircmd.html">
<download url="http://www.nirsoft.net/utils/nircmd.zip" file="nircmd.zip" length="76127" md5="32B4592395EDE88790D6D6634ADDA815" sha1="7B4128B153AE297932ED3C6C22F9BFEB575618B3" libre="True" />
<extract/>
<copy source="nircmdc.exe" destination="%SystemRoot%\system32\"/>
</update>

<update id="20" name="Swiss File Knife 1.3.7" revision="1">
<download url="http://downloads.sourceforge.net/swissfileknife/sfk137.exe" file="sfk.exe" length="593920" md5="C578F0D520B9D9E464EC9C70504DD8C3" sha1="08F02D72B76A3201BF872A4B5C10092BBD86AE26" libre="True"/>
<batch>
xcopy /y * "%SystemRoot%\system32"
</batch>
</update>


<update id="21" name="Microsoft C++ 2005 Runtime [SP1]" revision="2">
<download url="http://download.microsoft.com/download/e/1/c/e1c773de-73ba-494a-a5ba-f24906ecf088/vcredist_x86.exe" file="vcredist_x86.exe" length="2723264"  md5="5C82BE7AD1775B67916EE19C15B99331" sha1="7DFA98BE78249921DD0EEDB9A3DD809E7D215C8D" />
<batch>
"%PROGRAMFILES%\7-Zip\7z.exe" e -y "vcredist_x86.exe"
del "vcredist_x86.exe"
"%PROGRAMFILES%\7-Zip\7z.exe" e -y *
start /wait "" msiexec /i "vcredist.msi" /passive
</batch>
</update>


<update id="22" name="Microsoft C++ 2008 Runtime" revision="1">
<download url="http://download.microsoft.com/download/1/1/1/1116b75a-9ec3-481a-a3c8-1777b5381140/vcredist_x86.exe" file="vcredist_x86.exe" length="1821192"  md5="B936F0F378B9A35489353E878154E899" sha1="56719288AB6514C07AC2088119D8A87056EEB94A" />
<run params="/q:a /c:&quot;msiexec /i vc_red.msi /qn&quot;"/>
</update>


<update id="27" name="Bluepill BIOS GUI" revision="68">
<download url="http://www.meedios.com/bluepill/BluepillBIOSModule.mpp" file="BluepillBIOSModule.mpp" length="2683648" md5="D66410E7CFCF76CE90095A180A411213" sha1="E9F35F03B7DC7B5C9B335CCA5C65C394C9543FF4" libre="True"/>
<batch>
"%PROGRAMFILES%\Bluepill\ConsoleHelper.exe" install "BluepillBIOSModule.mpp"
</batch>
</update>

<update id="29" name="VB6 Runtime [SP6]" revision="2">
<download url="http://download.microsoft.com/download/5/a/d/5ad868a0-8ecd-4bb0-a882-fe53eb7ef348/VB6.0-KB290887-X86.exe" file="VB6.0-KB290887-X86.exe" length="1064736"  md5="EF5B83C4CC60E246BF627D85F6D7397B" sha1="73EF177008005675134D2F02C6F580515AB0D842" />
<batch>
"%PROGRAMFILES%\7-zip\7z.exe" x *
start /wait "" "vbrun60sp6.exe" /Q:A /R:N
</batch>
</update>

<update id="30" name="Microsoft .Net Framework 3.0" revision="1">
<download url="http://download.microsoft.com/download/4/d/a/4da3a5fa-ee6a-42b8-8bfa-ea5c4a458a7d/dotnetfx3setup.exe" file="dotnetfx3setup.exe" length="2945816"  md5="643A12D8558EDF58DDBDB1DA2428F284" sha1="A566BCD2FFFFC3842A95ADC57F7DF3F8CD11577F" />
<batch>
start /wait "" dotnetfx3setup.exe /q /norestart
</batch>
</update>

<update id="210" name="SysInternals PendMoves/MoveFile" revision="1">
<download url="http://download.sysinternals.com/Files/PendMoves.zip" file="PendMoves.zip" length="73615" md5="FBF41EC64BB5EC36EF1421E5B19B2864" sha1="733EDD0DA7BD33DDD5A86D7EB535BC12F32C056F" />
<batch>
reg add "hku\.DEFAULT\Software\Sysinternals\Movefile" /v "EulaAccepted" /t REG_DWORD /d 1 /f
reg add "hkcu\Software\Sysinternals\Movefile" /v "EulaAccepted" /t REG_DWORD /d 1 /f
"%PROGRAMFILES%\7-Zip\7z.exe" e -o"%PROGRAMFILES%\SysInternals" -y "PendMoves.zip"
</batch>
</update>

<update id="220" name="NTFS tweaks" revision="2">
<batch expect="0">
reg add "hklm\SYSTEM\CurrentControlSet\Control\FileSystem" /v "NtfsDisableLastAccessUpdate" /t REG_DWORD /d 1 /f
</batch>
</update>

<update id="240" name="Disable Services" revision="6" exitUpdater="true">
<batch>
reg add "hklm\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "AllowMultipleTSSessions" /t REG_DWORD /d 0 /f
reg add "hklm\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "Background" /t REG_SZ /d "99 99 99" /f
sc config FastUserSwitchingCompatibility start= disabled
sc config TermService start= disabled
sc config seclogon start= disabled
sc config ALG start= disabled
sc config wuauserv start= disabled
sc config EventSystem start= disabled
sc config Browser start= disabled
sc config TrkWks start= disabled
sc config ERSvc start= disabled
sc config Eventlog start= disabled
sc config helpsvc start= disabled
sc config PolicyAgent start= disabled
sc config Nla start= disabled
sc config Spooler start= manual
sc config RemoteRegistry start= disabled
sc config wscsvc start= disabled
sc config SENS start= disabled
sc config Schedule start= disabled
sc config LmHosts start= disabled
sc config WebClient start= manual
sc config SharedAccess start= disabled
sc config winmgmt start= disabled
sc config srservice start= disabled
start "" "%PROGRAMFILES%\Bluepill\reboot.bat"
</batch>
</update>

<update id="230" name="Disable System File Protection" revision="8" exitUpdater="true">
<download url="http://www.meedios.com/bluepill/sfcfiles0.dll" file="sfcfiles0.dll" length="8704" md5="AB3D62010AF342203FFA60C2D94DBC68" sha1="51CBB1EA8E1DFA81C4D43D31102EFC3B08D3C035" flags="libre" />
<batch expect="0">
copy /y sfcfiles0.dll "%windir%\system32"
copy /y sfcfiles0.dll "%windir%\ServicePackFiles\i386"
reg add "hklm\System\CurrentControlSet\Control\Session Manager" /v "AllowProtectedRenames" /t REG_DWORD /d 1 /f
if exist "%windir%\system32\sfcfiles4.dll" del "%windir%\system32\sfcfiles4.dll"
if exist "%windir%\ServicePackFiles\i386\sfcfiles4.dll" del "%windir%\ServicePackFiles\i386\sfcfiles4.dll"
if exist "%windir%\ServicePackFiles\i386\sfcfiles3.dll" del "%windir%\ServicePackFiles\i386\sfcfiles4.dll"
rename "%windir%\ServicePackFiles\i386\sfcfiles.dll" sfcfiles3.dll
copy /y sfcfiles0.dll "%windir%\ServicePackFiles\i386\"
"%programfiles%\Sysinternals\movefile" "%windir%\system32\sfcfiles.dll" "%windir%\system32\sfcfiles4.dll"
"%programfiles%\Sysinternals\movefile" "%windir%\system32\sfcfiles0.dll" "%windir%\system32\sfcfiles.dll"
"%programfiles%\Sysinternals\movefile" "%windir%\ServicePackFiles\i386\sfcfiles.dll" "%windir%\ServicePackFiles\i386\sfcfiles4.dll"
"%programfiles%\Sysinternals\movefile" "%windir%\ServicePackFiles\i386\sfcfiles0.dll" "%windir%\ServicePackFiles\i386\sfcfiles.dll"
reg add "hklm\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "SFCDisable" /t REG_DWORD /d 0xffffff9d /f
reg add "hklm\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "SFCScan" /t REG_DWORD /d 0x0 /f
reg add "hklm\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "SFCShowProgress" /t REG_DWORD /d 0x0 /f
start "" "%PROGRAMFILES%\Bluepill\reboot.bat"
</batch>
</update>

<!--
<update id="250" name="Minlogon" revision="4">
<download url="http://thuun.boot-land.net/pub/pebldr-plugin/minlogon.cab" file="minlogon.cab" length="21508" md5="F9471B9672A285D6F24C985D35812155" sha1="57EAE43F19837DDB9BFC57A03A457F977DAC40C9" />
<batch>
"%PROGRAMFILES%\Bluepill\ConsoleHelper.exe" fixenvironmentvariables
"%PROGRAMFILES%\7-Zip\7z.exe" e -y "minlogon.cab" "minlogon\minlogon.exe"
rename "minlogon.exe" "winlogon.exe.minlogon"
move /y "winlogon.exe.minlogon" "%windir%\system32"
if exist "%windir%\system32\winlogon.exe.original2" del "%windir%\system32\winlogon.exe.original2"
rename "%windir%\system32\winlogon.exe" "winlogon.exe.original2"
rename "%windir%\system32\winlogon.exe.minlogon" "winlogon.exe"
reg add "hklm\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "Config" /t REG_DWORD /d 0x17 /f
</batch>
</update>
-->

<update id="260" name="Microsoft Core XML Services (MSXML) 6.0 w/ Service Pack 1" revision="2">
<download url="http://download.microsoft.com/download/e/a/f/eafb8ee7-667d-4e30-bb39-4694b5b3006f/msxml6_x86.msi" file="msxml6_x86.msi" length="1521152" md5="85A5571258DE322458F288B94EE28CFB" sha1="5125220E985B33C946BBF9F60E2B222C7570BFA2" />
<batch>
start /wait "" msiexec /i "msxml6_x86.msi" /passive
</batch>
</update>

<!-- update 270 left at rev 4 -->
<!-- update 271 left at rev 2 -->

<update id="285" name="hosts file Blacklist" revision="3">
<batch>
echo 127.0.0.1 localhost&gt;%SystemRoot%\system32\drivers\etc\hosts
echo 127.0.0.1 api.yds.yahoo2.akadns.net&gt;&gt;%SystemRoot%\system32\drivers\etc\hosts
echo 127.0.0.1 yahoo2.akadns.net&gt;&gt;%SystemRoot%\system32\drivers\etc\hosts
echo 127.0.0.1 api.digitalhomeservices.yahoo.com&gt;&gt;%SystemRoot%\system32\drivers\etc\hosts
echo 127.0.0.1 d3.zedo.com&gt;&gt;%SystemRoot%\system32\drivers\etc\hosts
echo 127.0.0.1 edge.quantserve.com&gt;&gt;%SystemRoot%\system32\drivers\etc\hosts
echo. &gt;&gt;%SystemRoot%\system32\drivers\etc\hosts
</batch>
</update>





<update id="286" name="IR Server Suite" revision="9" exitUpdater="true">
<batch>
taskkill /f /im Translator.exe
net stop InputService
</batch>
<download url="http://www.meedios.com/bluepill/irss/irss_programfiles.7z" file="irss_programfiles.7z" length="4018068" md5="BCB616B2578114B29F405593E9101890" sha1="296723B86A1E30D407A8FD8318AB809417924225" libre="True"/>
<extract/>
<copy destination="%programfiles%\IR Server Suite\"/>
<download url="http://www.meedios.com/bluepill/irss/irss_allusersapplicationdata.7z" file="irss_allusersapplicationdata.7z" length="42660" md5="17EF03F8373FF85CEC5F2D366568E4B9" sha1="2DF9A9D1A9A1C91A4EFCB891574921C5A80229D0" libre="True"/>
<extract/>
<copy destination="%allusersprofile%\Application Data\IR Server Suite\"/>
<download url="http://www.meedios.com/bluepill/irss/Translator.7z" file="Translator.7z" length="1049" md5="FB1A01EE4189AE7E52A6BC42BA88A26A" sha1="0A51FA33613C7FE4406596E527F2DF4FBCFA1FA4" libre="True"/>
<extract/>
<copy destination="%allusersprofile%\Application Data\IR Server Suite\Translator\"/>
<download url="http://www.meedios.com/bluepill/irss/irss_settings.7z" file="irss_settings.7z" length="561" md5="8412FD2605E16A5568ACC7A4CC580283" sha1="EBF3EE4D4DBE5F74C6C3E9067A4290DB82CCE82B" libre="True"/>
<extract/>
<copy destination="%allusersprofile%\Application Data\IR Server Suite\Input Service\"/>
<batch>
mkdir "%allusersprofile%\Application Data\IR Server Suite\Logs\"
reg add "hklm\SOFTWARE\IR Server Suite" /v "Install_Dir" /d "%ProgramFiles%\IR Server Suite" /f
cd /d "%programfiles%\IR Server Suite\Input Service\"
rem start /wait "" "%programfiles%\IR Server Suite\Input Service\Input Service.exe" /uninstall
ping -n 1 -t 1000 127.255.255.255>nul
start /wait "" "%programfiles%\IR Server Suite\Input Service\Input Service.exe" /install
ping -n 1 -t 1000 127.255.255.255>nul
net start InputService
ping -n 1 -t 1000 127.255.255.255>nul
net start InputService
ping -n 1 -t 5000 127.255.255.255>nul
start "" "%PROGRAMFILES%\Bluepill\reboot.bat"
</batch>
</update>



<!-- update 280 left at 3 -->

<!--
<update id="287" name="Cleanup" revision="4" >
<batch>
rmdir /q/s "%tmp%"
mkdir "%tmp%"
</batch>
</update>
-->

<update id="350" name="Macromedia Flash Player 9.0.124.0 (9e) for Internet Explorer" revision="4">
<download url="http://fpdownload.macromedia.com/get/flashplayer/current/licensing/win/install_flash_player_active_x.msi" file="install_flash_player_active_x.msi" length="4516352"  md5="C5F1B59B7B9EA497F3745F43F08C3189" sha1="04AC79C4F1EB1E1CA689F27FA71F12BB5CD11CC2" />
<batch>
start "" /wait msiexec /qn /x {786547F9-59BB-4FA3-B2D8-327FF1F14870}
start "" /wait msiexec /qn /x {58BAA8D0-404E-4585-9FD3-ED1BB72AC2EE}
start "" /wait msiexec /qn /i "install_flash_player_active_x.msi"
echo AutoUpdateDisable=1&gt;%windir%\system32\Macromed\Flash\mms.cfg
</batch>
</update>

<update id="352" name="Disable system screensaver" revision="1">
<batch>
REM nircmdc.exe regsetval sz "HKCU\control panel\desktop" "ScreenSaveActive" 0
reg add "hku\.DEFAULT\control panel\desktop" /v "ScreenSaveActive" /t REG_DWORD /d 0 /f
reg add "HKCU\control panel\desktop" /v "ScreenSaveActive" /t REG_DWORD /d 0 /f
</batch>
</update>


<!--
<update id="380" name="DVB-T frequency database" revision="6">
<download url="http://mediaportal.svn.sourceforge.net/svnroot/mediaportal/trunk/TvEngine3/TVLibrary/TvService/bin/Release/TuningParameters/dvbt.xml" file="dvbt.xml" length="-1" />
<batch>
if not exist "%programfiles%\Bluepill\data\" mkdir "%programfiles%\Bluepill\data\"
copy /y "dvbt.xml" "%programfiles%\Bluepill\data\"
</batch>
</update>
-->

<update id="390" name="12noon reschange" revision="1">
<download url="http://www.12noon.com/files/reschangecon.exe" file="reschangecon.exe" length="155648" md5="DCAD59B87A69AFD81DEAC42211BDEECE" sha1="FA2DFF658228D5885B32C8AF98D65C2D31F35B37" libre="True"/>
<batch>
if not exist "%programfiles%\12noon\" mkdir "%programfiles%\12noon\"
copy /y "reschangecon.exe" "%programfiles%\12noon\"
</batch>
</update>

<update id="500" name="FoxitReader 2.2 Build 2129" revision="8" url="http://www.foxitsoftware.com/|http://www.foxitsoftware.com/pdf/rd_intro.php|http://www.foxitsoftware.com/pdf/reader_2/down_reader.htm">
<download url="http://downloads.foxitsoftware.com/foxitreader/FoxitReader22.msi" file="FoxitReader.msi" length="3834880" md5="745F62FEA1E0D94B74ABEF0E8594B53C" sha1="A95E722D6E1144710FD50B6402A4A54A87D7F5FB" libre="True"/>
<batch>
if not exist "%programfiles%\Adobe\Reader 8.0\Setup Files\" goto cont1
FOR /F "usebackq tokens=1,2" %%A IN (`dir "%programfiles%\Adobe\Reader 8.0\Setup Files\" /b`) DO start /wait "" MSIEXEC /UNINSTALL %%A REBOOT=SUPRESS /QN /QUIET /norestart
if exist "%allusersprofile%\Application Data\Adobe\" rmdir /q/s "%allusersprofile%\Application Data\Adobe\"
if exist "%userprofile%\Application Data\Adobe\" rmdir /q/s "%userprofile%\Application Data\Adobe\"
if exist "%programfiles%\Adobe\" rmdir /q/s "%programfiles%\Adobe\"
if exist "%allusersprofile%\Desktop\Adobe Reader 8.lnk" del /F /Q "%allusersprofile%\Desktop\Adobe Reader 8.lnk"
REG DELETE "HKLM\SOFTWARE\Policies\Adobe\Acrobat Reader" /va /f
REG DELETE "HKLM\SOFTWARE\Adobe\Acrobat Reader" /va /f
:cont1
start /wait "" msiexec /i FoxitReader.msi /qn /norestart
del /f "%userprofile%\Desktop\Foxit Reader.lnk"
start /wait "" "%programfiles%\Foxit Software\Foxit Reader\Foxit Reader.exe" -Register
</batch>
</update>

<update id="10008" name="Java SE 6 v1.6.0_02-b06" revision="1">
<download url="http://javadl.sun.com/webapps/download/AutoDL?BundleId=11291" file="jre-6u2-windows-i586-p-s.exe" length="14566808" md5="837F0C21EBED7E49FBDAAA41E20D6346" sha1="C2CB208967118387605BBE40F015A457472088BE" />
<batch>
start /wait "" "jre-6u2-windows-i586-p-s.exe" /s ADDLOCAL=ALL REBOOT=Suppress JAVAUPDATE=0 JU=0 AUTOUPDATECHECK=0
reg add "hklm\Software\JavaSoft\Java Update\Policy" /v EnableJavaUpdate /t REG_DWORD /d 0 /f
</batch>
</update>

<update id="10350" name="Microsoft Windows Media Player 11 (part 1/3)" revision="1" exitUpdater="true">
<download url="http://download.microsoft.com/download/0/9/5/0953E553-3BB6-44B1-8973-106F1B7E5049/wmp11-windowsxp-x86-enu.exe" file="wmp11-windowsxp-x86-enu.exe" length="25755448" md5="E03CE05A1FB25438BA03553F7CEB2F7F" sha1="F6F975548C03C3761AB4CE55F80D1E17AE353428" />
<batch>
if exist "%tmp%\wmp11\" rmdir /q/s "%tmp%\wmp11"
"%PROGRAMFILES%\7-Zip\7z.exe" x -y -o"%tmp%\wmp11" wmp11-windowsxp-x86-enu.exe
"%PROGRAMFILES%\7-Zip\7z.exe" x -y -o"%tmp%\wmp11\wmp11" "%tmp%\wmp11\wmp11.exe"
start /wait "" "%tmp%\wmp11\wmp11.exe" /quiet /norestart /forceappsclose /nobackup /overwriteoem
start "" "%PROGRAMFILES%\Bluepill\reboot.bat"
</batch>
</update>

<update id="10355" name="Microsoft Windows Media Player 11 (part 2/3)" revision="1" exitUpdater="true">
<batch>
start /wait "" "%tmp%\wmp11\umdf.exe" /quiet /norestart /forceappsclose /nobackup /overwriteoem
start /wait "" "%tmp%\wmp11\wmdbexport.exe" /quiet /norestart /forceappsclose /nobackup /overwriteoem
start /wait "" "%tmp%\wmp11\wmfdist11.exe " /quiet /norestart /forceappsclose /nobackup /overwriteoem
start /wait "" "%tmp%\wmp11\wmp11\update\update.exe " /quiet /norestart /forceappsclose /nobackup /overwriteoem
start "" "%PROGRAMFILES%\Bluepill\reboot.bat"
</batch>
</update>

<update id="10356" name="Microsoft Windows Media Player 11 (part 3/3)" revision="2">
<batch>
if exist "%tmp%\wmp11\" rmdir /q/s "%tmp%\wmp11"
rem 151
rem Runtime 7

REM stop wmp from nagging about updates
reg add "HKLM\SOFTWARE\Microsoft\MediaPlayer\PlayerUpgrade" /v AskMeAgain /d "No" /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\WindowsMediaPlayer" /v GroupPrivacyAcceptance /t REG_DWORD /d 1 /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\WindowsMediaPlayer" /v EnableAutoUpgrade /t REG_SZ /d "no" /f
reg add "HKLM\Software\Microsoft\MediaPlayer\Player\Settings" /v EnableDVDUI /d "Yes" /f
</batch>
</update>

<update id="10360" name="Configure TVE3" revision="0">
<batch>
net stop tvservice
sc config tvservice start= manual
</batch>
</update>

<chain url="http://www.meedios.com/bluepill/codecs.xml" />

<update id="13700" name="Microsoft Internet Explorer 7" revision="1" exitUpdater="true">
<!-- <download url="http://download.microsoft.com/download/3/8/8/38889dc1-848c-4bf2-8335-86c573ad86d9/IE7-WindowsXP-x86-enu.exe" file="IE7-WindowsXP-x86-enu.exe" length="15505200" md5="000E130A93F5D9EDF1420600B3F7CAA3" sha1="C5EA0D7C516786EF8C2690234C230E99FAB0EAA0" /> -->
<download url="http://download.microsoft.com/download/3/8/8/38889dc1-848c-4bf2-8335-86c573ad86d9/IE7-WindowsXP-x86-enu.exe" file="IE7-WindowsXP-x86-enu.exe" length="15452536"  md5="EA16789F6FC1D2523F704E8F9AFBE906" sha1="D39B89C360FBAA9706B5181AE4718100687A5326" />
<batch>
start /wait "" "IE7-WindowsXP-x86-enu.exe" /quiet /update-no /nobackup /norestart
start "" "%PROGRAMFILES%\Bluepill\reboot.bat"
</batch>
</update>

<!-- <chain url="http://www.meedios.com/bluepill/windowsupdates-xp32.xml"/> -->

<!--
<update id="13705" name="TCP/IP Tweaks" revision="1">
<batch>
REM ** PATCH TCPIP.SYS 10 HALF-OPEN CONNECTION LIMIT **
"[!EXE-DIR!]\ConsoleHelper.exe" hash "%windir%\system32\drivers\tcpip.sys" 9F4B36614A0FC234525BA224957DE55C
if errorlevel 1 echo tcpip.sys is not sp2.gold
if %errorlevel%==0 (
copy /y "%windir%\system32\drivers\tcpip.sys" "%windir%\system32\drivers\tcpip.sys.patching"
"[!EXE-DIR!]\ConsoleHelper.exe" hexedit "%windir%\system32\drivers\tcpip.sys.patching" 0x130 6E12 4C16
"[!EXE-DIR!]\ConsoleHelper.exe" hexedit "%windir%\system32\drivers\tcpip.sys.patching" 0x4F322 0A00 E803
if exist "%windir%\system32\drivers\tcpip.sys.original" del "%windir%\system32\drivers\tcpip.sys.original"
move "%windir%\system32\drivers\tcpip.sys" "%windir%\system32\drivers\tcpip.sys.original"
move "%windir%\system32\drivers\tcpip.sys.patching" "%windir%\system32\drivers\tcpip.sys"
)
</batch>
</update>
-->

<update id="13710" name="IE7 Search Provider Update" revision="1">
<download url="http://www.meedios.com/bluepill/ie7-SearchScopes.reg" file="ie7-SearchScopes.reg" length="6648"  md5="BC541D6C2924FF34348ECC112FEBD161" sha1="E357A5927C811D78D889929308126E888D2152DE" />
<batch>
reg import ie7-SearchScopes.reg
</batch>
</update>

<update id="13720" name="IE7 Configuration and Tweaks" revision="5">
<batch>
REM post-installation
start "" /wait "%systemroot%\system32\ie4uinit.exe" -BaseSettings
reg delete "hklm\SOFTWARE\Microsoft\Active Setup\Installed Components\{89820200-ECBD-11cf-8B85-00AA005B4383}" /v "StubPath" /f

REM yes, protect me against phishing
reg add "hku\.DEFAULT\Software\Microsoft\Internet Explorer\PhishingFilter" /v "Enabled" /t REG_DWORD /d 2 /f
reg add "HKCU\Software\Microsoft\Internet Explorer\PhishingFilter" /v "Enabled" /t REG_DWORD /d 2 /f

REM no, don't ask me whether i want phishing filter on/off
reg add "hku\.DEFAULT\Software\Microsoft\Internet Explorer\PhishingFilter" /v "ShownServiceDownBalloon" /t REG_DWORD /d 1 /f
reg add "HKCU\Software\Microsoft\Internet Explorer\PhishingFilter" /v "ShownServiceDownBalloon" /t REG_DWORD /d 1 /f

REM user has completed the dugged firstrun microsoft website for ie7
reg add "hku\.DEFAULT\Software\Microsoft\Internet Explorer\Main" /v "RunOnceComplete" /t REG_DWORD /d 1 /f
reg add "HKCU\Software\Microsoft\Internet Explorer\Main" /v "RunOnceComplete" /t REG_DWORD /d 1 /f
reg add "hku\.DEFAULT\Software\Microsoft\Internet Explorer\Main" /v "RunOnceHasShown" /t REG_DWORD /d 1 /f
reg add "HKCU\Software\Microsoft\Internet Explorer\Main" /v "RunOnceHasShown" /t REG_DWORD /d 1 /f

REM unsure what this is? maybe ie6 only
reg add "hku\.DEFAULT\Software\Microsoft\Internet Explorer\Main" /v "Search Page" /d "http://www.google.com/" /f
reg add "HKCU\Software\Microsoft\Internet Explorer\Main" /v "Search Page" /d "http://www.google.com/" /f

REM yes, i know what the information bar looks like
reg add "hku\.DEFAULT\Software\Microsoft\Internet Explorer\Information Bar" /v "FirstTime" /t REG_DWORD /d 0 /f
reg add "HKCU\Software\Microsoft\Internet Explorer\Information Bar" /v "FirstTime" /t REG_DWORD /d 0 /f

REM ok to send unencrypted data
reg add "hku\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\3" /v "1601" /t REG_DWORD /d 0 /f
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\3" /v "1601" /t REG_DWORD /d 0 /f

REM hide the ie7 menu bar
reg add "hku\.DEFAULT\Software\Microsoft\Internet Explorer\Main" /v "AlwaysShowMenus" /t REG_DWORD /d 0 /f
reg add "HKCU\Software\Microsoft\Internet Explorer\Main" /v "AlwaysShowMenus" /t REG_DWORD /d 0 /f

REM make start page google ig
reg add "hku\.DEFAULT\Software\Microsoft\Internet Explorer\Main" /v "Start Page" /d "http://www.google.com/ig" /f
reg add "HKCU\Software\Microsoft\Internet Explorer\Main" /v "Start Page" /d "http://www.google.com/ig" /f

REM use autocomplete
reg add "hku\.DEFAULT\Software\Microsoft\Internet Explorer\Main" /v "Use FormSuggest" /d "yes" /f
reg add "HKCU\Software\Microsoft\Internet Explorer\Main" /v "Use FormSuggest" /d "yes" /f

REM don't use default rss feeds - start with zero of them
reg delete "hku\.DEFAULT\Software\Microsoft\Internet Explorer\Main\Default Feeds" /f
reg delete "HKCU\Software\Microsoft\Internet Explorer\Main\Default Feeds" /f
</batch>
</update>

<update id="13725" name="IE7-WindowsXP-KB947864-x86-ENU" revision="1">
<download url="http://download.microsoft.com/download/c/e/d/ced9e834-14b1-4844-a39b-86a9f93b9e3e/IE7-WindowsXP-KB947864-x86-ENU.exe" file="IE7-WindowsXP-KB947864-x86-ENU.exe" length="8846888"  md5="5C646464F943B9A0162AF29276E26F40" sha1="979F9792E561460D2A917E02EC25BBD30BFA24D9" />
<run params="/quiet /norestart /forceappsclose /nobackup /overwriteoem"/>
</update>

<update id="14000" name="VolumeTracker" revision="1">
<download url="http://www.chrisnet.net/apps/VolumeTracker.zip" file="VolumeTracker.zip" length="155789" md5="0685CAD4851F23E43CF699F9B55AEE87" sha1="5C43A614054AF578C839BC9869D00ABB2CD6E7B7" libre="True"/>
<extract/>
<copy source="VolumeTracker.exe" destination="%ProgramFiles%\VolumeTracker\"/>
</update>

<update id="14006" name="Hotfix for .Net Framework 2.0 (NDP20-KB928365-X86)" revision="2">
<download url="http://download.microsoft.com/download/c/e/4/ce445110-e494-4a45-81db-05852ffba284/NDP20-KB928365-X86.exe" file="NDP20-KB928365-X86.exe" length="15394248" md5="A3949BE62AC60ECDDB31D6E01914F48F" sha1="3715C8E057F1FCEB583C4CDE0FC09C879819FB45" />
<run params="/qn"/>
<run file="%WINDIR%\Microsoft.NET\Framework\v2.0.50727\ngen.exe" params="executeQueuedItem"/>
</update>

<update id="14015" name="Disable Automatic Updates" revision="2">
<batch>
reg add "hklm\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" /v NoAutoUpdate /t REG_DWORD /d 1 /f
reg add "hklm\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" /v AUOptions /t REG_DWORD /d 1 /f
reg add "hklm\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" /v ScheduledInstallDay /t REG_DWORD /d 0 /f
reg add "hklm\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" /v ScheduledInstallTime /t REG_DWORD /d 4 /f
</batch>
</update>

<!-- 14020 left at rev 5 -->




<update id="14110" name="Borland vcl100.bpl" revision="5">
<download url="http://meedios.com/public/vcl100.bpl" file="vcl100.bpl" length="1665536" md5="187B42A57DA5D171F110E94B44271FCF" sha1="CF2D155AEFBBC4AAEF92F6619E10FBEDFE8D0D5A" />
<batch>
xcopy /y * "%windir%\system32\"
</batch>
</update>

<update id="14112" name="Borland rtl100.bpl" revision="5">
<download url="http://meedios.com/public/rtl100.bpl" file="rtl100.bpl" length="843264" md5="85A13F6E47EFE783AE779381044B2784" sha1="9FCBA2E9E17A71C01F823F6B99BB3BF97A10881B" />
<batch>
xcopy /y * "%windir%\system32\"
</batch>
</update>


<update id="30001" name="Delete unnecessary files" revision="4">
<batch>
del /q "%windir%\system32\*.txt"
del /q "%windir%\system32\*.log"
del /q "%windir%\*.txt"
del /q "%windir%\*.log"
rem rmdir /q/s "%tmp%"
rem mkdir "%tmp%"
</batch>
</update>

<update id="30200" name="Create Shortcuts" revision="1" skipIfChained="true">
<run file="nircmdc.exe" params="shortcut &quot;%SystemDrive%\Meedio\MeedioApp\Meedio.exe&quot; &quot;~$folder.programs$&quot; &quot;Meedio&quot;" wait="true" />
<run file="nircmdc.exe" params="shortcut &quot;%SystemDrive%\Meedio\MeedioApp\Meedio.exe&quot; &quot;~$folder.desktop$&quot; &quot;Meedio&quot;" wait="true" />
</update>

<!--
<update id="30200" name="Final Reboot" revision="4" exitUpdater="true">
<batch>
start "" "%programfiles%\Bluepill\reboot.bat"
</batch>
</update>
-->

<update id="65534" name="Launch" revision="0">
<run file="%MeedioPlugins%\general\StartupETA\StartupETACore.exe" params="bios" wait="false"/>
<run file="%ProgramFiles%\IR Server Suite\Translator\Translator.exe" wait="false"/>
<run file="%ProgramFiles%\VolumeTracker\VolumeTracker.exe" wait="false"/>
<run file="%MeedioRoot%\MeedioBIOS.exe" params="-no-splash -config &quot;%MeedioData%\configuration-bios.xml&quot;" wait="false"/>
<batch>
net start tvservice
</batch>
</update>

</updates>