[Main]
Title=Removable Devices Combo
Description=Peripheral Devices; USB Mass Storage, USB Keyboard / Mouse Hotplug, IEEE 1394 Support are added by this script.
Selected=True
Level=5
Author=fxscrpt
Version=18
Date=03.01.2017
Translation_DE=MaineCoon

[Interface]
pCheckBox1=True,USB Mass Storage,0,3,20,70,150,18
pCheckBox2=True,USB Keyboard and Mouse,0,3,20,100,150,18
pCheckBox3=True,IEEE1394 support,0,3,20,130,150,18
pCheckBox4=True,Show icon #$qSafely remove devices#$q in System Tray,0,3,20,160,290,18
//
tEcho_1=Copying files [USB Core support] ...
tEcho_2=Writing values [USB / txtsetup.sif] ...
tEcho_3=Writing USB values in Registry hive [ControlSet001\Services] ...
tEcho_4=Copying files [USB Mass Storage Devices support] ...
tEcho_5=Copying files [USB Keyboard and Mouse support] ...
tEcho_6=Copying files [IEEE 1394 support] ...
tEcho_7=Writing values [txtsetup.sif] ...
tEcho_8=Adding icon to Systray [Safely remove device] ...

[Interface.07]
Description=Peripherie-Geräte; USB-Massenspeicher, USB-Tastatur / Maus (Hot-Plug), IEEE 1394-Unterstützung.
pCheckBox1=True,USB-Massenspeicher,0,3,20,70,150,18
pCheckBox2=True,USB Tastatur und Maus,0,3,20,100,150,18
pCheckBox3=True,IEEE 1394-Unterstützung,0,3,20,130,150,18
pcheckbox4=True,Icon #$qHardware sicher entfernen#$q im Infobereich anzeigen,0,3,20,160,290,18
//
tEcho_1=Dateien werden kopiert [USB-Unterstützung] ...
tEcho_2=Werte werden geschrieben [USB / txtsetup.sif] ...
tEcho_3=Registry wird aktualisiert [ControlSet001\Services] ...
tEcho_4=Dateien werden kopiert [USB-Massenspeicher] ...
tEcho_5=Dateien werden kopiert [USB-Tastatur und USB-Maus]
tEcho_6=Dateien werden kopiert [IEEE 1394-Unterstützung]
tEcho_7=Werte werden geschrieben [txtsetup.sif] ...
tEcho_8=Icon wird in den Infobereich eingefügt [Hardware sicher entfernen]


[process]

Require_file,reg.exe
Require_file,WS2_32.dll
Require_file,WS2HELP.dll
CopyOrExpand,%source_win%\certclas.inf,%target_win%\inf


// usb core
Echo,%tEcho_1%
CopyOrExpand,%source_win%\usb.inf,%target_win%\inf
CopyOrExpand,%source_win%\usbport.inf,%target_win%\inf
Expand,%source_sys%\%spCabFile%,%target_sys%\Drivers,usbhub.sys:usbccgp.sys:usbehci.sys:usbohci.sys:usbuhci.sys:usbport.sys
CopyOrExpand,"%source_sys%\usbd.sys","%target_sys%\Drivers"

Echo,%tEcho_2%
If,not,ExistSection,"%target_win%\TXTSETUP.SIF","SourceDisksFiles",then,TXTAddLine,"%target_win%\TXTSETUP.SIF",[HwIdsDatabase],Bottom

IniWrite,%target_win%\TXTSETUP.SIF,HardwareIdsDatabase,PCI\CC_0C0320,#$qusbehci#$q
IniWrite,%target_win%\TXTSETUP.SIF,HardwareIdsDatabase,PCI\CC_0C0310,#$qusbohci#$q
IniWrite,%target_win%\TXTSETUP.SIF,HardwareIdsDatabase,PCI\CC_0C0300,#$qusbuhci#$q
IniWrite,%target_win%\TXTSETUP.SIF,HardwareIdsDatabase,USB\ROOT_HUB,#$qusbhub#$q
IniWrite,%target_win%\TXTSETUP.SIF,HardwareIdsDatabase,USB\ROOT_HUB20,#$qusbhub#$q
IniWrite,%target_win%\TXTSETUP.SIF,HardwareIdsDatabase,USB\CLASS_09&SUBCLASS_01,#$qusbhub#$q
IniWrite,%target_win%\TXTSETUP.SIF,HardwareIdsDatabase,USB\CLASS_09,#$qusbhub#$q
IniWrite,%target_win%\TXTSETUP.SIF,HardwareIdsDatabase,USB\COMPOSITE,#$qusbccgp#$q
IniWrite,%target_win%\TXTSETUP.SIF,HwIdsDatabase,PCI\CC_0C0320,#$qusbehci#$q
IniWrite,%target_win%\TXTSETUP.SIF,HwIdsDatabase,PCI\CC_0C0310,#$qusbohci#$q
IniWrite,%target_win%\TXTSETUP.SIF,HwIdsDatabase,PCI\CC_0C0300,#$qusbuhci#$q
IniWrite,%target_win%\TXTSETUP.SIF,HwIdsDatabase,USB\ROOT_HUB,#$qusbhub#$q
IniWrite,%target_win%\TXTSETUP.SIF,HwIdsDatabase,USB\ROOT_HUB20,#$qusbhub#$q
IniWrite,%target_win%\TXTSETUP.SIF,HwIdsDatabase,USB\CLASS_09&SUBCLASS_01,#$qusbhub#$q
IniWrite,%target_win%\TXTSETUP.SIF,HwIdsDatabase,USB\CLASS_09,#$qusbhub#$q
IniWrite,%target_win%\TXTSETUP.SIF,HwIdsDatabase,USB\COMPOSITE,#$qusbccgp#$q

IniWrite,%target_win%\TXTSETUP.SIF,InputDevicesSupport,usbccgp,#$qUSB Generic Parent Driver#$q,files.usbccgp,usbccgp
IniWrite,%target_win%\TXTSETUP.SIF,InputDevicesSupport,usbhub,#$qGeneric USB Hub Driver#$q,files.usbhub,usbhub
IniWrite,%target_win%\TXTSETUP.SIF,InputDevicesSupport,usbuhci,#$qUniversal Host Controller#$q,files.usbuhci,usbuhci
IniWrite,%target_win%\TXTSETUP.SIF,InputDevicesSupport,usbohci,#$qOpen Host Controller#$q,files.usbohci,usbohci
IniWrite,%target_win%\TXTSETUP.SIF,InputDevicesSupport,usbehci,#$qEnhanced Host Controller#$q,files.usbehci,usbehci
IniWrite,%target_win%\TXTSETUP.SIF,InputDevicesSupport.Load,usbccgp,usbccgp.sys
IniWrite,%target_win%\TXTSETUP.SIF,InputDevicesSupport.Load,usbhub,usbhub.sys
IniWrite,%target_win%\TXTSETUP.SIF,InputDevicesSupport.Load,usbuhci,usbuhci.sys
IniWrite,%target_win%\TXTSETUP.SIF,InputDevicesSupport.Load,usbohci,usbohci.sys
IniWrite,%target_win%\TXTSETUP.SIF,InputDevicesSupport.Load,usbehci,usbehci.sys

If,ExistSection,%target_win%\TXTSETUP.SIF,files.usbohci,then,IniDeleteSection,%target_win%\TXTSETUP.SIF,files.usbohci
If,ExistSection,%target_win%\TXTSETUP.SIF,files.usbehci,then,IniDeleteSection,%target_win%\TXTSETUP.SIF,files.usbehci
If,ExistSection,%target_win%\TXTSETUP.SIF,files.usbuhci,then,IniDeleteSection,%target_win%\TXTSETUP.SIF,files.usbuhci
If,ExistSection,%target_win%\TXTSETUP.SIF,files.usbhub,then,IniDeleteSection,%target_win%\TXTSETUP.SIF,files.usbhub

TXTAddLine,"%target_win%\TXTSETUP.SIF",[files.usbohci],Bottom
IniWriteSection,%target_win%\TXTSETUP.SIF,files.usbohci,usbohci.sys,4
IniWriteSection,%target_win%\TXTSETUP.SIF,files.usbohci,usbport.sys,4
IniWriteSection,%target_win%\TXTSETUP.SIF,files.usbohci,usbd.sys,4
IniWriteSection,%target_win%\TXTSETUP.SIF,files.usbohci,hidparse.sys,4
IniWriteSection,%target_win%\TXTSETUP.SIF,files.usbohci,hidclass.sys,4
IniWriteSection,%target_win%\TXTSETUP.SIF,files.usbohci,hid.dll,2

TXTAddLine,"%target_win%\TXTSETUP.SIF",[files.usbehci],Bottom
IniWriteSection,%target_win%\TXTSETUP.SIF,files.usbehci,usbehci.sys,4
IniWriteSection,%target_win%\TXTSETUP.SIF,files.usbehci,usbport.sys,4
IniWriteSection,%target_win%\TXTSETUP.SIF,files.usbehci,usbd.sys,4
IniWriteSection,%target_win%\TXTSETUP.SIF,files.usbehci,hidparse.sys,4
IniWriteSection,%target_win%\TXTSETUP.SIF,files.usbehci,hidclass.sys,4
IniWriteSection,%target_win%\TXTSETUP.SIF,files.usbehci,hccoin.dll,2
IniWriteSection,%target_win%\TXTSETUP.SIF,files.usbehci,hid.dll,2

TXTAddLine,"%target_win%\TXTSETUP.SIF",[files.usbuhci],Bottom
IniWriteSection,%target_win%\TXTSETUP.SIF,files.usbuhci,usbuhci.sys,4
IniWriteSection,%target_win%\TXTSETUP.SIF,files.usbuhci,usbport.sys,4
IniWriteSection,%target_win%\TXTSETUP.SIF,files.usbuhci,usbd.sys,4
IniWriteSection,%target_win%\TXTSETUP.SIF,files.usbuhci,hidparse.sys,4
IniWriteSection,%target_win%\TXTSETUP.SIF,files.usbuhci,hidclass.sys,4
IniWriteSection,%target_win%\TXTSETUP.SIF,files.usbuhci,hid.dll,2

TXTAddLine,"%target_win%\TXTSETUP.SIF",[files.usbhub],Bottom
IniWriteSection,%target_win%\TXTSETUP.SIF,files.usbhub,usbhub.sys,4

If,%OS%%Arch%,=,Win2003x86,then,copyorexpand,%source_win%\STORPORT.SYS,%target_sys%\DRIVERS
If,%Arch%,=,x64,then,copyorexpand,%source_win%\STORPORT.SYs,%target_sys%\DRIVERS

System,SetPEInit,A,Init,RegWrite|HKLM|0x2|SYSTEM\CurrentControlSet\Services\usbhub|ImagePath|system32\DRIVERS\usbhub.sys 
System,SetPEInit,B,Init,RegWrite|HKLM|0x2|SYSTEM\CurrentControlSet\Services\usbccgp|ImagePath|system32\DRIVERS\usbccgp.sys


RegLoad,%RegSystem%,PE-SYSTEM
RegLoad,%RegSoftware%,PE-SOFTWARE

RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\pci#cc_0c0300,ClassGUID,{36FC9E60-C465-11CF-8056-444553540000}
RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\pci#cc_0c0300,Service,usbuhci
RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\pci#cc_0c0310,ClassGUID,{36FC9E60-C465-11CF-8056-444553540000}
RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\pci#cc_0c0310,Service,usbohci
RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\pci#cc_0c0320,ClassGUID,{36FC9E60-C465-11CF-8056-444553540000}
RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\pci#cc_0c0320,Service,usbehci
RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\USB#root_hub,Service,usbhub
RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\USB#root_hub,ClassGUID,{36FC9E60-C465-11CF-8056-444553540000}
RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\USB#root_hub20,ClassGUID,{36FC9E60-C465-11CF-8056-444553540000}
RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\USB#root_hub20,Service,usbhub
RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\USB#Class_09,ClassGUID,{36FC9E60-C465-11CF-8056-444553540000}
RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\USB#Class_09,Service,usbhub
RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\USB#COMPOSITE,Service,usbccgp
RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\USB#COMPOSITE,ClassGUID,{36FC9E60-C465-11CF-8056-444553540000}

