; Author: Eirik Hansen.

[version]
signature="$CHICAGO$"
SetupClass=BASE

[DefaultInstall]
CopyFiles=ThisDll.sys.install
AddReg=ThisDll.Add.Reg,ThisDll.Uninst.Reg

[DefaultUninstall]
DelFiles=ThisDll.sys.install
DelReg=ThisDll.Add.Reg,ThisDll.Uninst.Reg

[ThisDll.Add.Reg]
HKCR,CLSID\{42CCFF80-3DCF-11D0-8D4B-444553540000},
HKCR,CLSID\{42CCFF80-3DCF-11D0-8D4B-444553540000},,,"Eirik's productivity menu"

HKCR,CLSID\{42CCFF80-3DCF-11D0-8D4B-444553540000}\InProcServer32,,,"%11%\%SubDir%\%ThisDll%"
HKCR,CLSID\{42CCFF80-3DCF-11D0-8D4B-444553540000}\InProcServer32,ThreadingModel,,"Apartment"

HKCR,*\shellex\ContextMenuHandlers\{42CCFF80-3DCF-11D0-8D4B-444553540000},
HKCR,Folder\shellex\ContextMenuHandlers\{42CCFF80-3DCF-11D0-8D4B-444553540000},
HKCR,Directory\shellex\ContextMenuHandlers\{42CCFF80-3DCF-11D0-8D4B-444553540000},
HKCR,Drive\shellex\ContextMenuHandlers\{42CCFF80-3DCF-11D0-8D4B-444553540000},
HKCR,lnkfile\shellex\ContextMenuHandlers\{42CCFF80-3DCF-11D0-8D4B-444553540000},
HKCR,piffile\shellex\ContextMenuHandlers\{42CCFF80-3DCF-11D0-8D4B-444553540000},

[ThisDll.Uninst.Reg]
HKLM,SoftWare\Microsoft\Windows\CurrentVersion\Uninstall\PowerDREAM,,,
HKLM,SoftWare\Microsoft\Windows\CurrentVersion\Uninstall\PowerDREAM,"DisplayName",,"PowerDREAM v2.01e menu extention (uninstall)"
HKLM,SoftWare\Microsoft\Windows\CurrentVersion\Uninstall\PowerDREAM,"UninstallString",,"RunDll setupx.dll,InstallHinfSection DefaultUninstall 4 %11%\%SubDir%\PwrDREAM.inf"

[ThisDll.sys.install]
PwrDREAM.dll
PwrDREAM.inf
PwrDREAM.exe
PwrDREAM.rtf

[DestinationDirs]
ThisDll.sys.install=11,%SubDir% ; to System\%SubDir%

[SourceDisksNames]
55="PwrDREAM 2.0.","",1

[SourceDisksFiles]
%ThisDll%=55

[Strings]
SubDir = "ShellExt"
ThisDll = "PwrDREAM.dll"
