;RegTweak 

[version]
signature="$CHICAGO$"

[InstallWin98]
DelFiles  = Taskbar, ThisFile, TheDll, HelpFile, WIYP, Uninstall
CopyFiles = ThisFile,  Taskbar, TheDll, HelpFile, WIYP, Uninstall
DelReg    = RegTweak.UnReg
AddReg    = RegTweakMinimal.Reg
AddReg    = RegTweakCommon.Reg
AddReg    = RegTweakW98.Reg

[InstallWin95]
DelFiles  = Taskbar, ThisFile, TheDll, HelpFile, WIYP, Uninstall
CopyFiles = ThisFile,  Taskbar, TheDll, HelpFile, WIYP, Uninstall
DelReg    = RegTweak.UnReg
AddReg    = RegTweakMinimal.Reg
AddReg    = RegTweakCommon.Reg
AddReg    = RegTweakW95.Reg

[InstallWinNT]
DelFiles  = Taskbar, ThisFile, TheDll, HelpFile, WIYP, Uninstall
CopyFiles = ThisFile,  Taskbar, TheDll, HelpFile, WIYP, Uninstall
DelReg    = RegTweak.UnReg
AddReg    = RegTweakMinimal.Reg
AddReg    = RegTweakCommon.Reg

[InstallWin2K]
DelFiles  = Taskbar, ThisFile, TheDll, HelpFile, WIYP, Uninstall
CopyFiles = ThisFile,  Taskbar, TheDll, HelpFile, WIYP, Uninstall
DelReg    = RegTweak.UnReg
AddReg    = RegTweakMinimal.Reg
AddReg    = RegTweakCommon.Reg
AddReg    = RegTweakW2K.Reg

[InstallWinXP]
DelFiles  = Taskbar, ThisFile, TheDll, HelpFile, WIYP, Uninstall
CopyFiles = ThisFile,  Taskbar, TheDll, HelpFile, WIYP, Uninstall
DelReg    = RegTweak.UnReg
AddReg    = RegTweakMinimal.Reg
AddReg    = RegTweakCommon.Reg
AddReg    = RegTweakW2K.Reg

[DefaultInstall]
DelFiles  = Taskbar, ThisFile, TheDll, HelpFile, WIYP, Uninstall
CopyFiles = ThisFile,  Taskbar, TheDll, HelpFile, WIYP, Uninstall
DelReg    = RegTweak.UnReg
AddReg    = RegTweakMinimal.Reg
AddReg    = RegTweakCommon.Reg

[DefaultUnInstall]
DelFiles  = Taskbar, ThisFile, TheDll, HelpFile, WIYP, Uninstall, DataFile
DelReg    = RegTweak.UnReg

[MinimalInstall]
AddReg    = RegTweakMinimal.Reg
CopyFiles = ThisFile, Taskbar, WIYP, Uninstall

[DestinationDirs]
WIYP=32768
Taskbar=32768
ThisFile=32768
HelpFile=18
Uninstall=32768
TheDll=32768
DataFile=32768

[SourceDisksNames]
55=%DescName%,"",%01%

[SourceDisksFiles]
install.inf=55,,
RegTwk.dll=55,,
RegTwk.exe=55,,
R3DSetup.exe=55,,
regtwk.ico=55,,
wiyp.exe=55,,
r6probe.sys=55,,

[Taskbar]
RegTwk.exe, RegTwk.ex_, RegTwkEXE.new, 5
regtwk.ico, regtwk.ic_,,5

[WIYP]
wiyp.exe, wiyp.ex_,,5
probe.sys, probe.sy_,,5

[TheDll]
RegTwk.dll, RegTwk.dl_, RegTwkDLL.new, 5
;RegTwk.cpl, RegTwk.dl_, RegTwkCPL.new, 5

[DataFile]
RegTwk.dat,,,5

[Uninstall]
R3DUnst.exe, R3DSetup.exe,,5
install.bmp,,,5
uninstall.bmp,,,5
installlog.txt,,,5

[HelpFile]
RegTwk.chm,,,5

[ThisFile]
install.inf,select.set,,5

;[SharedDlls]
;RegTwk.dll

[RegTweakMinimal.Reg]
HKR,%Run%,RegTweak,,"%32768%\RegTwk.exe"
HKR,%root%,"Taskbar Caption",,"%DescName_Taskbar%"
HKR,%root%,"Taskbar Icon",,"%32768%\regtwk.ico"
HKLM,"%root%", "Supported Devices",,"%SupportedVideoCards%"
HKLM,"%root%", "IgnoreVideoDeviceIDs",,"%IgnoreVideoDeviceIDs%"