Echo,%tEcho_3%
//
RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\usbehci,Type,1
RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\usbehci,Start,0
RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\usbehci,ErrorControl,1
RegWrite,HKLM,0x1,PE-System\ControlSet001\Services\usbehci,DisplayName,"Microsoft USB 2.0 Enhanced Host Controller Miniport Driver"
RegWrite,HKLM,0x2,PE-System\ControlSet001\Services\usbehci,ImagePath,system32\DRIVERS\usbehci.sys
RegWrite,HKLM,0x1,PE-System\ControlSet001\Services\usbehci,Group,"Input Device Support"
RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\usbehci,Tag,15
//
RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\usbohci,Type,1
RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\usbohci,Start,0
RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\usbohci,ErrorControl,1
RegWrite,HKLM,0x1,PE-System\ControlSet001\Services\usbohci,DisplayName,"Microsoft USB Open Host Controller Miniport Driver"
RegWrite,HKLM,0x2,PE-System\ControlSet001\Services\usbohci,ImagePath,system32\DRIVERS\usbohci.sys
RegWrite,HKLM,0x1,PE-System\ControlSet001\Services\usbohci,Group,"Input Device Support"
RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\usbohci,Tag,16
//
RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\usbuhci,Type,1
RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\usbuhci,Start,0
RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\usbuhci,ErrorControl,1
RegWrite,HKLM,0x1,PE-System\ControlSet001\Services\usbuhci,DisplayName,"Microsoft USB Universal Host Controller Miniport Driver"
RegWrite,HKLM,0x2,PE-System\ControlSet001\Services\usbuhci,ImagePath,system32\DRIVERS\usbuhci.sys
RegWrite,HKLM,0x1,PE-System\ControlSet001\Services\usbuhci,Group,"Input Device Support"
RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\usbuhci,Tag,17
//
RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\usbhub,Type,1
RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\usbhub,Start,0
RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\usbhub,ErrorControl,1
RegWrite,HKLM,0x1,PE-System\ControlSet001\Services\usbhub,DisplayName,"USB2 Enabled Hub"
RegWrite,HKLM,0x2,PE-System\ControlSet001\Services\usbhub,ImagePath,system32\DRIVERS\usbhub.sys
RegWrite,HKLM,0x1,PE-System\ControlSet001\Services\usbhub,Group,"Input Device Support"
RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\usbhub,Tag,18
//
RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\usbccgp,Type,1
RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\usbccgp,Start,0
RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\usbccgp,ErrorControl,1
RegWrite,HKLM,0x1,PE-System\ControlSet001\Services\usbccgp,DisplayName,"USB Composite Device"
RegWrite,HKLM,0x2,PE-System\ControlSet001\Services\usbccgp,ImagePath,system32\DRIVERS\usbccgp.sys
RegWrite,HKLM,0x1,PE-System\ControlSet001\Services\usbccgp,Group,"Input Device Support"
RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\usbccgp,Tag,19

RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{36FC9E60-C465-11CF-8056-444553540000},,"Universal Serial Bus Controllers"
RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{36FC9E60-C465-11CF-8056-444553540000},Class,USB
RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{36FC9E60-C465-11CF-8056-444553540000},Icon,-20
RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{36FC9E60-C465-11CF-8056-444553540000},NoInstallClass,1
// Currently no Dot4 support
//RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{48721B56-6795-11D2-B1A8-0080C72E74A2},,"IEEE 1284.4 devices"
//RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{48721B56-6795-11D2-B1A8-0080C72E74A2},Class,Dot4
//RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{48721B56-6795-11D2-B1A8-0080C72E74A2},Icon,-4
//RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{48721B56-6795-11D2-B1A8-0080C72E74A2},NoInstallClass,1
//RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{49CE6AC8-6F86-11D2-B1E5-0080C72E74A2},,"IEEE 1284.4 compatible printers"
//RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{49CE6AC8-6F86-11D2-B1E5-0080C72E74A2},Class,Dot4Print
//RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{49CE6AC8-6F86-11D2-B1E5-0080C72E74A2},Icon,-4
//RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{49CE6AC8-6F86-11D2-B1E5-0080C72E74A2},NoInstallClass,1
//
RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\usb,EnIdleEndPointSupportEx,1
RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\usb,EnableIdleTimer,1
RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\usb,EnSoftRetry,1
RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\usb,DisableSelectiveSuspend,1
Set,%runstorageshared%,False


