home *** CD-ROM | disk | FTP | other *** search
/ Dynamic HTML in Action / Dynamicke-HTML-v-akci-covermount.bin / Tools / jsdoc.exe / JSDOC.INF < prev    next >
Encoding:
Windows Setup INFormation  |  1998-10-26  |  3.2 KB  |  112 lines

  1. [Version]
  2. signature="$CHICAGO$"
  3. AdvancedINF=2.5,"You need a new version of advpack.dll"
  4.  
  5. [SourceDisksNames]
  6. ;1="%JScript V5 Documentation%",,1
  7. 1 = %JScript V5 Documentation%,Sample,0
  8.  
  9. [DefaultInstall]
  10. Copyfiles=JSdocFiles, InfSection
  11. AddReg=InstallJSdoc
  12. UpdateInis=AddLink 
  13. CustomDestination=MyCustomDestination
  14.  
  15. [DefaultInstall.NT]
  16. Copyfiles=JSdocFiles, InfSection
  17. AddReg=InstallJSdoc
  18. UpdateInis=AddLinkNT 
  19. CustomDestination=MyCustomDestination
  20.  
  21. [Uninstall]
  22. BeginPrompt=BeginPromptSection
  23. EndPrompt=EndPromptSection
  24. CustomDestination=UninstallDestination
  25. DelFiles=JSdocFiles
  26. Deldirs=RemoveFolder
  27. DelReg=DelRegSection
  28. UpdateInis=RemoveLink
  29. SmartReboot=I
  30. Cleanup=1
  31.  
  32. [BeginPromptSection]
  33. Prompt="%BeginPrompt%"
  34. ButtonType=YESNO
  35. Title="JScript V5 Documentation"
  36.  
  37. [EndPromptSection]
  38. Prompt="%EndPrompt%"
  39.  
  40. [JSdocFiles]
  41. JSCRIPT5.CHM
  42. JSDOC.INF
  43.  
  44. [InfSection]
  45. JSdoc.inf
  46.  
  47. [AddLinkNT]
  48. setup.ini, progman.groups,, ""group0="%ShortName%"""          
  49. setup.ini, group0,, """%icon1name%"",""""""%49002%\jscript5.chm""""""
  50.  
  51. [AddLink]
  52. setup.ini, progman.groups,, "group0=%ShortName%"          
  53. setup.ini, group0,, ""%ShortName%""
  54. setup.ini, group0,, """%icon1name%"",""%49002%\jscript5.chm"",,0,"
  55.  
  56. [RemoveLink]
  57. setup.ini, progman.groups,, "group0=%ShortName%"          
  58. setup.ini, group0,, ""%ShortName%""
  59. setup.ini, group0,, """%icon1name%"" 
  60.  
  61. [DelRegSection]
  62. HKCR,inffile\shell\APInst
  63. HKCR,inffile\shell\APUninst
  64. HKLM,SOFTWARE\Microsoft\JSdoc
  65. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\JSdoc
  66.  
  67. [InstallJSdoc]
  68. HKLM,Software\Microsoft\JSdoc,InstallDir,,%49001%
  69.  
  70. ;inffine.reg
  71. HKCR,inffile\shell\APInst,,,"Active I&nstall"
  72. HKCR,inffile\shell\APInst\command,,,"rundll32.exe advpack.dll,LaunchINFSection %1, DefaultInstall"
  73. HKCR,inffile\shell\APUninst,,,"Active &Uninstall"
  74. HKCR,inffile\shell\APUninst\command,,,"rundll32.exe advpack.dll,LaunchINFSection %1, UnInstall"
  75.  
  76. ;Register for Uninstall
  77. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\JSdoc,"DisplayName",,"JScript V5 Documentation" 
  78. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\JSdoc,"UninstallString",,"RunDll32 advpack.dll,LaunchINFSection %17%\JSdoc.inf, Uninstall" 
  79.  
  80. [DestinationDirs]
  81. JSdocFiles=49000
  82. InfSection=17
  83.  
  84. [MyCustomDestination]
  85. ;need to add new LFN stuff here.
  86. 49000,49001,49002,49003=PackageDestination49000,1
  87.  
  88. [UninstallDestination]
  89. 49000=UninstallDestination49000,5
  90.  
  91. [PackageDestination49000]
  92. HKLM,SOFTWARE\Microsoft\JSdoc,InstallDir,%InstallPrompt%,%DefaultDir%
  93. HKLM,SOFTWARE\Microsoft\JSdoc,InstallDir,%InstallPrompt%,%DefaultDir%
  94.  
  95. [UninstallDestination49000]
  96. HKLM,SOFTWARE\Microsoft\JSdoc,InstallDir,%InstallPrompt%,%DefaultDir%
  97.  
  98. [RemoveFolder]
  99. %49000%
  100.  
  101. [Strings]
  102. AppName="JScript V5 Documentation"
  103. InstallPrompt="Where would you like to install JScript V5 Documentation?"
  104. DefaultDir="C:\Program Files\Microsoft Scripting Technologies\JSdocs"
  105. shortname="Microsoft Scripting Technologies"
  106. icon1name="JScript V5 Documentation"
  107. ;prompts
  108. BeginPrompt="Are you sure you want to remove JScript V5 Documentation?"
  109. EndPrompt="JScript V5 Documentation was successfully removed"
  110. CDFDesc="JScript CDF File"
  111. LinkName = "JScript V5 Documentation"
  112.