home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 April / CMCD0404.ISO / Software / Demo / PCDUO / data1.cab / Client_ActiveX_Control_Files / PCIAX.CAB / pciax.inf < prev    next >
Encoding:
Windows Setup INFormation  |  2001-10-01  |  2.3 KB  |  74 lines

  1. ; Inf file to install and register NetSupport Active Control 1.0
  2. ; Copyright (c) PCI Ltd, 1999 - Rob Hawkins 
  3.  
  4. [Version]
  5. Signature="$Chicago$" 
  6. AdvancedINF=2.5
  7.  
  8. ; Copies files, adds entries to the registry and registers the component
  9. [DefaultInstall]
  10. CopyFiles=PCIAXFiles, inffile 
  11. AddReg=PCIAX.AddReg
  12. RegisterOCXs=RegisterOCXSection
  13.  
  14.  
  15. ; Deletes files, removes entries from the registry and unregisters the component
  16. ; cleanup=1 means delete the inf file when complete.
  17. [DefaultUninstall]
  18. Delfiles=PCIAXFiles, inffile
  19. DelReg=PCIAX.DelReg
  20. UnRegisterOCXs=UnRegisterOCXSection
  21.  
  22. ; Register these components (just PCIAX.DLL in our case)
  23. [RegisterOCXSection]
  24. %11%\PCIAX\pciax.dll
  25.  
  26. ; Unregister these componets (just PCIAX.DLL in our case)
  27. [UnRegisterOCXSection]
  28. %11%\PCIAX\pciax.dll
  29.  
  30. ; Add these entries to the registry, this sets up the Uninstall information
  31. [PCIAX.AddReg]
  32. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\NetSupport_AxC,"DisplayName",,"%ProductName%"
  33. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\NetSupport_AxC,"UninstallString",,"RunDll32 setupapi,InstallHinfSection DefaultUninstall 132 %11%\PCIAX\pciax.inf"
  34.  
  35. ; Delete these entries from the registry, this deletes the Uninstall information
  36. [PCIAX.DelReg]
  37. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\NetSupport_AxC,,,
  38. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\NetSupport_AxC,"DisplayName",,"%ProductName%"
  39. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\NetSupport_AxC,"UninstallString",,"RunDll32 setupapi,InstallHinfSection DefaultUninstall 132 %11%\PCIAX\pciax.inf"
  40.  
  41. ; Source media (this cab file)
  42. [SourceDisksNames]
  43. 1="NetSupport Files","pciax.cab",0
  44.  
  45. ; Where the files are (all in the same 'disk' in our case)
  46. [SourceDisksFiles]
  47. pciax.dll=1
  48. tcctl32.dll=1
  49.  
  50. ; Copy these files
  51. [PCIAXFiles]
  52. pciax.dll,,,33
  53. tcctl32.dll,,,33
  54.  
  55. ; Copy our inf file
  56. [inffile]
  57. pciax.inf,,,33
  58.  
  59.  
  60. ; Destination for various files
  61. ; 11 = system(32) directory (so 11, PCIAX means install to \windows\system\PCIAX)
  62. ; 17 = inf directory
  63. [DestinationDirs]
  64. PCIAXFiles=11, PCIAX
  65. inffile=11, PCIAX
  66.  
  67.  
  68. ; Define strings used in the INF
  69. [strings]
  70. productname   =   "NetSupport ActiveX Remote Control"
  71. GUID          =   "{04F26A51-3DA8-11D2-B8FC-00104B4F4F6A}"
  72. DefaultName   =   "NetSupport ActiveX Remote Control"
  73. ComponentID   =   "NetSupport"
  74.