// usb storage
If,%pCheckBox1%,=,True,then
	Echo,%tEcho_4%
	Expand,%source_sys%\%spCabFile%,%target_sys%\Drivers,disk.sys:usbstor.sys
	CopyOrExpand,"%source_sys%\partmgr.sys","%target_sys%\Drivers"
	CopyOrExpand,"%source_sys%\volsnap.sys","%target_sys%\Drivers"


	//note: crcdisk.sys is always in driver cabs with x64 sources
	If,%OS%%Arch%,=,Win2003x86,then,Expand,%source_sys%\%spCabFile%,%target_sys%\Drivers,crcdisk.sys

	CopyOrExpand,"%source_sys%\usbstor.sys","%target_sys%\Drivers"
	Require_file,shsvcs.dll
	if,%os%,=,Winxp,then
		Expand,%source_sys%\%spCabFile%,%target_sys%,storprop.dll:hccoin.dll
		if,not,%sp%,=,sp1,then,Expand,%source_sys%\%spCabFile%,%target_sys%,usbui.dll
	end
	CopyOrExpand,%source_win%\disk.inf,%target_win%\inf
	CopyOrExpand,%source_win%\cdrom.inf,%target_win%\inf
	CopyOrExpand,%source_win%\volume.inf,%target_win%\inf
	CopyOrExpand,%source_win%\usbstor.inf,%target_win%\inf

	IniWrite,%target_win%\TXTSETUP.SIF,HardwareIdsDatabase,USB\VID_03EE&PID_0000,#$qusbstor#$q
	IniWrite,%target_win%\TXTSETUP.SIF,HardwareIdsDatabase,USB\VID_03EE&PID_6901,#$qusbstor#$q
	IniWrite,%target_win%\TXTSETUP.SIF,HardwareIdsDatabase,USB\VID_03F0&PID_0107,#$qusbstor#$q
	IniWrite,%target_win%\TXTSETUP.SIF,HardwareIdsDatabase,USB\VID_04B3&PID_4427,#$qusbstor#$q
	IniWrite,%target_win%\TXTSETUP.SIF,HardwareIdsDatabase,USB\VID_04DA&PID_0B01,#$qusbstor#$q
	IniWrite,%target_win%\TXTSETUP.SIF,HardwareIdsDatabase,USB\VID_04E6&PID_0001,#$qusbstor#$q
	IniWrite,%target_win%\TXTSETUP.SIF,HardwareIdsDatabase,USB\VID_054C&PID_0023,#$qusbstor#$q
	IniWrite,%target_win%\TXTSETUP.SIF,HardwareIdsDatabase,USB\VID_057B&PID_0000,#$qusbstor#$q
	IniWrite,%target_win%\TXTSETUP.SIF,HardwareIdsDatabase,USB\VID_059F&PID_A601,#$qusbstor#$q
	IniWrite,%target_win%\TXTSETUP.SIF,HardwareIdsDatabase,USB\VID_059F&PID_A602,#$qusbstor#$q
	IniWrite,%target_win%\TXTSETUP.SIF,HardwareIdsDatabase,USB\VID_0644&PID_0000,#$qusbstor#$q
	IniWrite,%target_win%\TXTSETUP.SIF,HardwareIdsDatabase,USB\VID_0644&PID_1000,#$qusbstor#$q
	IniWrite,%target_win%\TXTSETUP.SIF,HardwareIdsDatabase,USB\VID_55AA&PID_1234,#$qusbstor#$q
	IniWrite,%target_win%\TXTSETUP.SIF,HardwareIdsDatabase,USB\Class_08&SubClass_02&Prot_50,#$qusbstor#$q
	IniWrite,%target_win%\TXTSETUP.SIF,HardwareIdsDatabase,USB\Class_08&SubClass_05&Prot_50,#$qusbstor#$q
	IniWrite,%target_win%\TXTSETUP.SIF,HardwareIdsDatabase,USB\Class_08&SubClass_06&Prot_50,#$qusbstor#$q
	IniWrite,%target_win%\TXTSETUP.SIF,HwIdsDatabase,USB\VID_03EE&PID_0000,#$qusbstor#$q
	IniWrite,%target_win%\TXTSETUP.SIF,HwIdsDatabase,USB\VID_03EE&PID_6901,#$qusbstor#$q
	IniWrite,%target_win%\TXTSETUP.SIF,HwIdsDatabase,USB\VID_03F0&PID_0107,#$qusbstor#$q
	IniWrite,%target_win%\TXTSETUP.SIF,HwIdsDatabase,USB\VID_04B3&PID_4427,#$qusbstor#$q
	IniWrite,%target_win%\TXTSETUP.SIF,HwIdsDatabase,USB\VID_04DA&PID_0B01,#$qusbstor#$q
	IniWrite,%target_win%\TXTSETUP.SIF,HwIdsDatabase,USB\VID_04E6&PID_0001,#$qusbstor#$q
	IniWrite,%target_win%\TXTSETUP.SIF,HwIdsDatabase,USB\VID_054C&PID_0023,#$qusbstor#$q
	IniWrite,%target_win%\TXTSETUP.SIF,HwIdsDatabase,USB\VID_057B&PID_0000,#$qusbstor#$q
	IniWrite,%target_win%\TXTSETUP.SIF,HwIdsDatabase,USB\VID_059F&PID_A601,#$qusbstor#$q
	IniWrite,%target_win%\TXTSETUP.SIF,HwIdsDatabase,USB\VID_059F&PID_A602,#$qusbstor#$q
	IniWrite,%target_win%\TXTSETUP.SIF,HwIdsDatabase,USB\VID_0644&PID_0000,#$qusbstor#$q
	IniWrite,%target_win%\TXTSETUP.SIF,HwIdsDatabase,USB\VID_0644&PID_1000,#$qusbstor#$q
	IniWrite,%target_win%\TXTSETUP.SIF,HwIdsDatabase,USB\VID_55AA&PID_1234,#$qusbstor#$q
	IniWrite,%target_win%\TXTSETUP.SIF,HwIdsDatabase,USB\Class_08&SubClass_02&Prot_50,#$qusbstor#$q
	IniWrite,%target_win%\TXTSETUP.SIF,HwIdsDatabase,USB\Class_08&SubClass_05&Prot_50,#$qusbstor#$q
	IniWrite,%target_win%\TXTSETUP.SIF,HwIdsDatabase,USB\Class_08&SubClass_06&Prot_50,#$qusbstor#$q

	If,not,ExistSection,"%target_win%\TXTSETUP.SIF",SCSI,then,TXTAddLine,"%target_win%\TXTSETUP.SIF",[SCSI],Bottom
	IniWrite,%target_win%\TXTSETUP.SIF,SCSI,usbstor,#$qUSB Storage Class Driver#$q
	IniWrite,%target_win%\TXTSETUP.SIF,SCSI.Load,usbstor,USBSTOR.SYS,4
	IniWrite,%target_win%\TXTSETUP.SIF,SourceDisksFiles,USBSTOR.SYS,1#$c#$c#$c#$c#$c#$c4_#$c4#$c1#$c3#$c#$c1#$c4

	If,ExistSection,%target_win%\TXTSETUP.SIF,files.usbstor,then,IniDeleteSection,%target_win%\TXTSETUP.SIF,files.usbstor
	IniDeletesection,%target_win%\TXTSETUP.SIF,InputDevicesSupport
	IniDeleteSection,%target_win%\TXTSETUP.SIF,usbstor

	System,SetPEInit,C,Init,RegWrite|HKLM|0x2|SYSTEM\CurrentControlSet\Services\Disk|ImagePath|system32\DRIVERS\disk.sys
	System,SetPEInit,D,Init,RegWrite|HKLM|0x2|SYSTEM\CurrentControlSet\Services\PartMgr|ImagePath|system32\DRIVERS\partmgr.sys
	System,SetPEInit,E,Init,RegWrite|HKLM|0x2|SYSTEM\CurrentControlSet\Services\usbstor|ImagePath|system32\DRIVERS\usbstor.sys

	If,%Arch%,=,x86,then,RegWrite,HKLM,0x7,PE-Software\Microsoft\Windows\CurrentVersion\Setup,"Installation#$sSources",X:\I386\SYSTEM32\DRIVERS,X:\I386\SYSTEM32,X:\I386\INF
	If,%Arch%,=,x64,then,RegWrite,HKLM,0x7,PE-Software\Microsoft\Windows\CurrentVersion\Setup,"Installation#$sSources",X:\AMD64\SYSTEM32\DRIVERS,X:\AMD64\SYSTEM32,X:\AMD64\INF

	RegWrite,HKLM,0x4,PE-Software\Microsoft\Windows\CurrentVersion\Setup,MinimizeFootprint,1
	RegWrite,HKLM,0x4,PE-Software\Microsoft\Windows\CurrentVersion\Usb,ErrorCheckingEnabled,0
	RegWrite,HKLM,0x1,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_0409&PID_002C",DeviceGroup,PortableAudioPlayer
	RegWrite,HKLM,0x1,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_0409&PID_002C",Label,"Iomega HipZip"
	RegWrite,HKLM,0x1,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_040A&PID_0100",DeviceGroup,Camera
	RegWrite,HKLM,0x1,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_040A&PID_0110",DeviceGroup,Camera
	RegWrite,HKLM,0x1,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_040A&PID_0111",DeviceGroup,Camera
	RegWrite,HKLM,0x1,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_040A&PID_0112",DeviceGroup,Camera
	RegWrite,HKLM,0x1,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_040A&PID_0120",DeviceGroup,Camera
	RegWrite,HKLM,0x1,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_040A&PID_0121",DeviceGroup,Camera
	RegWrite,HKLM,0x1,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_040A&PID_0130",DeviceGroup,Camera
	RegWrite,HKLM,0x1,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_040A&PID_0140",DeviceGroup,Camera
	RegWrite,HKLM,0x1,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_040A&PID_0200",DeviceGroup,Camera
	RegWrite,HKLM,0x1,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_0471&PID_0302&MI_00",DeviceGroup,Camera
	RegWrite,HKLM,0x1,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_0471&PID_0303&MI_00",DeviceGroup,Camera
	RegWrite,HKLM,0x1,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_0471&PID_0307&MI_00",DeviceGroup,Camera
	RegWrite,HKLM,0x1,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_0471&PID_0308&MI_00",DeviceGroup,Camera
	RegWrite,HKLM,0x1,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_054C&PID_0010",DeviceGroup,MemoryStick
	RegWrite,HKLM,0x1,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_054C&PID_0010",Label,"Sony MemoryStick"
	RegWrite,HKLM,0x1,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_054C&PID_0025",DeviceGroup,MemoryStick
	RegWrite,HKLM,0x1,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_054C&PID_0025",Label,"Sony MemoryStick"
	RegWrite,HKLM,0x1,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_054C&PID_002d",DeviceGroup,MemoryStick
	RegWrite,HKLM,0x1,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_054C&PID_002d",Label,"Sony MemoryStick"
	RegWrite,HKLM,0x1,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_054C&PID_002E",DeviceGroup,MemoryStick
	RegWrite,HKLM,0x1,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_054C&PID_002E",Label,"Sony MemoryStick"
	RegWrite,HKLM,0x1,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_054C&PID_0032",DeviceGroup,"MemoryStick-MG"
	RegWrite,HKLM,0x1,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_054C&PID_0032",Label,"Sony MemoryStick - MG"
	RegWrite,HKLM,0x1,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_054C&PID_0037",DeviceGroup,"MemoryStick-MG"
	RegWrite,HKLM,0x1,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_054C&PID_0037",Label,"Sony MemoryStick - MG"
	RegWrite,HKLM,0x1,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_054C&PID_0046",DeviceGroup,"MemoryStick-MG"
	RegWrite,HKLM,0x1,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_054C&PID_0046",Label,"Sony MemoryStick - MG"
	RegWrite,HKLM,0x1,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_054C&PID_004a",DeviceGroup,"MemoryStick-MG"
	RegWrite,HKLM,0x1,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_054C&PID_004a",Label,"Sony MemoryStick - MG"
	RegWrite,HKLM,0x1,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_054C&PID_0056",DeviceGroup,"MemoryStick-MG"
	RegWrite,HKLM,0x1,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_054C&PID_0056",Label,"Sony MemoryStick - MG"
	RegWrite,HKLM,0x1,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_054C&PID_0058",DeviceGroup,"MemoryStick-MG"
	RegWrite,HKLM,0x1,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_054C&PID_0058",Label,"Sony MemoryStick - MG"
	RegWrite,HKLM,0x1,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_054C&PID_0069",DeviceGroup,"MemoryStick-MG"
	RegWrite,HKLM,0x1,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_054C&PID_0069",Label,"Sony MemoryStick - MG"
	RegWrite,HKLM,0x1,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_054C&PID_006d",DeviceGroup,MemoryStick
	RegWrite,HKLM,0x1,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_054C&PID_006d",Label,"Sony MemoryStick - MG"
	RegWrite,HKLM,0x1,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_0585&PID_0001",DeviceGroup,Camera
	RegWrite,HKLM,0x1,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_0585&PID_0002",DeviceGroup,Camera
	RegWrite,HKLM,0x1,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_0585&PID_0003",DeviceGroup,Camera
	RegWrite,HKLM,0x1,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_0585&PID_0004",DeviceGroup,Camera
	RegWrite,HKLM,0x1,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_0585&PID_0005",DeviceGroup,Camera
	RegWrite,HKLM,0x1,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_0585&PID_0006",DeviceGroup,Camera
	RegWrite,HKLM,0x1,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_0585&PID_0007",DeviceGroup,Camera
	RegWrite,HKLM,0x1,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_0585&PID_0008",DeviceGroup,Camera
	RegWrite,HKLM,0x1,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_0585&PID_0009",DeviceGroup,Camera
	RegWrite,HKLM,0x1,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_0585&PID_000a",DeviceGroup,Camera
	RegWrite,HKLM,0x1,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_0585&PID_000b",DeviceGroup,Camera
	RegWrite,HKLM,0x1,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_0585&PID_000c",DeviceGroup,Camera
	RegWrite,HKLM,0x1,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_0585&PID_000d",DeviceGroup,Camera
	RegWrite,HKLM,0x1,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_0585&PID_000e",DeviceGroup,Camera
	RegWrite,HKLM,0x1,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_0585&PID_000f",DeviceGroup,Camera
	RegWrite,HKLM,0x1,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_059B&PID_0001",DeviceGroup,ZipDrive100
	RegWrite,HKLM,0x1,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_059B&PID_0001",Label,"Iomega Zip 100"
	RegWrite,HKLM,0x1,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_059B&PID_0030",DeviceGroup,ZipDrive250
	RegWrite,HKLM,0x1,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_059B&PID_0030",Label,"Iomega Zip 250"
	RegWrite,HKLM,0x1,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_059b&PID_0031",DeviceGroup,ZipDrive100
	RegWrite,HKLM,0x1,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_059b&PID_0031",Label,"Iomega Zip 100"
	RegWrite,HKLM,0x1,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_059B&PID_006D",DeviceGroup,PortableAudioPlayer
	RegWrite,HKLM,0x1,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_059B&PID_006D",Label,"Iomega HipZip Player"
	RegWrite,HKLM,0x1,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_059B&PID_006D",DeviceHandlers,IomegaHipZipHandler
	RegWrite,HKLM,0x1,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_0693&PID_0002",DeviceGroup,SMStorage
	RegWrite,HKLM,0x1,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_0693&PID_0003",DeviceGroup,CFStorage
	RegWrite,HKLM,0x1,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_0693&PID_0005",DeviceGroup,CFStorage
	RegWrite,HKLM,0x1,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_0693&PID_0005",Label,"Dual Slot Reader/Writer"
	RegWrite,HKLM,0x1,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_0693&PID_0005",DeviceGroup,CFStorage
	RegWrite,HKLM,0x1,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_0693&PID_0005",Label,"Dual Slot Reader/Writer"
	RegWrite,HKLM,0x1,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_0781&PID_0001",DeviceGroup,ImageMate
	RegWrite,HKLM,0x1,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_0781&PID_0001",Label,"SanDisk ImageMate"

	RegWrite,HKLM,0x7,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_0781&PID_0001",Icons,"#$pSystemRoot#$p\system32\shell32.dll,-303"
	RegWrite,HKLM,0x1,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_0781&PID_0002",DeviceGroup,ImageMate
	RegWrite,HKLM,0x1,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_0781&PID_0002",Label,"SanDisk ImageMate"
	RegWrite,HKLM,0x7,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_0781&PID_0002",Icons,"#$pSystemRoot#$p\system32\shell32.dll,-308"
	RegWrite,HKLM,0x1,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_0781&PID_0002&MI_00",DeviceGroup,ImageMate
	RegWrite,HKLM,0x1,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_0781&PID_0002&MI_00",Label,"SanDisk ImageMate"
	RegWrite,HKLM,0x7,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_0781&PID_0002&MI_00",Icons,"#$pSystemRoot#$p\system32\shell32.dll,-303"
	RegWrite,HKLM,0x1,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_0781&PID_0005",DeviceGroup,ImageMate
	RegWrite,HKLM,0x1,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_0781&PID_0005",Label,"SanDisk ImageMate"
	RegWrite,HKLM,0x1,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_0781&PID_0200",DeviceGroup,ImageMate
	RegWrite,HKLM,0x1,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_0781&PID_0200",Label,"SanDisk ImageMate"
	RegWrite,HKLM,0x1,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_08BB&PID_2702&MI_00",DeviceGroup,MemoryStick-MG
	RegWrite,HKLM,0x1,"PE-Software\Microsoft\Windows NT\CurrentVersion\PerHwIdStorage\USB#VID_08BB&PID_2702&MI_00",Label,"Sony MemoryStick - MG"
	//
	RegWrite,HKLM,0x3,PE-System\ControlSet001\Control\UsbFlags,GlobalDisableSerNumGen,00
	RegWrite,HKLM,0x3,PE-System\ControlSet001\Control\UsbFlags,IgnoreHWSerNum04710302,01
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\UsbFlags,GenericUSBDeviceString,"USB Device"
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\UsbFlags,GenericCompositeUSBDeviceString,"Composite USB Device"

	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\gendisk,ClassGUID,{4D36E967-E325-11CE-BFC1-08002BE10318}
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\gendisk,Service,disk
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\USBSTOR#Disk,ClassGUID,{4D36E967-E325-11CE-BFC1-08002BE10318}
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\USBSTOR#Disk,Service,disk
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\USB#Class_08,ClassGUID,{36FC9E60-C465-11CF-8056-444553540000}
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\USB#Class_08,Service,usbstor
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\USB#Class_08&subclass_02&prot_50,ClassGUID,{36FC9E60-C465-11CF-8056-444553540000}
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\USB#Class_08&subclass_02&prot_50,Service,usbstor
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\USB#Class_08&subclass_05&prot_50,ClassGUID,{36FC9E60-C465-11CF-8056-444553540000}
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\USB#Class_08&subclass_05&prot_50,Service,usbstor
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\USB#Class_08&subclass_06&prot_50,ClassGUID,{36FC9E60-C465-11CF-8056-444553540000}
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\USB#Class_08&subclass_06&prot_50,Service,usbstor
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\USB#VID_03EE&PID_0000,ClassGUID,{36FC9E60-C465-11CF-8056-444553540000}
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\USB#VID_03EE&PID_0000,Service,usbstor
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\USB#VID_03EE&PID_6901,ClassGUID,{36FC9E60-C465-11CF-8056-444553540000}
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\USB#VID_03EE&PID_6901,Service,usbstor
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\USB#VID_03F0&PID_0107,ClassGUID,{36FC9E60-C465-11CF-8056-444553540000}
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\USB#VID_03F0&PID_0107,Service,usbstor
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\USB#VID_04B3&PID_4427,ClassGUID,{36FC9E60-C465-11CF-8056-444553540000}
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\USB#VID_04B3&PID_4427,Service,usbstor
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\USB#VID_04DA&PID_0B01,ClassGUID,{36FC9E60-C465-11CF-8056-444553540000}
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\USB#VID_04DA&PID_0B01,Service,usbstor
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\USB#VID_04E6&PID_0001,ClassGUID,{36FC9E60-C465-11CF-8056-444553540000}
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\USB#VID_04E6&PID_0001,Service,usbstor
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\USB#VID_054C&PID_0023,ClassGUID,{36FC9E60-C465-11CF-8056-444553540000}
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\USB#VID_054C&PID_0023,Service,usbstor
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\USB#VID_057B&PID_0000,ClassGUID,{36FC9E60-C465-11CF-8056-444553540000}
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\USB#VID_057B&PID_0000,Service,usbstor
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\USB#VID_059F&PID_A601,ClassGUID,{36FC9E60-C465-11CF-8056-444553540000}
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\USB#VID_059F&PID_A601,Service,usbstor
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\USB#VID_059F&PID_A602,ClassGUID,{36FC9E60-C465-11CF-8056-444553540000}
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\USB#VID_059F&PID_A602,Service,usbstor
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\USB#VID_0644&PID_0000,ClassGUID,{36FC9E60-C465-11CF-8056-444553540000}
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\USB#VID_0644&PID_0000,Service,usbstor
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\USB#VID_0644&PID_1000,ClassGUID,{36FC9E60-C465-11CF-8056-444553540000}
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\USB#VID_0644&PID_1000,Service,usbstor
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\USB#VID_55AA&PID_1234,ClassGUID,{36FC9E60-C465-11CF-8056-444553540000}
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\USB#VID_55AA&PID_1234,Service,usbstor

	RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\USBSTOR,Type,1
	RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\USBSTOR,Start,0
	RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\USBSTOR,ErrorControl,1
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Services\USBSTOR,DisplayName,"USB Mass Storage Driver"
	RegWrite,HKLM,0x2,PE-System\ControlSet001\Services\USBSTOR,ImagePath,system32\DRIVERS\USBSTOR.SYS
	//RegWrite,HKLM,0x1,PE-System\ControlSet001\Services\USBSTOR,Group,"Input Device Support"
	//RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\USBSTOR,Tag,25
	//RegWrite,HKLM,0x1,PE-System\ControlSet001\Services\USBSTOR,Group,"SCSI miniport"
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Services\USBSTOR,Group,""
	RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\USBSTOR,Tag,99
	Set,%runstorageshared%,True
