home *** CD-ROM | disk | FTP | other *** search
- ; Inf file to install and register NetSupport Active Control 1.0
- ; Copyright (c) PCI Ltd, 1999 - Rob Hawkins
-
- [Version]
- Signature="$Chicago$"
- AdvancedINF=2.5
-
- ; Copies files, adds entries to the registry and registers the component
- [DefaultInstall]
- CopyFiles=PCIAXFiles, inffile
- AddReg=PCIAX.AddReg
- RegisterOCXs=RegisterOCXSection
-
-
- ; Deletes files, removes entries from the registry and unregisters the component
- ; cleanup=1 means delete the inf file when complete.
- [DefaultUninstall]
- Delfiles=PCIAXFiles, inffile
- DelReg=PCIAX.DelReg
- UnRegisterOCXs=UnRegisterOCXSection
-
- ; Register these components (just PCIAX.DLL in our case)
- [RegisterOCXSection]
- %11%\PCIAX\pciax.dll
-
- ; Unregister these componets (just PCIAX.DLL in our case)
- [UnRegisterOCXSection]
- %11%\PCIAX\pciax.dll
-
- ; Add these entries to the registry, this sets up the Uninstall information
- [PCIAX.AddReg]
- HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\NetSupport_AxC,"DisplayName",,"%ProductName%"
- HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\NetSupport_AxC,"UninstallString",,"RunDll32 setupapi,InstallHinfSection DefaultUninstall 132 %11%\PCIAX\pciax.inf"
-
- ; Delete these entries from the registry, this deletes the Uninstall information
- [PCIAX.DelReg]
- HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\NetSupport_AxC,,,
- HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\NetSupport_AxC,"DisplayName",,"%ProductName%"
- HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\NetSupport_AxC,"UninstallString",,"RunDll32 setupapi,InstallHinfSection DefaultUninstall 132 %11%\PCIAX\pciax.inf"
-
- ; Source media (this cab file)
- [SourceDisksNames]
- 1="NetSupport Files","pciax.cab",0
-
- ; Where the files are (all in the same 'disk' in our case)
- [SourceDisksFiles]
- pciax.dll=1
- tcctl32.dll=1
-
- ; Copy these files
- [PCIAXFiles]
- pciax.dll,,,33
- tcctl32.dll,,,33
-
- ; Copy our inf file
- [inffile]
- pciax.inf,,,33
-
-
- ; Destination for various files
- ; 11 = system(32) directory (so 11, PCIAX means install to \windows\system\PCIAX)
- ; 17 = inf directory
- [DestinationDirs]
- PCIAXFiles=11, PCIAX
- inffile=11, PCIAX
-
-
- ; Define strings used in the INF
- [strings]
- productname = "NetSupport ActiveX Remote Control"
- GUID = "{04F26A51-3DA8-11D2-B8FC-00104B4F4F6A}"
- DefaultName = "NetSupport ActiveX Remote Control"
- ComponentID = "NetSupport"
-