home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 24 DOS / 24-DOS.zip / 4dos600.zip / JP4DOS.INF < prev    next >
Windows Setup INFormation  |  1997-07-30  |  3KB  |  83 lines

  1. ; JP4DOS.INF
  2. ; 24-Jul-97
  3. ; ------------------------------------------------------------------------
  4. ;
  5. ; Customizes a few Windows 95 functions to best take advantage of features
  6. ; provided by JP Software's 4DOS command processor:
  7. ;
  8. ; 1.  Creates a new "4DOS Prompt here" entry in the context menu of drives
  9. ;     and directories.  Selecting that option will launch 4DOS in that
  10. ;     drive or directory.
  11. ;
  12. ; 2.  Extends Windows' definition of a "batch file" to include *.BTM
  13. ;     files, including the ability to double-click on a *.BTM to execute
  14. ;     it with the default DOS command processor (presumably 4DOS).
  15. ;
  16. ; 3.  Provides an additional "open" option in the context menu of all
  17. ;     batch files (.BAT and .BTM) to run the file with 4DOS.
  18. ;
  19. ; 4.  Includes itself among the features that can be "uninstalled" via the
  20. ;     Windows Control Panel.
  21. ;
  22. ; ------------------------------------------------------------------------
  23. ;
  24. ; Normally this file is installed automatically during the 4DOS
  25. ; installation process.
  26. ;
  27. ; TO INSTALL MANUALLY:  Make sure this file is in the same directory as
  28. ; 4DOS.COM, right-click on the file name from a Windows Explorer window,
  29. ; and select the "Install" option on the popup menu.
  30. ;
  31. ; TO REMOVE:  Use the Control Panel's "Install/Remove Programs" menu.
  32. ;
  33. ; ------------------------------------------------------------------------
  34. ;
  35. [Strings]
  36. REMOVE_DESC = "JP Software's 4DOS Registry Extensions (remove only)"
  37. PRODUCT = "4DOS"
  38. LONG_NAME = "4DOS Prompt"
  39. RUN_STRING = "4DOS.COM"
  40. DESC_STRING = "&4DOS"
  41.  
  42. [CopyFiles.Inf]
  43. JP4DOS.INF
  44.  
  45. [SourceDisksFiles]
  46. JP4DOS.INF = 55
  47.  
  48. [SourceDisksNames]
  49. 55 = "","",1
  50.  
  51. [version]
  52. Signature = "$CHICAGO$"
  53. Provider = "JP Software, Inc."
  54.  
  55. [DefaultInstall]
  56. AddReg = Registry.Add
  57. CopyFiles = CopyFiles.Inf
  58.  
  59. [DefaultUninstall]
  60. DelReg = Registry.Add
  61. DelFiles = CopyFiles.Inf
  62.  
  63. [DefaultInstall.ntx86]
  64.  
  65. [DefaultUninstall.ntx86]
  66.  
  67. [DestinationDirs]
  68. CopyFiles.Inf = 17
  69.  
  70. [Registry.Add]
  71. HKLM,Software\Classes\.btm,,,"batfile"
  72. HKCR,Drive\Shell\%PRODUCT%,,,"&%LONG_NAME% here"
  73. HKCR,Drive\Shell\%PRODUCT%\command,,,"%01%\%RUN_STRING% /k *cdd %1"
  74. HKCR,Directory\Shell\%PRODUCT%,,,"&%LONG_NAME% here"
  75. HKCR,Directory\Shell\%PRODUCT%\command,,,"%01%\%RUN_STRING% /k *cdd %1"
  76. HKLM,Software\Classes\batfile\shell\%PRODUCT%,,,"Open with %DESC_STRING%"
  77. HKLM,Software\Classes\batfile\shell\%PRODUCT%\command,,,"%01%\%RUN_STRING% /c ""%%1"" %*"
  78. HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\JP%PRODUCT%
  79. HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\JP%PRODUCT%,DisplayName,,"%REMOVE_DESC%"
  80. HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\JP%PRODUCT%,UninstallString,,"%10%\RunDll.exe setupx.dll,InstallHinfSection DefaultUninstall 4 %17%\JP%PRODUCT%.INF"
  81.  
  82. [eof]
  83.