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 >
Windows Setup INFormation  |  1998-02-11  |  3KB  |  109 lines

  1. ;                                                    
  2. ;    INF for Posting Acceptor 2.0 (beta) installation
  3. ;    Copyright (c) 1997 Microsoft Corporation
  4. ;
  5.  
  6. [version]
  7. signature        = "$CHICAGO$"
  8. AdvancedINF        = 2.5,"%ERROR_WRONG_ADVPACK_VERSION%" 
  9.  
  10. ;    Install instructions
  11. [DefaultInstall]
  12. RequiredEngine        = SETUPAPI,%ERROR_ENGINE_NOTFOUND%
  13. CustomDestination    = CustCPSDestDir
  14. CopyFiles        = cps.sys.files,cps.inf.files,cps.scripts.files
  15. RegisterOCXs        = self.registering.dlls
  16. AddReg            = cps.reg
  17. RunPreSetupCommands    = RunPreSetupCommandsSection
  18.  
  19.  
  20. ;    Custom installation sections
  21. [CustCPSDestDir]
  22. 49000,49001 = HTMLRootDir,21
  23. 49100,49101 = HTMLScriptsDir,21
  24.  
  25. [HTMLRootDir]
  26. HKLM,"Software\Microsoft\WebPost\Acceptors\CPSHost","HtmlRoot",,%DEFAULT_WWWROOT_DIR%,
  27.  
  28. [HTMLScriptsDir]
  29. HKLM,"Software\Microsoft\WebPost\Acceptors\CPSHost","HtmlScripts",,%DEFAULT_SCRIPTS_DIR%,
  30.  
  31. ;    Pre-setup commands section
  32. [RunPreSetupCommandsSection]
  33. "CPSDIR.EXE"
  34.  
  35. [DestinationDirs]
  36. cps.sys.files        = 11 ; LDID_SYS
  37. cps.inf.files         = 17 ; LDID_INF
  38. cps.scripts.files    = 49100 ; LDID_HTML_SCRIPTS
  39.  
  40. [cps.sys.files]
  41. RINSTEXE.EXE,,,32
  42. RINSTALL.DLL,,,32
  43. VJREG.EXE,,,32
  44. MTSREG.EXE,,,32
  45.  
  46. [cps.inf.files]
  47. CPSHOST.INF
  48. CPSDIR.EXE
  49.  
  50. [cps.scripts.files]
  51. CPSHOST.DLL
  52. POSTINFO.ASP
  53.  
  54. [self.registering.dlls]    
  55. %11%\RINSTALL.DLL
  56.  
  57. [SourceDisksFiles]
  58. RINSTEXE.EXE    = 55
  59. RINSTALL.DLL    = 55
  60. CPSHOST.INF    = 55
  61. CPSDIR.EXE    = 55
  62. CPSHOST.DLL    = 55
  63. POSTINFO.ASP    = 55
  64. VJREG.EXE    = 55
  65. MTSREG.EXE    = 55
  66.  
  67. [SourceDisksNames]
  68. 55        = %CPS_DISK%,cpshost.cab,0
  69.  
  70. [cps.reg]
  71. HKLM,"Software\Microsoft\Windows\CurrentVersion\Uninstall\CPSHost","DisplayName",,%CPS_APPNAME%
  72. HKLM,"Software\Microsoft\Windows\CurrentVersion\Uninstall\CPSHost","QuietUninstallString",,"RunDll32 ADVPACK.DLL,LaunchINFSection %17%\cpshost.inf,CPSHostUninstall,5"
  73. HKLM,"Software\Microsoft\Windows\CurrentVersion\Uninstall\CPSHost","RequiresIESysFile",,"0"
  74. HKLM,"Software\Microsoft\Windows\CurrentVersion\Uninstall\CPSHost","UninstallString",,"RunDll32 ADVPACK.DLL,LaunchINFSection %17%\cpshost.inf,CPSHostUninstall"
  75. HKLM,"Software\Microsoft\WebPost\Acceptors\CPSHost","HtmlRoot",,%49001%
  76. HKLM,"Software\Microsoft\WebPost\Acceptors\CPSHost","HtmlScripts",,%49101%
  77.    
  78.  
  79. ;    Uninstallation instructions
  80. [CPSHostUninstall]
  81. BeginPrompt        = UninstallPrompt
  82. CustomDestination    = CustCPSDestDir
  83. DelReg            = cps.reg,uninstall.reg
  84. DelFiles        = cps.sys.files,cps.scripts.files,cps.inf.files
  85. UnRegisterOCXs        = self.registering.dlls
  86. Cleanup            = 1
  87.  
  88. [UninstallPrompt]
  89. Prompt            = "%UNINSTALL_PROMPT%"
  90. ButtonType        = YESNO
  91. Title            = "%CPS_APPNAME%"
  92.  
  93. [uninstall.reg]
  94. HKLM,"Software\Microsoft\WebPost\Acceptors\CPSHost",,,
  95. HKLM,"SYSTEM\CurrentControlSet\Services\CPSHOST",,,
  96. HKLM,"Software\Microsoft\Windows\CurrentVersion\Uninstall\CPSHost",,,
  97.  
  98. [strings]
  99. ; Don't localize these
  100. DEFAULT_WWWROOT_DIR        = "C:\InetPub\wwwroot"
  101. DEFAULT_SCRIPTS_DIR        = "C:\InetPub\scripts"
  102.  
  103. ; Do localize these
  104. ERROR_WRONG_ADVPACK_VERSION    = "Cannot find the required setup engine. Aborting..."
  105. ERROR_ENGINE_NOTFOUND        = "You need a newer version of SETUPAPI.DLL"
  106. CPS_APPNAME            = "Microsoft Posting Acceptor 2.0 (beta)"
  107. CPS_DISK            = "Microsoft Posting Acceptor disk"
  108. UNINSTALL_PROMPT        = "This will remove Microsoft Posting Acceptor 2.0 (beta) from your computer. Do you wish to proceed?"
  109.