; Authors: Felix, Jesse.
; installs QuickRes

[version]
signature="$CHICAGO$"

[DefaultInstall]
CopyFiles=QCD.copy.prog, QCD.copy.hlp, QCD.copy.win, QCD.copy.sys, QCD.copy.inf
UpdateInis=QCD.Links
AddReg=QuickRes.AddReg

[QuickResInstall]
CopyFiles=QCD.copy.prog, QCD.copy.hlp, QCD.copy.win, QCD.copy.sys, QCD.copy.inf
UpdateInis=QCD.Links
AddReg=QuickRes.AddReg

[DefaultUninstall]
DelReg = QuickRes.AddReg
DelFiles=QCD.copy.prog, QCD.copy.hlp, QCD.copy.win, QCD.copy.sys, QCD.copy.inf
UpdateInis=QuickRes.Del.Inis

[QuickRes_remove]
DelReg = QuickRes.AddReg
DelFiles=QCD.copy.prog, QCD.copy.hlp, QCD.copy.win, QCD.copy.sys, QCD.copy.inf
UpdateInis = QuickRes.Del.Inis

[QuickRes.AddReg]
HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\QuickRes,DisplayName,,"%QCD_DESC%"
HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\QuickRes,UninstallString,,"RunDll setupx.dll,InstallHinfSection QuickRes_remove 4 QuickRes.inf"

[QCD.copy.prog]

[QCD.copy.win]
QuickRes.exe

[QCD.copy.sys]

[QCD.copy.hlp]

[QCD.copy.inf]
QuickRes.inf

[Strings]
PROGRAMF     = "Progra~1"                    ; Wrong!
QCDPROG      = "QuickRes"                    ;
QCDPROG_LOCN = "Accessories\Multimedia"      ; shortcut location
QCD_Desc     = "QuickRes"                    ; shortcut name
QCD_ShortDesc= "QuickRes"                    ; details view
StartUp_DESC = "Startup"

[DestinationDirs]
QCD.copy.sys=11
QCD.copy.hlp=18
QCD.copy.prog=24,%PROGRAMF%\%QCDPROG%
QCD.copy.win=25
QCD.copy.inf=17

[SourceDisksNames]
55="Todd's QuickRes shell extension","",1

[SourceDisksFiles]
QuickRes.exe=55

[QCD.Links]
setup.ini, progman.groups,, "group1=%StartUp_DESC%"
setup.ini, group1,, """%QCD_Desc%"", ""%25%\QuickRes.Exe"",,,,,%QCD_ShortDesc%"

[QUickRes.Del.Inis]
setup.ini, progman.groups,, "group1=%StartUp_DESC%"
setup.ini, group1,, """%QCD_DESC%"""
