; RAMDRIV.INF 
; Windows 2000 installation file for installing the RAMDriv driver
; Copyright (c) 1990-2000 Microsoft Corporation All rights Reserved
; Copyright (c) WinRamTech


[Version]
CatalogFile=Ramdriv.cat
Signature="$WINDOWS NT$"
Class=RAMDriv
ClassGuid={FFB1C341-4539-11D3-B88D-00C04FAD5172}
Provider=%QSOFT%
DriverVer=03/21/2014,5.3.0002.15

[DestinationDirs]
DefaultDestDir = 12
RAMDrivInstaller=11

SysCopyfile    = 12
DLLCopyfile    = 11 
EXECopyfile    = 11 

[ClassInstall32]
Addreg=RAMDrivClassReg
CopyFiles=RAMDrivInstaller

[RAMDrivClassReg]
HKR,,,0,%ClassName%
; If we don't provide our own Installer32, ICON's from "SETUPAPI.DLL" are to be selected
; HKR,,Icon,,-5
; HKR,,Icon,,-159

HKR,,Installer32,,"RAMDriv.dll,ClassInstaller"
HKR,,Icon,,"105"
HKR,,EnumPropPages32,,"RAMDriv.dll,PropPageProvider"
HKR,,IconPath,%REG_MULTI_SZ%,"%11%\RAMDriv.dll,105"

[RAMDrivInstaller]
RAMDriv.dll,,,%COPYFLG_NOSKIP%

[SysCopyfile]
RAMDriv.sys,,,%COPYFLG_NOSKIP%

[DLLCopyfile]
RAMDriv.dll

[EXECopyFile]
RAMDiskImage.exe

[DiskCopyFiles]
RAMDriv.sys
RAMDriv.dll
RAMDiskImage.exe

[SourceDisksNames]
1=%InstDisk%,

[SourceDisksFiles]
RAMDriv.sys=1
RAMDriv.dll=1
RAMDiskImage.exe=1

[Manufacturer]
%QSOFT% = DiskDevice

[DiskDevice]
%DiskDevDesc% = DiskInstall, RAMDriv

[DiskInstall.NT]
CopyFiles = SysCopyfile , DLLCopyFile , EXECopyFile

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

[DiskServiceInst]
ServiceType   = %SERVICE_KERNEL_DRIVER%
StartType     = %SERVICE_START%
ErrorControl  = %SERVICE_ERROR_NORMAL%
DisplayName   = %DiskServiceDesc%
ServiceBinary = %12%\RAMDriv.sys
AddReg        = DiskAddReg

[DiskAddReg]
HKR, "Parameters", "BreakOnEntry", %REG_DWORD%, 0x00000000
HKR, "Parameters", "DebugLevel",   %REG_DWORD%, 0x00000005
HKR, "Parameters", "DebugComp",    %REG_DWORD%, 0xFFFFFFFF
; HKR, "Parameters", "VolumeID",     %REG_DWORD%, 0xabcd5678
; HKR, "Parameters", "LoadImage",    %REG_DWORD%, 0x00000001
; HKR, "Parameters", "Format",       %REG_SZ%,    "NTFS"
; HKR, "Parameters", "DiskSize",     %REG_BINARY%,00,00,00,02,00,00,00,00
; HKR, "Parameters", "AutoResize",   %REG_DWORD%, 0x00000001
HKR, "Parameters", "MDLPGExcludedMap"  , %REG_BINARY_NO_REPLACE%, 00,00,00,00,00,00,00,00,00,00,00,07,E0,00,00,00
HKR, "Parameters", "UseMMXInstructions", %REG_DWORD%, 0x00000001
HKR, "Parameters", "UseMountManager"   , %REG_DWORD%, 0x00000001
HKR, "ImageFileProcessing", "ProgramPath", %REG_SZ%, "%11%\RAMDiskImage.exe"


[Strings]
QSOFT           = "WinRamTech"
ClassName       = "RAM Drive"
DiskDevDesc     = "WinRamTech RAMDisk Enterprise (x86)"
DiskServiceDesc = "WinRamTech RAMDisk Enterprise (x86)"
InstDisk        = "RAMDrive Disque d’ Installation"
;*******************************************
;Handy macro substitutions (non-localizable)
SPSVCINST_ASSOCSERVICE = 0x00000002
SERVICE_KERNEL_DRIVER  = 1
SERVICE_START          = 2
SERVICE_ERROR_NORMAL   = 1
REG_BINARY             = 0x00000001
REG_DWORD              = 0x00010001
REG_SZ                 = 0x00000000
REG_MULTI_SZ           = 0x00010000
REG_EXPAND_SZ          = 0x00020000
REG_BINARY_NO_REPLACE  = 0x00000003
REG_DWORD_NO_REPLACE   = 0x00010003
REG_SZ_NO_REPLACE      = 0x00000002
REG_MULTI_SZ_NO_REPL   = 0x00010002
REG_EXPAND_SZ_NO_REPL  = 0x00020002
COPYFLG_NOSKIP         = 2	
