home *** CD-ROM | disk | FTP | other *** search
/ BUG 12 / BUGCD1998_03.ISO / _desktop / _powerto / target.inf < prev    next >
INI File  |  1996-11-16  |  2KB  |  65 lines

  1. ; Author: GeorgeP.
  2. ; modified by t-ashm
  3.  
  4. [version]
  5. signature="$CHICAGO$"
  6. SetupClass=BASE
  7.  
  8. [DefaultInstall]
  9. CopyFiles=ThisDll.sys.install
  10. AddReg=ThisDll.Add.Reg,ThisDll.Uninst.Reg
  11.  
  12. [DefaultInstall.ntx86]
  13. CopyFiles=ThisDll.sys.install
  14. AddReg=ThisDll.Add.Reg,ThisDll.Uninst.Reg.NT
  15.  
  16. [TargetInstall]
  17. CopyFiles=ThisDll.sys.install
  18. AddReg=ThisDll.Add.Reg,ThisDll.Uninst.Reg
  19.  
  20. [Target_remove]
  21. DelFiles=ThisDll.sys.install
  22. DelReg=ThisDll.Add.Reg,ThisDll.Uninst.Reg
  23.  
  24. [ThisDll.Add.Reg]
  25. HKCR,CLSID\%GUID%,,,"%Target_DESC%"
  26.  
  27. HKCR,CLSID\%GUID%\InProcServer32,,,"%11%\%SubDir%\%ThisDll%"
  28. HKCR,CLSID\%GUID%\InProcServer32,ThreadingModel,,"Apartment"
  29.  
  30. HKLM,Software\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved,%GUID%,,"%Target_DESC%"
  31.  
  32. HKCR,lnkfile\ShellEx\ContextMenuHandlers\TargetContext,,,"%GUID%"
  33. HKCR,piffile\ShellEx\ContextMenuHandlers\TargetContext,,,"%GUID%"
  34.  
  35. [ThisDll.Uninst.Reg]
  36. HKLM,%UNINST%,,,
  37. HKLM,%UNINST%,"DisplayName",,%Target_Uninst_DESC%
  38. HKLM,%UNINST%,"UninstallString",,"RunDll setupx.dll,InstallHinfSection Target_remove 4 %11%\%SubDir%\target.inf"
  39.  
  40. [ThisDll.Uninst.Reg.NT]
  41. HKLM,%UNINST%,,,
  42. HKLM,%UNINST%,"DisplayName",,%Target_Uninst_DESC%
  43. HKLM,%UNINST%,"UninstallString",,"RunDll32.exe syssetup.dll,SetupInfObjectInstallAction Target_remove 4 %11%\%SubDir%\target.inf"
  44.  
  45. [ThisDll.sys.install]
  46. Target.dll
  47. Target.inf
  48.  
  49. [DestinationDirs]
  50. ThisDll.sys.install=11,%SubDir% ; to System\%SubDir%
  51.  
  52. [SourceDisksNames]
  53. 55="Target Context 1.2.","",1
  54.  
  55. [SourceDisksFiles]
  56. %ThisDll%=55
  57.  
  58. [Strings]
  59. Target_DESC = "Target Context Menu"
  60. Target_Uninst_DESC = "Target Context Menu (Remove Only)"
  61. SubDir = "ShellExt"
  62. ThisDll = "target.dll"
  63. GUID="{90A756E0-AFCF-11CE-927B-0800095AE340}"
  64. UNINST="Software\Microsoft\Windows\CurrentVersion\Uninstall\MSTargetContextSubmenu"
  65.