end

// usb HID
If,%pCheckBox2%,=,True,then
	Echo,%tEcho_5%

	if,%os%,=,Winxp,then
		if,%sp%,=,sp3,then
			Expand,%source_sys%\%spCabFile%,%target_sys%\drivers,hidusb.sys
		else
			CopyOrExpand,"%source_sys%\hidusb.sys","%target_sys%\Drivers"
		end
		if,%sp%,=,sp1,then
			Expand,%source_sys%\%drCabFile%,%target_sys%\drivers,hidparse.sys
			Expand,%source_sys%\%drCabFile%,%target_sys%,hid.dll
		else
			Expand,%source_sys%\%spCabFile%,%target_sys%\drivers,hidparse.sys
			Expand,%source_sys%\%spCabFile%,%target_sys%,hid.dll
		end

	end
	if,%os%,=,Win2003,then
		Expand,%source_sys%\%drCabFile%,%target_sys%\drivers,hidusb.sys
		Expand,%source_sys%\%spCabFile%,%target_sys%\drivers,hidparse.sys
	end
	Expand,%source_sys%\%drCabFile%,%target_sys%\drivers,mouhid.sys
	Expand,%source_sys%\%spCabFile%,%target_sys%\drivers,mouclass.sys:kbdhid.sys:kbdclass.sys:hidclass.sys
	
	Expand,%source_sys%\%spCabFile%,%target_sys%,hidserv.dll
	CopyOrExpand,%source_sys%\input.inf,%target_win%\inf
	CopyOrExpand,%source_sys%\hidserv.inf,%target_win%\inf
	CopyOrExpand,%source_sys%\msmouse.inf,%target_win%\inf
	CopyOrExpand,%source_sys%\keyboard.inf,%target_win%\inf

	IniWrite,%target_win%\TXTSETUP.SIF,HardwareIdsDatabase,HID_DEVICE_SYSTEM_MOUSE,#$qmouhid#$q,{4D36E96F-E325-11CE-BFC1-08002BE10318}
	IniWrite,%target_win%\TXTSETUP.SIF,HardwareIdsDatabase,HID_DEVICE_SYSTEM_KEYBOARD,#$qkbdhid#$q,{4D36E96B-E325-11CE-BFC1-08002BE10318}
	IniWrite,%target_win%\TXTSETUP.SIF,HardwareIdsDatabase,USB\Class_03&SubClass_01&Prot_02,#$qhidusb#$q
	IniWrite,%target_win%\TXTSETUP.SIF,HardwareIdsDatabase,USB\Class_03&SubClass_01,#$qhidusb#$q
	IniWrite,%target_win%\TXTSETUP.SIF,HardwareIdsDatabase,USB\Class_03,#$qhidusb#$q
	IniWrite,%target_win%\TXTSETUP.SIF,HwIdsDatabase,HID_DEVICE_SYSTEM_MOUSE,#$qmouhid#$q,{4D36E96F-E325-11CE-BFC1-08002BE10318}
	IniWrite,%target_win%\TXTSETUP.SIF,HwIdsDatabase,HID_DEVICE_SYSTEM_KEYBOARD,#$qkbdhid#$q,{4D36E96B-E325-11CE-BFC1-08002BE10318}
	IniWrite,%target_win%\TXTSETUP.SIF,HwIdsDatabase,USB\Class_03&SubClass_01&Prot_02,#$qhidusb#$q
	IniWrite,%target_win%\TXTSETUP.SIF,HwIdsDatabase,USB\Class_03&SubClass_01,#$qhidusb#$q
	IniWrite,%target_win%\TXTSETUP.SIF,HwIdsDatabase,USB\Class_03,#$qhidusb#$q

	IniWrite,%target_win%\TXTSETUP.SIF,InputDevicesSupport,hidusb,#$qHuman Interface Parser#$q,files.hidusb,hidusb
	IniWrite,%target_win%\TXTSETUP.SIF,InputDevicesSupport.Load,hidusb,hidusb.sys

	If,not,ExistSection,"%target_win%\TXTSETUP.SIF",MouseDrivers,then,TXTAddLine,"%target_win%\TXTSETUP.SIF",[MouseDrivers],Bottom
	IniWrite,%target_win%\TXTSETUP.SIF,Keyboard,kbdhid,#$qUSB Keyboard#$q,files.kbdhid,kbdhid
	IniWrite,%target_win%\TXTSETUP.SIF,Keyboard,USB,#$qUSB Keyboard#$q,files.kbdhid,kbdhid
	IniWrite,%target_win%\TXTSETUP.SIF,Keyboard.Load,kbdhid,kbdhid.sys
	IniWrite,%target_win%\TXTSETUP.SIF,Mouse,mouhid,#$qUSB Mouse#$q,files.mouhid,mouhid
	IniWrite,%target_win%\TXTSETUP.SIF,Mouse,USB,#$qUSB Mouse#$q,files.mouhid,mouhid
	IniWrite,%target_win%\TXTSETUP.SIF,MouseDrivers,mouclass,#$qMouse Class Driver#$q
	IniWrite,%target_win%\TXTSETUP.SIF,MouseDrivers,mouhid,#$qHID Mouse Filter Driver#$q
	IniWrite,%target_win%\TXTSETUP.SIF,MouseDrivers.Load,mouclass,mouclass.sys
	IniWrite,%target_win%\TXTSETUP.SIF,MouseDrivers.Load,mouhid,mouhid.sys

	If,ExistSection,%target_win%\TXTSETUP.SIF,files.hidusb,then,IniDeleteSection,%target_win%\TXTSETUP.SIF,files.hidusb
	If,ExistSection,%target_win%\TXTSETUP.SIF,files.kbdhid,then,IniDeleteSection,%target_win%\TXTSETUP.SIF,files.kbdhid
	If,ExistSection,%target_win%\TXTSETUP.SIF,files.mouhid,then,IniDeleteSection,%target_win%\TXTSETUP.SIF,files.mouhid

	IniWriteSection,%target_win%\TXTSETUP.SIF,files.hidusb,"hidusb.sys,4"
	IniWriteSection,%target_win%\TXTSETUP.SIF,files.kbdhid,"kbdhid.sys,4"
	IniWriteSection,%target_win%\TXTSETUP.SIF,files.mouhid,"mouhid.sys,4"

	System,SetPEInit,F,Init,RegWrite|HKLM|0x2|SYSTEM\CurrentControlSet\Services\hidusb|ImagePath|system32\DRIVERS\hidusb.sys
	System,SetPEInit,G,Init,RegWrite|HKLM|0x2|SYSTEM\CurrentControlSet\Services\mouhid|ImagePath|system32\DRIVERS\mouhid.sys
	System,SetPEInit,H,Init,RegWrite|HKLM|0x2|SYSTEM\CurrentControlSet\Services\kbdhid|ImagePath|system32\DRIVERS\kbdhid.sys

	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\USB#Class_03&SubClass_01&Prot_02,ClassGUID,{745A17A0-74D3-11D0-B6FE-00A0C90F57DA}
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\USB#Class_03&SubClass_01&Prot_02,Service,hidusb
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\USB#Class_03&SubClass_01,ClassGUID,{745A17A0-74D3-11D0-B6FE-00A0C90F57DA}
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\USB#Class_03&SubClass_01,Service,hidusb
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\USB#Class_03,ClassGUID,{745A17A0-74D3-11D0-B6FE-00A0C90F57DA}
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\USB#Class_03,Service,hidusb
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\GENERIC_HID_DEVICE,ClassGUID,{745A17A0-74D3-11D0-B6FE-00A0C90F57DA}
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\GENERIC_HID_DEVICE,Service,hidusb
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\hid_device_system_keyboard,Service,kbdhid
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\hid_device_system_keyboard,ClassGUID,{4D36E96B-E325-11CE-BFC1-08002BE10318}
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\hid_device_system_mouse,Service,mouhid
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\hid_device_system_mouse,ClassGUID,{4D36E96F-E325-11CE-BFC1-08002BE10318}

	RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\hidusb,Type,1
	RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\hidusb,Start,0
	RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\hidusb,ErrorControl,1
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Services\hidusb,DisplayName,"Microsoft HID Class Driver"
	RegWrite,HKLM,0x2,PE-System\ControlSet001\Services\hidusb,ImagePath,system32\DRIVERS\hidusb.sys
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Services\hidusb,Group,"Input Device Support"
	RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\hidusb,Tag,20
	//
	RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\kbdhid,Type,1
	RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\kbdhid,Start,3
	RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\kbdhid,ErrorControl,1
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Services\kbdhid,DisplayName,"Keyboard HID Driver"
	RegWrite,HKLM,0x2,PE-System\ControlSet001\Services\kbdhid,ImagePath,System32\DRIVERS\kbdhid.sys
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Services\kbdhid,Group,"Input Device Support"
	RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\kbdhid,Tag,21
	RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\kbdhid\Parameters,WorkNicely,0
	//
	RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\mouhid,Type,1
	RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\mouhid,Start,3
	RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\mouhid,ErrorControl,1
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Services\mouhid,DisplayName,"Mouse HID Driver"
	RegWrite,HKLM,0x2,PE-System\ControlSet001\Services\mouhid,ImagePath,system32\DRIVERS\mouhid.sys
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Services\mouhid,Group,"Input Device Support"
	RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\mouhid,Tag,22
	RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\mouhid\Parameters,UseOnlyMice,0
	RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\mouhid\Parameters,TreatAbsoluteAsRelative,0
	RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\mouhid\Parameters,TreatAbsolutePointerAsAbsolute,0
	//
	RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\kbdclass,Type,1
	RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\kbdclass,Start,1
	RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\kbdclass,ErrorControl,1
	RegWrite,HKLM,0x2,PE-System\ControlSet001\Services\kbdclass,ImagePath,system32\DRIVERS\kbdclass.sys
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Services\kbdclass,DisplayName,"USB Root Hub"
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Services\kbdclass,Group,"Input Device Support"
	RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\kbdclass,Tag,23
	RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\kbdclass\Parameters,ConnectMultiplePorts,0
	RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\kbdclass\Parameters,ConnectMultiplePortsChanged,1
	RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\kbdclass\Parameters,ConnectMultiplePortsUpgraded,1
	RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\kbdclass\Parameters,KeyboardDataQueueSize,100
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Services\kbdclass\Parameters,KeyboardDeviceBaseName,KeyboardClass
	RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\kbdclass\Parameters,MaximumPortsServiced,3
	RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\kbdclass\Parameters,SendOutputToAllPorts,1
	//
	RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\mouclass,Type,1
	RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\mouclass,Start,1
	RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\mouclass,ErrorControl,1
	RegWrite,HKLM,0x2,PE-System\ControlSet001\Services\mouclass,ImagePath,system32\DRIVERS\mouclass.sys
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Services\mouclass,DisplayName,"USB Root Hub"
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Services\mouclass,Group,"Input Device Support"
	RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\mouclass,Tag,24
	RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\mouclass\Parameters,ConnectMultiplePorts,0
	RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\mouclass\Parameters,ConnectMultiplePortsChanged,1
	RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\mouclass\Parameters,ConnectMultiplePortsUpgraded,1
	RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\mouclass\Parameters,KeyboardDataQueueSize,100
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Services\mouclass\Parameters,KeyboardDeviceBaseName,PointerClass
	RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\mouclass\Parameters,MaximumPortsServiced,3
	RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\mouclass\Parameters,SendOutputToAllPorts,1
	//
	RegWrite,HKLM,0x7,PE-System\ControlSet001\Services\HidServ,DependOnService,RpcSs
	//Set,%RTmp%,""