[RegTweakCommon.Reg]
HKCR,CLSID\%GUID%,,,%DescName%
HKCR,CLSID\%GUID%\InProcServer32,,,%32768%\RegTwk.dll
HKCR,CLSID\%GUID%\InProcServer32,ThreadingModel,,Apartment
HKCR,CLSID\%GUID%\ProgID,,,%ClassName%
HKLM,Software\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved,%GUID%,,%DescName%

[RegTweakW98.Reg]
HKLM,%win98%\%InstKey%,,,%GUID%

[RegTweakW95.Reg]
HKLM,%win95%\%InstKey%,,,%GUID%

[RegTweakW2K.Reg]
HKLM,%win2k%\%InstKey%,,,%GUID%

[RegTweak.UnReg]
HKCR,CLSID\%GUID%
HKLM,%UnInstKey%
HKR,%Run%,RegTweak
HKLM,%win95%\%InstKey%
HKLM,%win98%\%InstKey%

[strings]

UseHiveFile="yes"

InstallLogo=install.bmp
UninstallLogo=uninstall.bmp
RunMeFirst="Readme\Readme.htm"
EULAText = "ReadMe\eula.rtf"

SetVideoDeviceID = "CardModel"

SupportedVideoCards = "4144 4152 4150 4145 4146 4148 4e44 4e46 4e45 4e47 4e48 4e49 4966 4967 4c66 4c67 514c 514d 514e 514f 4242 5157 4c57 5159 515A 5144 5145 5146 5147 4c59 4c5a 5961 5941 5960 5964 5d44 5d40 4e69 4168"
IgnoreVideoDeviceIDs = "4164 4e64 4e65 496e 496f 4c6f 5941 5940 4172 4170 4e68 5d44 5d40 4e69 4168"
RedundantVideoDeviceIDs = "4e44 4144 4145 4146 4e45 4e46 4e47 4e48 4152 4150 4e48 4e49 4148, 4966 4967 4c66 4c67 5961 5960 5964, 514c 514d 514e 514f, 5144 5145 5146 5147, 5159 515a, 4c59 4c5a"

;9500_9700_Series = 4e44
;9000_Series = 4966
;AIW_8500DV = 4242
;8500_Series = 514c
;7500_Series = 5157
;7200_Series = 5144
;7000_Series = 5159
;M7_Series = 4c57
;M6_Series = 4c59

;7xxx_Series = "5159 5144 5157 4c57 4c59"
;8xxx_Series = "514c 4242 4966"

;ASIC ID
;8500       : 514C
;7500       : 5157
;7000       : 5159
;9000       : 4966/496E
;9700p      : 4E44
;9700       : 4E45
;9500       : 4144
;RV280p     : 5960
;RV280le    : 5961
;9600       : 4152
;9600sec    : 4172
;9600pro    : 4150 
;9600pro sec: 4170
;9800       : 4e48
;9800sec    : 4e68
;R350       : 4e48

;ForceMultiUser = "true"
;ForceSingleUser = "true"
;ShowLog="yes"
NoBatFile="true"
;NoLog="true"
;SilentInstall="true"
BackgroundLogo="setup.bmp"
ClassName=RegTweak"
infile="install.inf"
UninstExe = "R3DUnst.exe"
GUID="{BEB5F380-5501-11d3-BFDE-ADC2F2AAE920}"
AlreadyInstalled="Software\Microsoft\Windows\CurrentVersion\Uninstall\Rage3DTweak"
AlreadyInstalledAlert="A previous installation of Registry Tweak (Rage3D Tweak Engine) detected.|If you are upgrading you should uninstall the previous version."
root="Software\Registry Tweak"

AddToStartMenu0="r3dunst.exe, Select Skin"
AddToStartMenu1="wiyp.exe, Troubleshoot Overclocking"

win95="SOFTWARE\Microsoft\Windows\CurrentVersion\Controls Folder\Display\ShellEx\PropertySheetHandlers"
win98="SOFTWARE\Microsoft\Windows\CurrentVersion\Controls Folder\Device\ShellEx\PropertySheetHandlers" 
win2k="SOFTWARE\Microsoft\Windows\CurrentVersion\Controls Folder\Display\ShellEx\PropertySheetHandlers" 

InstKey="RegTweak"
UnInstKey="Software\Microsoft\Windows\CurrentVersion\Uninstall\RegTweak"
Run="SOFTWARE\Microsoft\Windows\CurrentVersion\Run"

SetupName="Rage3D Setup"
DescName="Rage3DTweak"
DescName_Taskbar="Rage3D Tweak v3.9"
