home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1998 July & August
/
Pcwk78a98.iso
/
Micrsoft
/
DEPLOY
/
PASETUP.EXE
/
RCDATA
/
CABINET
/
cpshost.inf
< prev
next >
Wrap
Windows Setup INFormation
|
1998-02-11
|
3KB
|
109 lines
;
; INF for Posting Acceptor 2.0 (beta) installation
; Copyright (c) 1997 Microsoft Corporation
;
[version]
signature = "$CHICAGO$"
AdvancedINF = 2.5,"%ERROR_WRONG_ADVPACK_VERSION%"
; Install instructions
[DefaultInstall]
RequiredEngine = SETUPAPI,%ERROR_ENGINE_NOTFOUND%
CustomDestination = CustCPSDestDir
CopyFiles = cps.sys.files,cps.inf.files,cps.scripts.files
RegisterOCXs = self.registering.dlls
AddReg = cps.reg
RunPreSetupCommands = RunPreSetupCommandsSection
; Custom installation sections
[CustCPSDestDir]
49000,49001 = HTMLRootDir,21
49100,49101 = HTMLScriptsDir,21
[HTMLRootDir]
HKLM,"Software\Microsoft\WebPost\Acceptors\CPSHost","HtmlRoot",,%DEFAULT_WWWROOT_DIR%,
[HTMLScriptsDir]
HKLM,"Software\Microsoft\WebPost\Acceptors\CPSHost","HtmlScripts",,%DEFAULT_SCRIPTS_DIR%,
; Pre-setup commands section
[RunPreSetupCommandsSection]
"CPSDIR.EXE"
[DestinationDirs]
cps.sys.files = 11 ; LDID_SYS
cps.inf.files = 17 ; LDID_INF
cps.scripts.files = 49100 ; LDID_HTML_SCRIPTS
[cps.sys.files]
RINSTEXE.EXE,,,32
RINSTALL.DLL,,,32
VJREG.EXE,,,32
MTSREG.EXE,,,32
[cps.inf.files]
CPSHOST.INF
CPSDIR.EXE
[cps.scripts.files]
CPSHOST.DLL
POSTINFO.ASP
[self.registering.dlls]
%11%\RINSTALL.DLL
[SourceDisksFiles]
RINSTEXE.EXE = 55
RINSTALL.DLL = 55
CPSHOST.INF = 55
CPSDIR.EXE = 55
CPSHOST.DLL = 55
POSTINFO.ASP = 55
VJREG.EXE = 55
MTSREG.EXE = 55
[SourceDisksNames]
55 = %CPS_DISK%,cpshost.cab,0
[cps.reg]
HKLM,"Software\Microsoft\Windows\CurrentVersion\Uninstall\CPSHost","DisplayName",,%CPS_APPNAME%
HKLM,"Software\Microsoft\Windows\CurrentVersion\Uninstall\CPSHost","QuietUninstallString",,"RunDll32 ADVPACK.DLL,LaunchINFSection %17%\cpshost.inf,CPSHostUninstall,5"
HKLM,"Software\Microsoft\Windows\CurrentVersion\Uninstall\CPSHost","RequiresIESysFile",,"0"
HKLM,"Software\Microsoft\Windows\CurrentVersion\Uninstall\CPSHost","UninstallString",,"RunDll32 ADVPACK.DLL,LaunchINFSection %17%\cpshost.inf,CPSHostUninstall"
HKLM,"Software\Microsoft\WebPost\Acceptors\CPSHost","HtmlRoot",,%49001%
HKLM,"Software\Microsoft\WebPost\Acceptors\CPSHost","HtmlScripts",,%49101%
; Uninstallation instructions
[CPSHostUninstall]
BeginPrompt = UninstallPrompt
CustomDestination = CustCPSDestDir
DelReg = cps.reg,uninstall.reg
DelFiles = cps.sys.files,cps.scripts.files,cps.inf.files
UnRegisterOCXs = self.registering.dlls
Cleanup = 1
[UninstallPrompt]
Prompt = "%UNINSTALL_PROMPT%"
ButtonType = YESNO
Title = "%CPS_APPNAME%"
[uninstall.reg]
HKLM,"Software\Microsoft\WebPost\Acceptors\CPSHost",,,
HKLM,"SYSTEM\CurrentControlSet\Services\CPSHOST",,,
HKLM,"Software\Microsoft\Windows\CurrentVersion\Uninstall\CPSHost",,,
[strings]
; Don't localize these
DEFAULT_WWWROOT_DIR = "C:\InetPub\wwwroot"
DEFAULT_SCRIPTS_DIR = "C:\InetPub\scripts"
; Do localize these
ERROR_WRONG_ADVPACK_VERSION = "Cannot find the required setup engine. Aborting..."
ERROR_ENGINE_NOTFOUND = "You need a newer version of SETUPAPI.DLL"
CPS_APPNAME = "Microsoft Posting Acceptor 2.0 (beta)"
CPS_DISK = "Microsoft Posting Acceptor disk"
UNINSTALL_PROMPT = "This will remove Microsoft Posting Acceptor 2.0 (beta) from your computer. Do you wish to proceed?"