//RegRead,%RTmp%,HKLM,PE-System\ControlSet001\Services\HidServ,Description
//message,%RTmp%

//	If,ExistRegKey,HKLM,PE-System\ControlSet001\Services\HidServ,Description,then,RegRead,HKLM,PE-System\ControlSet001\Services\HidServ,Description,%RTmp%
	If,%RTmp%,=,"",then,RegWrite,HKLM,0x1,PE-System\ControlSet001\Services\HidServ,Description,"Enables generic input access to Human Interface Devices (HID), which activates and maintains the use of predefined hot buttons on keyboards, remote controls, and other multimedia devices. If this service is stopped, hot buttons controlled by this service will no longer function. If this service is disabled, any services that explicitly depend on it will fail to start."
	Set,%RTmp%,""
	//If,ExistRegKey,HKLM,PE-System\ControlSet001\Services\HidServ,DisplayName,then,RegRead,HKLM,PE-System\ControlSet001\Services\HidServ,DisplayName,%RTmp%
	If,%RTmp%,=,"",then,RegWrite,HKLM,0x1,PE-System\ControlSet001\Services\HidServ,DisplayName,"HID Input Service"
	RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\HidServ,ErrorControl,1
	RegWrite,HKLM,0x2,PE-System\ControlSet001\Services\HidServ,ImagePath,"#$pSystemRoot#$p\System32\svchost.exe -k netsvcs"
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Services\HidServ,ObjectName,LocalSystem
	RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\HidServ,Start,2
	RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\HidServ,Type,32
	RegWrite,HKLM,0x2,PE-System\ControlSet001\Services\HidServ\Parameters,ServiceDll,#$pSystemRoot#$p\System32\hidserv.dll
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Services\HidServ\Enum,0,Root\LEGACY_HIDSERV\0000
	RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\HidServ\Enum,Count,1
	RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\HidServ\Enum,NextInstance,1
	RegWrite,HKLM,0x4,PE-System\ControlSet001\Enum\Root\LEGACY_HIDSERV,NextInstance,1
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Enum\Root\LEGACY_HIDSERV\0000,Service,HidServ
	RegWrite,HKLM,0x4,PE-System\ControlSet001\Enum\Root\LEGACY_HIDSERV\0000,Legacy,1
	RegWrite,HKLM,0x4,PE-System\ControlSet001\Enum\Root\LEGACY_HIDSERV\0000,ConfigFlags,32
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Enum\Root\LEGACY_HIDSERV\0000,Class,LegacyDriver
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Enum\Root\LEGACY_HIDSERV\0000,ClassGUID,{8ECC055D-047F-11D1-A537-0000F8753ED1}
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Enum\Root\LEGACY_HIDSERV\0000,DeviceDesc,"HID Input Service"
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Enum\Root\LEGACY_HIDSERV\0000\Control,ActiveService,HidServ

	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{745A17A0-74D3-11D0-B6FE-00A0C90F57DA},,"Human Interface Devices"
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{745A17A0-74D3-11D0-B6FE-00A0C90F57DA},Class,HIDClass
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{745A17A0-74D3-11D0-B6FE-00A0C90F57DA},Icon,-24
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{745A17A0-74D3-11D0-B6FE-00A0C90F57DA},NoInstallClass,1
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{4D36E96B-E325-11CE-BFC1-08002BE10318},,Keyboards
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{4D36E96B-E325-11CE-BFC1-08002BE10318},Class,Keyboard
	RegWrite,HKLM,0x7,PE-System\ControlSet001\Control\Class\{4D36E96B-E325-11CE-BFC1-08002BE10318},UpperFilters,kbdclass
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{4D36E96B-E325-11CE-BFC1-08002BE10318},Icon,-3
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{4D36E96B-E325-11CE-BFC1-08002BE10318},Installer32,"SysSetup.Dll,KeyboardClassInstaller"
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{4D36E96B-E325-11CE-BFC1-08002BE10318},NoInstallClass,1
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{4D36E96B-E325-11CE-BFC1-08002BE10318},TroubleShooter-0,hcp://help/tshoot/hdw_keyboard.htm
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{4D36E96F-E325-11CE-BFC1-08002BE10318},,"Mice and other pointing devices"
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{4D36E96F-E325-11CE-BFC1-08002BE10318},Class,Mouse
	RegWrite,HKLM,0x7,PE-System\ControlSet001\Control\Class\{4D36E96F-E325-11CE-BFC1-08002BE10318},UpperFilters,mouclass
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{4D36E96F-E325-11CE-BFC1-08002BE10318},Icon,-2
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{4D36E96F-E325-11CE-BFC1-08002BE10318},Installer32,"SysSetup.Dll,MouseClassInstaller"
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{4D36E96F-E325-11CE-BFC1-08002BE10318},NoInstallClass,1
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{4D36E96F-E325-11CE-BFC1-08002BE10318},TroubleShooter-0,hcp://help/tshoot/hdw_mouse.htm
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{8ECC055D-047F-11D1-A537-0000F8753ED1},,"Non-Plug and Play Drivers"
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{8ECC055D-047F-11D1-A537-0000F8753ED1},Class,LegacyDriver
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{8ECC055D-047F-11D1-A537-0000F8753ED1},NoDisplayClass,1
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{8ECC055D-047F-11D1-A537-0000F8753ED1},SilentInstall,1
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{8ECC055D-047F-11D1-A537-0000F8753ED1},NoInstallClass,1
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{8ECC055D-047F-11D1-A537-0000F8753ED1},EnumPropPages32,"SysSetup.Dll,LegacyDriverPropPageProvider"
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{8ECC055D-047F-11D1-A537-0000F8753ED1},Icon,-19
	RegWrite,HKLM,0x7,PE-System\ControlSet001\Control\CoDeviceInstallers,{4D36E96B-E325-11CE-BFC1-08002BE10318},"SysSetup.Dll,CriticalDeviceCoInstaller"
	RegWrite,HKLM,0x7,PE-System\ControlSet001\Control\CoDeviceInstallers,{4D36E96F-E325-11CE-BFC1-08002BE10318},"SysSetup.Dll,CriticalDeviceCoInstaller"
End

If,%pCheckBox3%,=,True,then
	Echo,%tEcho_6%

	CopyOrExpand,%source_win%\sbp2.inf,%target_win%\inf
	CopyOrExpand,%source_win%\1394.inf,%target_win%\inf
	CopyOrExpand,%source_win%\enum1394.inf,%target_win%\inf
	CopyOrExpand,%source_win%\61883.inf,%target_win%\inf
	CopyOrExpand,%source_win%\disk.inf,%target_win%\inf
	CopyOrExpand,%source_win%\cdrom.inf,%target_win%\inf
	CopyOrExpand,%source_win%\volume.inf,%target_win%\inf
	// 1394 NIC
	Expand,%source_sys%\%spCabFile%,%target_sys%\Drivers,sbp2port.sys:ohci1394.sys:1394bus.sys:61883.sys
	
	Echo,%tEcho_7%


