[Version] Signature = "$Windows NT$" Class = LegacyDriver ;This is determined by the work this filter driver does ClassGuid = {8ecc055d-047f-11d1-a537-0000f8753ed1} Provider = %AVST% CatalogFile = aswrdr2.cat DriverVer=10/03/2012,1.0.599.13212 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Uninstall ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;All OS [DefaultUninstall] DelFiles = aswrdr.DriverFiles [DefaultUninstall.Services] DelService = aswrdr,0x200 ; SPSVCINST_STOPSERVICE ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Install ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; not support [DefaultInstall.NTx86] CopyFiles = FilesWin7 [DefaultInstall.NTx86.Services] AddService = aswrdr,,aswrdr.Service [DefaultInstall.NTamd64] CopyFiles = FilesWin764 [DefaultInstall.NTamd64.Services] AddService = aswrdr,,aswrdr.Service ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;Windows 7 [aswrdr.NTx86] CopyFiles = FilesWin7 [FilesWin7] aswrdr2.sys,\x86\aswrdr2.sys,,2 [aswrdr.NTx86.Services] AddService = aswrdr,,aswrdr.Service ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;Windows 7 x64 [aswrdr.NTamd64] CopyFiles = FilesWin764 [FilesWin764] aswrdr2.sys,\x64\aswrdr2.sys,,2 [aswrdr.NTamd64.Services] AddService = aswrdr,,aswrdr.Service ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Copy locations ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; [DestinationDirs] DefaultDestDir = 12 ; Copy to \System32 aswrdr.DriverFiles = 12 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Source Files Location ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; [aswrdr.DriverFiles] aswrdr2.sys,,,0x00000040 ; COPYFLG_OVERWRITE_OLDER_ONLY [SourceDisksNames] 1 = %ServiceDesc%,,, [SourceDisksFiles] ; filename_on_source = diskID[, [subdir][, size]] aswrdr2.inf = 1, "" aswrdr2.sys = 1, \x86 aswrdr2.sys = 1, \x64 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Services installation ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; [aswrdr.Service] DisplayName = %ServiceName% Description = %ServiceDesc% ServiceType = %SERVICE_KERNEL_DRIVER% StartType = %SERVICE_DEMAND_START% ErrorControl = %SERVICE_ERROR_NORMAL% ServiceBinary = %12%\aswrdr2.sys ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Strings ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; [Strings] ;Localizable Strings AVST = "Avast" ServiceName = "aswRdr" ServiceDesc = "avast! WFP Redirect driver" ;Non Localizable Strings SERVICE_BOOT_START = 0x0 SERVICE_SYSTEM_START = 0x1 SERVICE_AUTO_START = 0x2 SERVICE_DEMAND_START = 0x3 SERVICE_DISABLED = 0x4 SERVICE_KERNEL_DRIVER = 0x1 SERVICE_ERROR_IGNORE = 0x0 SERVICE_ERROR_NORMAL = 0x1 SERVICE_ERROR_SEVERE = 0x2 SERVICE_ERROR_CRITICAL = 0x3 REG_EXPAND_SZ = 0x00020000 REG_DWORD = 0x00010001