; TUTUDISK.INF 
; Windows XP installation file for installing the Tutudisk driver
; Copyright (c) 1990-2011 SuperRabbit Corporation All rights Reserved

[Version]
Signature="$WINDOWS NT$"
Class=TutuDiskClass
ClassGuid={C2A251ED-B7C8-4373-8D74-3AD2B2385AE0}
Provider=%MSFT%
DriverVer=07/13/2012,1.0.0.1
CatalogFile=tutudisk.cat

[DestinationDirs]
DefaultDestDir = 12

[ClassInstall32]
Addreg=TutuClassReg

[TutuClassReg]
HKR,,,0,%ClassNameDes%
HKR,,Icon,,-5

[DiskCopyfiles]
tutudisk.sys

[DiskCopyfiles.NTamd64]
tutudisk64.sys

[DiskCopyfiles.NTia64]
tutudiski64.sys

[SourceDisksNames]
1=%InstDisk%,

[SourceDisksFiles]
tutudisk.sys=1
tutudisk64.sys=1
tutudiski64.sys=1

[Manufacturer]
%MSFT% = DiskDevice, NTamd64, NTia64

[DiskDevice]
%DiskDevDesc% = DiskInstall, myTutuDisk

[DiskDevice.NTamd64]
%DiskDevDesc% = DiskInstall.NTamd64, myTutuDisk

[DiskDevice.NTia64]
%DiskDevDesc% = DiskInstall.NTia64, myTutuDisk

[DiskInstall.NT]
CopyFiles = DiskCopyfiles

[DiskInstall.NTamd64]
CopyFiles = DiskCopyfiles.NTamd64

[DiskInstall.NTia64]
CopyFiles = DiskCopyfiles.NTia64

[DiskInstall.NT.Services]
AddService = TutuDiskSrv, %SPSVCINST_ASSOCSERVICE%, DiskServiceInst

[DiskInstall.NTamd64.Services]
AddService = TutuDiskSrv, %SPSVCINST_ASSOCSERVICE%, DiskServiceInst.NTamd64

[DiskInstall.NTia64.Services]
AddService = TutuDiskSrv, %SPSVCINST_ASSOCSERVICE%, DiskServiceInst.NTia64

[DiskServiceInst]
ServiceType   = %SERVICE_KERNEL_DRIVER%
StartType     = %SERVICE_BOOT_START%
ErrorControl  = %SERVICE_ERROR_NORMAL%
LoadOrderGroup = System Bus Extender
DisplayName   = %DiskServiceDesc%
ServiceBinary = %12%\tutudisk.sys
AddReg        = DiskAddReg

[DiskServiceInst.NTamd64]
ServiceType   = %SERVICE_KERNEL_DRIVER%
StartType     = %SERVICE_BOOT_START%
ErrorControl  = %SERVICE_ERROR_NORMAL%
LoadOrderGroup = System Bus Extender
DisplayName   = %DiskServiceDesc%
ServiceBinary = %12%\tutudisk64.sys
AddReg        = DiskAddReg

[DiskServiceInst.NTia64]
ServiceType   = %SERVICE_KERNEL_DRIVER%
StartType     = %SERVICE_BOOT_START%
ErrorControl  = %SERVICE_ERROR_NORMAL%
LoadOrderGroup = System Bus Extender
DisplayName   = %DiskServiceDesc%
ServiceBinary = %12%\tutudiski64.sys
AddReg        = DiskAddReg

[DiskAddReg]
HKR, "Parameters", "BreakOnEntry",      %REG_DWORD%, 0x00000000
HKR, "Parameters", "DebugLevel",        %REG_DWORD%, 0x00000000
HKR, "Parameters", "DebugComp",         %REG_DWORD%, 0xFFFFFFFF
HKR, "Parameters", "DiskSizeM",         %REG_DWORD%, 0x00000010
HKR, "Parameters", "DriverLetter",      %REG_SZ%,    "W:"
HKR, "Parameters", "RootDirEntries",    %REG_DWORD%, 0x00000200
HKR, "Parameters", "SectorsPerCluster", %REG_DWORD%, 0x00000000
HKR, "Parameters", "UsePAE", 		%REG_DWORD%, 0x00000001

[Strings]
MSFT            = "SuperRabbit"
ClassNameDes    = "TutuDisk Controller"
DiskDevDesc     = "Tutudisk Device"
DiskServiceDesc = "SuperRabbit VirtualDisk Driver"
InstDisk        = "SuperRabbit Install Disk"
;*******************************************
;Handy macro substitutions (non-localizable)
SPSVCINST_ASSOCSERVICE = 0x00000002
SERVICE_KERNEL_DRIVER  = 1
SERVICE_BOOT_START     = 0
SERVICE_ERROR_NORMAL   = 1
REG_DWORD              = 0x00010001
REG_SZ                 = 0x00000000