//IniAddSection,%target_win%\TXTSETUP.SIF,HardwareIdsDatabase
//IniAddSection,%target_win%\TXTSETUP.SIF,HwIdsDatabase
//
	IniWrite,%target_win%\TXTSETUP.SIF,HardwareIdsDatabase,"PCI\CC_0C0010,#$qohci1394#$q"
	IniWrite,%target_win%\TXTSETUP.SIF,HardwareIdsDatabase,"PCI\VEN_1033&DEV_0063,#$qohci1394#$q"
	IniWrite,%target_win%\TXTSETUP.SIF,HardwareIdsDatabase,"PCI\VEN_1033&CC_0C0010,#$qohci1394#$q"
	IniWrite,%target_win%\TXTSETUP.SIF,HardwareIdsDatabase,"PCI\VEN_1106&DEV_3044,#$qohci1394#$q"
	IniWrite,%target_win%\TXTSETUP.SIF,HardwareIdsDatabase,"PCI\VEN_1106&CC_0C0010,#$qohci1394#$q"
	IniWrite,%target_win%\TXTSETUP.SIF,HardwareIdsDatabase,"PCI\VEN_100B&DEV_000F,#$qohci1394#$q"
	IniWrite,%target_win%\TXTSETUP.SIF,HardwareIdsDatabase,"PCI\VEN_100B&CC_0C0010,#$qohci1394#$q"
	IniWrite,%target_win%\TXTSETUP.SIF,HardwareIdsDatabase,"PCI\VEN_104C&DEV_8009,#$qohci1394#$q"
	IniWrite,%target_win%\TXTSETUP.SIF,HardwareIdsDatabase,"PCI\VEN_104C&DEV_8019,#$qohci1394#$q"
	IniWrite,%target_win%\TXTSETUP.SIF,HardwareIdsDatabase,"PCI\VEN_104C&CC_0C0010,#$qohci1394#$q"
	IniWrite,%target_win%\TXTSETUP.SIF,HardwareIdsDatabase,"PCI\VEN_104C&DEV_8009&SUBSYS_8032104D,#$qohci1394#$q"
	IniWrite,%target_win%\TXTSETUP.SIF,HardwareIdsDatabase,"PCI\VEN_104D&DEV_8039,#$qohci1394#$q"
	IniWrite,%target_win%\TXTSETUP.SIF,HardwareIdsDatabase,"PCI\VEN_104D&DEV_8039&REV_03,#$qohci1394#$q"
	IniWrite,%target_win%\TXTSETUP.SIF,HardwareIdsDatabase,"PCI\VEN_10CF&CC_0C0010,#$qohci1394#$q"
//
	IniWrite,%target_win%\TXTSETUP.SIF,HardwareIdsDatabase,"1394\609E&10483,#$qsbp2port#$q"
//
	IniWrite,%target_win%\TXTSETUP.SIF,HwIdsDatabase,"PCI\CC_0C0010,#$qohci1394#$q"
	IniWrite,%target_win%\TXTSETUP.SIF,HwIdsDatabase,"PCI\VEN_1033&DEV_0063,#$qohci1394#$q"
	IniWrite,%target_win%\TXTSETUP.SIF,HwIdsDatabase,"PCI\VEN_1033&CC_0C0010,#$qohci1394#$q"
	IniWrite,%target_win%\TXTSETUP.SIF,HwIdsDatabase,"PCI\VEN_1106&DEV_3044,#$qohci1394#$q"
	IniWrite,%target_win%\TXTSETUP.SIF,HwIdsDatabase,"PCI\VEN_1106&CC_0C0010,#$qohci1394#$q"
	IniWrite,%target_win%\TXTSETUP.SIF,HwIdsDatabase,"PCI\VEN_100B&DEV_000F,#$qohci1394#$q"
	IniWrite,%target_win%\TXTSETUP.SIF,HwIdsDatabase,"PCI\VEN_100B&CC_0C0010,#$qohci1394#$q"
	IniWrite,%target_win%\TXTSETUP.SIF,HwIdsDatabase,"PCI\VEN_104C&DEV_8009,#$qohci1394#$q"
	IniWrite,%target_win%\TXTSETUP.SIF,HwIdsDatabase,"PCI\VEN_104C&DEV_8019,#$qohci1394#$q"
	IniWrite,%target_win%\TXTSETUP.SIF,HwIdsDatabase,"PCI\VEN_104C&CC_0C0010,#$qohci1394#$q"
	IniWrite,%target_win%\TXTSETUP.SIF,HwIdsDatabase,"PCI\VEN_104C&DEV_8009&SUBSYS_8032104D,#$qohci1394#$q"
	IniWrite,%target_win%\TXTSETUP.SIF,HwIdsDatabase,"PCI\VEN_104D&DEV_8039,#$qohci1394#$q"
	IniWrite,%target_win%\TXTSETUP.SIF,HwIdsDatabase,"PCI\VEN_104D&DEV_8039&REV_03,#$qohci1394#$q"
	IniWrite,%target_win%\TXTSETUP.SIF,HwIdsDatabase,"PCI\VEN_10CF&CC_0C0010,#$qohci1394#$q"
	//
	IniWrite,%target_win%\TXTSETUP.SIF,HwIdsDatabase,"1394\609E&10483,#$qsbp2port#$q"
	//
	IniWrite,%target_win%\TXTSETUP.SIF,BusExtenders,"sbp2port,#$qIEEE 1394 SBP2 Storage Port Driver#$q,files.sbp2port,sbp2port"
	IniWrite,%target_win%\TXTSETUP.SIF,BusExtenders.Load,sbp2port,sbp2port.sys
	//
	IniWrite,%target_win%\TXTSETUP.SIF,BootBusExtenders,"ohci1394,#$qIEEE 1394 Bus OHCI Compliant Port Driver#$q,files.ohci1394,ohci1394"
	IniWrite,%target_win%\TXTSETUP.SIF,BootBusExtenders.Load,ohci1394,ohci1394.sys

	If,ExistSection,%target_win%\TXTSETUP.SIF,files.sbp2port,then,IniDeleteSection,%target_win%\TXTSETUP.SIF,files.sbp2port
	IniWriteSection,%target_win%\TXTSETUP.SIF,files.sbp2port,"sbp2port.sys,4"

	If,ExistSection,%target_win%\TXTSETUP.SIF,files.ohci1394,then,IniDeleteSection,%target_win%\TXTSETUP.SIF,files.ohci1394
	IniWriteSection,%target_win%\TXTSETUP.SIF,files.ohci1394,"ohci1394.sys,4"
	IniWriteSection,%target_win%\TXTSETUP.SIF,files.ohci1394,"1394bus.sys,4"

	System,SetPEInit,I,Init,RegWrite|HKLM|0x2|SYSTEM\CurrentControlSet\Services\ohci1394|ImagePath|system32\DRIVERS\ohci1394.sys
	System,SetPEInit,J,Init,RegWrite|HKLM|0x2|SYSTEM\CurrentControlSet\Services\sbp2port|ImagePath|system32\DRIVERS\sbp2port.sys

	If,%Arch%,=,x86,then,RegWrite,HKLM,0x7,PE-Software\Microsoft\Windows\CurrentVersion\Setup,"Installation#$sSources",X:\I386\SYSTEM32\DRIVERS,X:\I386\SYSTEM32,X:\I386\INF
	If,%Arch%,=,x64,then,RegWrite,HKLM,0x7,PE-Software\Microsoft\Windows\CurrentVersion\Setup,"Installation#$sSources",X:\AMD64\SYSTEM32\DRIVERS,X:\AMD64\SYSTEM32,X:\AMD64\INF
	RegWrite,HKLM,0x4,PE-Software\Microsoft\Windows\CurrentVersion\Setup,MinimizeFootprint,1

	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\pci#cc_0c0010,ClassGUID,{6BDD1FC1-810F-11D0-BEC7-08002BE2092F}
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\pci#cc_0c0010,Service,ohci1394
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\PCI#VEN_1033&DEV_0063,ClassGUID,{6BDD1FC1-810F-11D0-BEC7-08002BE2092F}
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\PCI#VEN_1033&DEV_0063,Service,ohci1394
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\PCI#VEN_1033&CC_0C0010,ClassGUID,{6BDD1FC1-810F-11D0-BEC7-08002BE2092F}
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\PCI#VEN_1033&CC_0C0010,Service,ohci1394
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\PCI#VEN_1106&DEV_3044,ClassGUID,{6BDD1FC1-810F-11D0-BEC7-08002BE2092F}
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\PCI#VEN_1106&DEV_3044,Service,ohci1394
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\PCI#VEN_1106&CC_0C0010,ClassGUID,{6BDD1FC1-810F-11D0-BEC7-08002BE2092F}
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\PCI#VEN_1106&CC_0C0010,Service,ohci1394
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\PCI#VEN_100B&DEV_000F,ClassGUID,{6BDD1FC1-810F-11D0-BEC7-08002BE2092F}
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\PCI#VEN_100B&DEV_000F,Service,ohci1394
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\PCI#VEN_100B&CC_0C0010,ClassGUID,{6BDD1FC1-810F-11D0-BEC7-08002BE2092F}
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\PCI#VEN_100B&CC_0C0010,Service,ohci1394
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\PCI#VEN_104C&DEV_8009,ClassGUID,{6BDD1FC1-810F-11D0-BEC7-08002BE2092F}
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\PCI#VEN_104C&DEV_8009,Service,ohci1394
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\PCI#VEN_104C&DEV_8019,ClassGUID,{6BDD1FC1-810F-11D0-BEC7-08002BE2092F}
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\PCI#VEN_104C&DEV_8019,Service,ohci1394
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\PCI#VEN_104C&CC_0C0010,ClassGUID,{6BDD1FC1-810F-11D0-BEC7-08002BE2092F}
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\PCI#VEN_104C&CC_0C0010,Service,ohci1394
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\PCI#VEN_104C&DEV_8009&SUBSYS_8032104D,ClassGUID,{6BDD1FC1-810F-11D0-BEC7-08002BE2092F}
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\PCI#VEN_104C&DEV_8009&SUBSYS_8032104D,Service,ohci1394
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\PCI#VEN_104D&DEV_8039,ClassGUID,{6BDD1FC1-810F-11D0-BEC7-08002BE2092F}
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\PCI#VEN_104D&DEV_8039,Service,ohci1394
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\PCI#VEN_104D&DEV_8039&REV_03,ClassGUID,{6BDD1FC1-810F-11D0-BEC7-08002BE2092F}
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\PCI#VEN_104D&DEV_8039&REV_03,Service,ohci1394
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\PCI#VEN_10CF&CC_0C0010,ClassGUID,{6BDD1FC1-810F-11D0-BEC7-08002BE2092F}
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\PCI#VEN_10CF&CC_0C0010,Service,ohci1394
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\1394#609E&10483,ClassGUID,{d48179be-ec20-11d1-b6b8-00c04fa372a7}
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\1394#609E&10483,Service,sbp2port
	//
	RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\ohci1394,Type,1
	RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\ohci1394,Start,0
	RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\ohci1394,ErrorControl,1
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Services\ohci1394,DisplayName,OHCI Compliant IEEE 1394 Host Controller
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Services\ohci1394,Group,"Boot Bus Extender"
	RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\ohci1394,Tag,4
	RegWrite,HKLM,0x2,PE-System\ControlSet001\Services\ohci1394,ImagePath,system32\DRIVERS\ohci1394.sys
	//
	RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\sbp2port,Type,1
	RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\sbp2port,Start,0
	RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\sbp2port,ErrorControl,1
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Services\sbp2port,DisplayName,"SBP-2 Transport/Protocol Bus Driver"
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Services\sbp2port,Group,"System Bus Extender"
	RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\sbp2port,Tag,14
	RegWrite,HKLM,0x2,PE-System\ControlSet001\Services\sbp2port,ImagePath,system32\DRIVERS\sbp2port.sys
	//
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{4658EE7E-F050-11D1-B6BD-00C04FA372A7},,"IEEE 1394 and SCSI printers"
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{4658EE7E-F050-11D1-B6BD-00C04FA372A7},Class,PnpPrinters
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{4658EE7E-F050-11D1-B6BD-00C04FA372A7},NoInstallClass,1
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{4658EE7E-F050-11D1-B6BD-00C04FA372A7},Icon,-21
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{6BDD1FC1-810F-11D0-BEC7-08002BE2092F},,"IEEE 1394 Bus host controllers"
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{6BDD1FC1-810F-11D0-BEC7-08002BE2092F},Class,1394
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{6BDD1FC1-810F-11D0-BEC7-08002BE2092F},Icon,-21
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{D48179BE-EC20-11D1-B6B8-00C04FA372A7},,"SBP2 IEEE 1394 Devices"
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{D48179BE-EC20-11D1-B6B8-00C04FA372A7},Class,SBP2
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{D48179BE-EC20-11D1-B6B8-00C04FA372A7},Icon,-21
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{7EBEFBC0-3200-11D2-B4C2-00A0C9697D07},,"61883 Device Class"
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{7EBEFBC0-3200-11D2-B4C2-00A0C9697D07},Class,61883
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{7EBEFBC0-3200-11D2-B4C2-00A0C9697D07},Icon,-21
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{7EBEFBC0-3200-11D2-B4C2-00A0C9697D07},NoInstallClass,1
	Set,%runstorageshared%,True
end

If,%pCheckBox4%,=,True,then
	Echo,%tEcho_8%
	CopyOrExpand,%source_win%\batmeter.dll,%target_sys%
	CopyOrExpand,%source_win%\stobject.dll,%target_sys%
	CopyOrExpand,%source_win%\wtsapi32.dll,%target_sys%
	CopyOrExpand,%source_win%\hotplug.dll,%target_sys%
	RegWrite,HKLM,0x1,PE-Software\Microsoft\Windows\CurrentVersion\ShellServiceObjectDelayLoad,SysTray,{35CEC8A3-2BE6-11D2-8773-92E220524153}
	RegWrite,HKLM,0x1,PE-Software\Classes\CLSID\{35CEC8A3-2BE6-11D2-8773-92E220524153},,systray
	RegWrite,HKLM,0x1,PE-Software\Classes\CLSID\{35CEC8A3-2BE6-11D2-8773-92E220524153}\InprocServer32,,stobject.dll
	RegWrite,HKLM,0x1,PE-Software\Classes\CLSID\{35CEC8A3-2BE6-11D2-8773-92E220524153}\InprocServer32,ThreadingModel,Both
end

If,%runstorageshared%,=,True,then

//RegHiveLoad,PE-System,%target_sys%\setupreg.hiv
RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\PartMgr,Type,1
RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\PartMgr,Start,0
RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\PartMgr,ErrorControl,0
RegWrite,HKLM,0x1,PE-System\ControlSet001\Services\PartMgr,DisplayName,"Partition Manager"
RegWrite,HKLM,0x1,PE-System\ControlSet001\Services\PartMgr,Group,"System Bus Extender"
RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\PartMgr,Tag,10
RegWrite,HKLM,0x2,PE-System\ControlSet001\Services\PartMgr,ImagePath,system32\DRIVERS\partmgr.sys
RegWrite,HKLM,0x1,PE-System\ControlSet001\Services\PartMgr\Enum,0,Root\LEGACY_PARTMGR\0000
RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\PartMgr\Enum,Count,1
RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\PartMgr\Enum,NextInstance,1
RegWrite,HKLM,0x4,PE-System\ControlSet001\Enum\Root\LEGACY_PARTMGR,NextInstance,1
RegWrite,HKLM,0x1,PE-System\ControlSet001\Enum\Root\LEGACY_PARTMGR\0000,Service,PartMgr
RegWrite,HKLM,0x4,PE-System\ControlSet001\Enum\Root\LEGACY_PARTMGR\0000,Legacy,1
RegWrite,HKLM,0x4,PE-System\ControlSet001\Enum\Root\LEGACY_PARTMGR\0000,ConfigFlags,32
RegWrite,HKLM,0x1,PE-System\ControlSet001\Enum\Root\LEGACY_PARTMGR\0000,Class,LegacyDriver
RegWrite,HKLM,0x1,PE-System\ControlSet001\Enum\Root\LEGACY_PARTMGR\0000,ClassGUID,{8ECC055D-047F-11D1-A537-0000F8753ED1}
RegWrite,HKLM,0x1,PE-System\ControlSet001\Enum\Root\LEGACY_PARTMGR\0000,DeviceDesc,"Partition Manager"
RegWrite,HKLM,0x4,PE-System\ControlSet001\Enum\Root\LEGACY_PARTMGR\0000,Capabilities,0
//
RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\MountMgr,Type,1
RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\MountMgr,Start,0
RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\MountMgr,ErrorControl,1
RegWrite,HKLM,0x1,PE-System\ControlSet001\Services\MountMgr,DisplayName,"Mount Point Manager"
RegWrite,HKLM,0x1,PE-System\ControlSet001\Services\MountMgr,Group,"System Bus Extender"
RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\MountMgr,Tag,8
RegWrite,HKLM,0x2,PE-System\ControlSet001\Services\MountMgr,ImagePath,system32\DRIVERS\mountmgr.sys
RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\MountMgr,NoAutoMount,0
RegWrite,HKLM,0x1,PE-System\ControlSet001\Services\MountMgr\Enum,0,Root\LEGACY_MOUNTMGR\0000
RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\MountMgr\Enum,Count,1
RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\MountMgr\Enum,NextInstance,1
RegWrite,HKLM,0x4,PE-System\ControlSet001\Enum\Root\LEGACY_MOUNTMGR,NextInstance,1
RegWrite,HKLM,0x1,PE-System\ControlSet001\Enum\Root\LEGACY_MOUNTMGR\0000,Service,mountmgr
RegWrite,HKLM,0x4,PE-System\ControlSet001\Enum\Root\LEGACY_MOUNTMGR\0000,Legacy,1
RegWrite,HKLM,0x4,PE-System\ControlSet001\Enum\Root\LEGACY_MOUNTMGR\0000,ConfigFlags,0
RegWrite,HKLM,0x1,PE-System\ControlSet001\Enum\Root\LEGACY_MOUNTMGR\0000,Class,LegacyDriver
RegWrite,HKLM,0x1,PE-System\ControlSet001\Enum\Root\LEGACY_MOUNTMGR\0000,ClassGUID,{8ECC055D-047F-11D1-A537-0000F8753ED1}
RegWrite,HKLM,0x1,PE-System\ControlSet001\Enum\Root\LEGACY_MOUNTMGR\0000,DeviceDesc,mountmgr
RegWrite,HKLM,0x4,PE-System\ControlSet001\Enum\Root\LEGACY_MOUNTMGR\0000,Capabilities,0
//
RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\Ftdisk,Start,0
RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\Ftdisk,Type,1
RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\Ftdisk,ErrorControl,1
RegWrite,HKLM,0x1,PE-System\ControlSet001\Services\Ftdisk,DisplayName,"Volume Manager Driver"
RegWrite,HKLM,0x1,PE-System\ControlSet001\Services\Ftdisk,Group,"System Bus Extender"
RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\Ftdisk,Tag,9
RegWrite,HKLM,0x2,PE-System\ControlSet001\Services\Ftdisk,ImagePath,system32\DRIVERS\ftdisk.sys
RegWrite,HKLM,0x1,PE-System\ControlSet001\Services\Ftdisk\Enum,0,Root\ftdisk\0000
RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\Ftdisk\Enum,Count,1
RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\Ftdisk\Enum,NextInstance,1
RegWrite,HKLM,0x4,PE-System\ControlSet001\Enum\Root\ftdisk\0000,NoResourceAtInitTime,1
RegWrite,HKLM,0x4,PE-System\ControlSet001\Enum\Root\ftdisk\0000,ConfigFlags,0
RegWrite,HKLM,0x4,PE-System\ControlSet001\Enum\Root\ftdisk\0000,Legacy,0
RegWrite,HKLM,0x1,PE-System\ControlSet001\Enum\Root\ftdisk\0000,Service,ftdisk
RegWrite,HKLM,0x7,PE-System\ControlSet001\Enum\Root\ftdisk\0000,HardwareID,ROOT\FTDISK
RegWrite,HKLM,0x7,PE-System\ControlSet001\Enum\Root\ftdisk\0000,CompatibleIDs,DETECTEDInternal\ftdisk,DETECTED\ftdisk
RegWrite,HKLM,0x4,PE-System\ControlSet001\Enum\Root\ftdisk\0000,Capabilities,96
RegWrite,HKLM,0x1,PE-System\ControlSet001\Enum\Root\ftdisk\0000,ClassGUID,{4D36E97D-E325-11CE-BFC1-08002BE10318}
RegWrite,HKLM,0x1,PE-System\ControlSet001\Enum\Root\ftdisk\0000,Class,System
RegWrite,HKLM,0x1,PE-System\ControlSet001\Enum\Root\ftdisk\0000,ParentIdPrefix,1&30a96598&0
RegWrite,HKLM,0x1,PE-System\ControlSet001\Enum\Root\ftdisk\0000,Mfg,"(Standard system devices)"
RegWrite,HKLM,0x1,PE-System\ControlSet001\Enum\Root\ftdisk\0000,DeviceDesc,"Volume Manager"
Set,%TMP%,""
If,ExistRegKey,HKLM,PE-System\ControlSet001\Enum\Root\ftdisk\0000,Driver,then,RegRead,%TMP%,HKLM,PE-System\ControlSet001\Enum\Root\ftdisk\0000,Driver
If,%TMP%,=,"",then
	//RegGetNext,HKLM,PE-System\ControlSet001\Control\Class\{4D36E97D-E325-11CE-BFC1-08002BE10318},%TMP%
	Set,%TMP%,0003
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Enum\Root\ftdisk\0000,Driver,{4D36E97D-E325-11CE-BFC1-08002BE10318}\%TMP%
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{4D36E97D-E325-11CE-BFC1-08002BE10318}\%TMP%,InfPath,machine.inf
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{4D36E97D-E325-11CE-BFC1-08002BE10318}\%TMP%,InfSection,FTDISK_DRV
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{4D36E97D-E325-11CE-BFC1-08002BE10318}\%TMP%,ProviderName,Microsoft
	RegWrite,HKLM,0x3,PE-System\ControlSet001\Control\Class\{4D36E97D-E325-11CE-BFC1-08002BE10318}\%TMP%,DriverDateData,00,80,62,c5,c0,01,c1,01
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{4D36E97D-E325-11CE-BFC1-08002BE10318}\%TMP%,DriverDate,7-1-2001
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{4D36E97D-E325-11CE-BFC1-08002BE10318}\%TMP%,DriverVersion,5.2.9999.9999
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{4D36E97D-E325-11CE-BFC1-08002BE10318}\%TMP%,MatchingDeviceId,root\ftdisk
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{4D36E97D-E325-11CE-BFC1-08002BE10318}\%TMP%,DriverDesc,"Volume Manager"
End
RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\root#ftdisk,Service,ftdisk
RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\root#ftdisk,ClassGUID,{4D36E97D-E325-11CE-BFC1-08002BE10318}
//
RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\dmio,Start,0
RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\dmio,Type,1
RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\dmio,ErrorControl,1
RegWrite,HKLM,0x1,PE-System\ControlSet001\Services\dmio,DisplayName,"Logical Disk Manager Driver"
RegWrite,HKLM,0x1,PE-System\ControlSet001\Services\dmio,Group,"System Bus Extender"
RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\dmio,Tag,13
RegWrite,HKLM,0x2,PE-System\ControlSet001\Services\dmio,ImagePath,system32\DRIVERS\dmio.sys
RegWrite,HKLM,0x1,PE-System\ControlSet001\Services\dmio\Enum,0,Root\dmio\0000
RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\dmio\Enum,Count,1
RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\dmio\Enum,NextInstance,1
RegWrite,HKLM,0x4,PE-System\ControlSet001\Enum\Root\dmio\0000,NoResourceAtInitTime,1
RegWrite,HKLM,0x4,PE-System\ControlSet001\Enum\Root\dmio\0000,ConfigFlags,0
RegWrite,HKLM,0x4,PE-System\ControlSet001\Enum\Root\dmio\0000,Legacy,0
RegWrite,HKLM,0x4,PE-System\ControlSet001\Enum\Root\dmio\0000,DeviceReported,1
RegWrite,HKLM,0x1,PE-System\ControlSet001\Enum\Root\dmio\0000,Service,dmio
RegWrite,HKLM,0x7,PE-System\ControlSet001\Enum\Root\dmio\0000,HardwareID,ROOT\DMIO
RegWrite,HKLM,0x7,PE-System\ControlSet001\Enum\Root\dmio\0000,CompatibleIDs,DETECTEDInternal\dmio,DETECTED\dmio
RegWrite,HKLM,0x4,PE-System\ControlSet001\Enum\Root\dmio\0000,Capabilities,96
RegWrite,HKLM,0x1,PE-System\ControlSet001\Enum\Root\dmio\0000,ClassGUID,{4D36E97D-E325-11CE-BFC1-08002BE10318}
RegWrite,HKLM,0x1,PE-System\ControlSet001\Enum\Root\dmio\0000,Class,System
RegWrite,HKLM,0x1,PE-System\ControlSet001\Enum\Root\dmio\0000,Mfg,"(Standard system devices)"
RegWrite,HKLM,0x1,PE-System\ControlSet001\Enum\Root\dmio\0000,DeviceDesc,"Logical Disk Manager"
Set,%TMP%,""
If,ExistRegKey,HKLM,PE-System\ControlSet001\Enum\Root\dmio\0000,Driver,then,RegRead,%TMP%,HKLM,PE-System\ControlSet001\Enum\Root\dmio\0000,Driver
If,%TMP%,=,"",then
	Set,%TMP%,0003
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Enum\Root\dmio\0000,Driver,{4D36E97D-E325-11CE-BFC1-08002BE10318}\0004
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{4D36E97D-E325-11CE-BFC1-08002BE10318}\%TMP%,InfPath,machine.inf
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{4D36E97D-E325-11CE-BFC1-08002BE10318}\%TMP%,InfSection,DMIO_DRV
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{4D36E97D-E325-11CE-BFC1-08002BE10318}\%TMP%,ProviderName,Microsoft
	RegWrite,HKLM,0x3,PE-System\ControlSet001\Control\Class\{4D36E97D-E325-11CE-BFC1-08002BE10318}\%TMP%,DriverDateData,00,80,62,c5,c0,01,c1,01
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{4D36E97D-E325-11CE-BFC1-08002BE10318}\%TMP%,DriverDate,7-1-2001
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{4D36E97D-E325-11CE-BFC1-08002BE10318}\%TMP%,DriverVersion,5.2.9999.9999
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{4D36E97D-E325-11CE-BFC1-08002BE10318}\%TMP%,MatchingDeviceId,root\dmio
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{4D36E97D-E325-11CE-BFC1-08002BE10318}\%TMP%,DriverDesc,"Logical Disk Manager"
	RegWrite,HKLM,0x7,PE-System\ControlSet001\Control\Class\{4D36E97D-E325-11CE-BFC1-08002BE10318}\%TMP%,CoInstallers32,"dmutil.DLL#$cCoDisableDynamicVolumes"
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\root#dmio,Service,dmio
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\CriticalDeviceDatabase\root#dmio,ClassGUID,{4D36E97D-E325-11CE-BFC1-08002BE10318}
	//
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318},,Disk drives
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318},Class,DiskDrive
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318},Installer32,"StorProp.Dll#$cDiskClassInstaller"
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318},SilentInstall,1
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318},NoInstallClass,1
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318},TroubleShooter-0,hcp://help/tshoot/tsdrive.htm
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318},Icon,-53
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{71A27CDD-812A-11D0-BEC7-08002BE2092F},,"Storage volumes"
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{71A27CDD-812A-11D0-BEC7-08002BE2092F},Class,Volume
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{71A27CDD-812A-11D0-BEC7-08002BE2092F},EnumPropPages32,"StorProp.Dll#$cVolumePropPageProvider"
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{71A27CDD-812A-11D0-BEC7-08002BE2092F},SilentInstall,1
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{71A27CDD-812A-11D0-BEC7-08002BE2092F},NoInstallClass,1
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{71A27CDD-812A-11D0-BEC7-08002BE2092F},Icon,-53
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{71A27CDD-812A-11D0-BEC7-08002BE2092F},Installer32,"syssetup.Dll#$cVolumeClassInstaller"
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{4D36E97D-E325-11CE-BFC1-08002BE10318},,"System devices"
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{4D36E97D-E325-11CE-BFC1-08002BE10318},Class,System
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{4D36E97D-E325-11CE-BFC1-08002BE10318},Icon,-27
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{4D36E965-E325-11CE-BFC1-08002BE10318},,"DVD/CD-ROM drives"
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{4D36E965-E325-11CE-BFC1-08002BE10318},Class,CDROM
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{4D36E965-E325-11CE-BFC1-08002BE10318},EnumPropPages32,"MmSys.Cpl,MediaPropPageProvider"
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{4D36E965-E325-11CE-BFC1-08002BE10318},Installer32,"storprop.Dll#$cDvdClassInstaller"
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{4D36E965-E325-11CE-BFC1-08002BE10318},SilentInstall,1
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{4D36E965-E325-11CE-BFC1-08002BE10318},NoInstallClass,1
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{4D36E965-E325-11CE-BFC1-08002BE10318},TroubleShooter-0,hcp://help/tshoot/tsdrive.htm
	RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\Class\{4D36E965-E325-11CE-BFC1-08002BE10318},Icon,-51
	RegWrite,HKLM,0x7,PE-System\ControlSet001\Control\CoDeviceInstallers,{4D36E967-E325-11CE-BFC1-08002BE10318},"SysSetup.Dll#$cStorageCoInstaller","SysSetup.Dll#$cCriticalDeviceCoInstaller"
	RegWrite,HKLM,0x7,PE-System\ControlSet001\Control\CoDeviceInstallers,{4D36E97D-E325-11CE-BFC1-08002BE10318},"SysSetup.Dll#$cCriticalDeviceCoInstaller"
	RegWrite,HKLM,0x7,PE-System\ControlSet001\Control\CoDeviceInstallers,{4D36E965-E325-11CE-BFC1-08002BE10318},"SysSetup.Dll#$cStorageCoInstaller","SysSetup.Dll#$cCriticalDeviceCoInstaller"
	end
end
RegUnLoad,PE-SYSTEM
RegUnLoad,PE-SOFTWARE

[Script-Pic]
0=1669,2240,ZLB64
1=eNoBhQZ6+UdJRjg5YTIAMgDmAADm5ub6+vpJSku8vL/DxMSrrK2cnZ55enz4+fmkpKXs7e2Vlpj8/Pzd3d309PSenp+hoaK1tbb29vbV1daUlZeNjpDo6OqRkpRhYmRYWVqLjI6KjI6Jioz+//7Nzc6EhYfq6uqio6WPkJFyc3Rqa2yIiYvZ2trw8fHQ0dHW19ixsbJ+f4Hu7u51dnji4uPg4eGfn6Do6OjIyMnz8/ORkZKFhoiYmZqCg4RcXV5QUVKbnJ6Wl5l/gIJSU1RVVleHiInl5uajpKWys7S4ubqoqKqlpqfk5OWZmpuDhIZTVFW7u7yAgYNub3FNTk/h4uKop6nv8PDx8vL19vZXWFn7/PxWV1j9/v7p6eqko6X3+PhaW1zz9PRbXF3m5+f5+fnj4+S7vL6vsLHT09RPUFHn6Onr7OzP0NCUk5Xv7+/Pz9C3t7iurq/f4OH19fXq6+vf399vcHD39/f7/Pv7+/tmZmf9/v2+vr/9/f3AwMGTlJX3+PdeX1/t7e2QkZP+/v7///8h+QQAAAAAACwAAAAAMgAyAAAH/4AMCxUwhYaHiImKi4sVC4Ief5KTlJWWl5iZfx6Df0BOoKGio6SlpqZAfxUQnl2ur7CxsrO0tKkQD38gbry9vr/AwcLCIH8PuWUKysvMzc7MJ1l6J8/VZca5aFDb3N3e3Noz4jNxb0VEL1va399o2H8nUfLz9PXyJxJZXU5fQClMTQS0AOHAnsET72Y4WMiwoUMHW+a8oIEBx549GXxkmJKDAJWHIGe8ayOlpMmTKKV0MIGhyRIKeRaUSFLFRxIzDFLqbPMujs84Web4mZPlp9E/LkjksEMpAIUqUwwANUqV6jsECIL+6YLiyx0GWbBm/WOEhAAwfwKEDTrnDRsGav/Fyg3gRS6CdwEC3HGgA8OUPSL4+Mkb4A+aFgKE/JlDOO8cSYwbN47zBy7hd3Oo+NkhwEdNAR8YTEJzQEAETahhhPHyh8qcx8cq/3mjRWOGjUnwXOkyoXSf3QCCCx9OfPiVGwIOePgqOvadPwTG3J4+pcrtgDlwaMmgBQMGLtPDix+fo4kBoe+ep0kyJXySGhBgQJgfH8KHHD4uBGGECAKcJlWI0IAfVrxToAQjNDFdDhgghEkRAvzQAWqUaDCCGZJYUWBsfvjxRwp0NCHiHjL80eGJJ0oCgQAcsIaih5Sc2EAWkqTIYYd/uKECDAV8YeKLKEpyhAAaPBZkjDj+aGP/LkdOAiSQi4kgwBGVqMBDDR9owIeSL75DIWpzaCCACCikYOYKApSXQReaxPYlanHsMIYAdHZ2mw8YxNBmLm9S2IAdgOLRQhNJ5MAFm5m42WefCZAwwggHXJMon4u+aVkA6E1a6aZf3vjkp6CGGuo7fnRg6qmopqrqqqyy6mFsUJBhway01mrrrbjmeisZUBgDAQIDgDHAsMQWa+yxyCZ7rLAIQBDCCw+EIO201FZr7bXYYvvACyFgYUIfC4Qr7rjklrsABeNSoK655vZhAhZYpFDBBfTWay+9FVTQxwUi6HuBvhSIIMK/F1BwgQYD36twBSlgkUAKGvQh8cQU96GB/wds2MBBBC6EsDEIUADwQB8egMBCGR7sIELFLGuQQgIPR8wyxRsA8IcBPxDwRxEh+NHFEB7osMAcFhSBxx8T6DvzxC7DDPHSE2/gAhU65PxHEEypcMMGFdiQhQlIVDADFH2sDHXTMUMtsdRUWx2ECmRBoEHXWbyRhxABeCDz2S+nrTbbVetMBMOSeCDCDjPoc0cZOyjNt9MbCCz55AJLPUfgfxDBQQVhsPCHEhfEkXEBbbzBL+WUb9D3BCWgTnkJXwiyxNFElMDBEmts0kccJvxwgwl/wICw6wKXMAHME9SgwfLMN69BDRP8gYcBXdxhww5E2CDGH3ZU4EUDNeTBh+IcO5TgvPPQwyzGDSW07/77JdRwhBuS1KHECkMsNpsIGpTBwBVtCMAQagC/At5ADDBDwQo+wMAGOpCBS+BAEdZgAx4ggQMhWEMIPnADJIigCGEowAUs+MASrgAFCSiCBw6wgha68IUvPIAMXShDFrawhjOEoQ5XoJwiFEEGTGiBEIdIxCIa8YhIRCITZHAOAmCABFCMohSnSMUqWtGKGCAAEWiABjrkoAdgDKMYx0jGMprRjBM4wwJQcAU1ROCNcIyjHOdIxzrOUQgykMEOBHGBJ/jxj4AMpCAHSUhCnoECDAgEADuS5zon
