home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 1999 November / PCW9911.BIN / sharewar / sw / Addons / webcnkit.exe / Webcnkit.inf < prev   
Encoding:
Windows Setup INFormation  |  1997-02-14  |  3.2 KB  |  126 lines

  1. [version]
  2. signature="$CHICAGO$"
  3. ;need to tell INFInstall to use ADVPACK.DLL-it implements CustomDestination
  4. AdvancedINF=2.5
  5.  
  6. [DestinationDirs] 
  7. contents=49000 
  8. INFCopy=17
  9.  
  10.  
  11. ;begin install logic
  12.  
  13. [DefaultInstall] 
  14. ;Win95 entry point
  15. CustomDestination=FileDest
  16. CopyFiles=contents,INFCopy
  17. AddReg=GenUninstallKey,Win95UninstallKey,InstallWebcnkit
  18.  
  19. [DefaultInstall.NT]
  20. ;NT 4 entry point
  21. CustomDestination=FileDest
  22. CopyFiles=contents,INFCopy
  23. AddReg=GenUninstallKey,NTUninstallKey,InstallWebcnkit
  24.  
  25. [contents]
  26. Autofilt.htm
  27. Formulas.htm
  28. Htmltags.htm
  29. Htmltbls.htm
  30. M_quotes.iqy
  31. Mresults.htm
  32. Pcquote.iqy
  33. Pcquote.xls
  34. Pivottbl.htm
  35. Readme.txt
  36. S_quote.iqy
  37. Sresults.htm
  38. Stockget.htm
  39. Stockpst.htm
  40. Webcnkit.doc
  41.  
  42. [INFCopy]
  43. Webcnkit.inf
  44.  
  45. [FileDest]
  46. 49000,49001=PackageDestination49000,1
  47.  
  48. [UninstallDestination]
  49. 49000,49001=UninstallDestination49000,5
  50.  
  51. [PackageDestination49000]
  52. HKLM,SOFTWARE\Microsoft\Webcnkit,InstallDir,%InstallPrompt%,%DefaultDir%
  53.  
  54. [UninstallDestination49000]
  55. HKLM,SOFTWARE\Microsoft\Webcnkit,InstallDir,%InstallPrompt%,%DefaultDir%
  56.  
  57. [InstallWebcnkit]
  58. HKLM,Software\Microsoft\Webcnkit,InstallDir,,%49001%
  59.  
  60. [GenUninstallKey]
  61. ;Reg key that puts entry in Add/Remove files CPL applet dialog
  62. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Webcnkit,"DisplayName",,"%PackageDesc%" 
  63.  
  64. [Win95UninstallKey]
  65. ;call ADVPACK uninstaller on Win95
  66. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Webcnkit,"UninstallString",,"RunDll32 advpack.dll,LaunchINFSection %17%\Webcnkit.inf, Uninstall" 
  67.  
  68. [NTUninstallKey]
  69. ;call ADVPACK uninstaller on NT 4
  70. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Webcnkit,"UninstallString",,"RunDll32 advpack.dll,LaunchINFSection %17%\Webcnkit.inf, Uninstall.NT"  
  71.  
  72. [DelRegSection]
  73. HKLM,Software\Microsoft\Webcnkit
  74. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Webcnkit
  75.  
  76. [NTDelRegSection]
  77. HKLM,Software\Microsoft\Webcnkit
  78. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Webcnkit
  79.  
  80. ; begin uninstall logic
  81. [Uninstall]
  82. BeginPrompt=BeginPromptSection
  83. EndPrompt=EndPromptSection
  84. CustomDestination=UninstallDestination
  85. Delfiles=contents
  86. Deldirs=RemoveFolder
  87. ;clean up uninstall keys
  88. DelReg=DelRegSection,InstallWebcnkit
  89. Cleanup=1
  90.  
  91. [Uninstall.NT]
  92. BeginPrompt=BeginPromptSection
  93. EndPrompt=EndPromptSection
  94. CustomDestination=UninstallDestination
  95. Delfiles=contents
  96. Deldirs=RemoveFolder
  97. DelReg=NTDelRegSection,InstallWebcnkit
  98. Cleanup=1
  99.  
  100.  
  101. [BeginPromptSection]
  102. Prompt="%BeginPrompt%"
  103. ButtonType=YESNO
  104. Title=%PackageName%
  105.  
  106. [EndPromptSection]
  107. Prompt="%EndPrompt%"
  108.  
  109. [RemoveFolder]
  110. %49000%
  111.  
  112. [DelUninstallKey]
  113. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Webcnkit
  114. [SourceDisksNames]
  115. 1 = "Webcnkit",,0
  116.  
  117. [Strings]
  118. PackageName="Microsoft Excel 97 Web Connectivity Kit"
  119. PackageDesc="Microsoft Excel 97 Web Connectivity Kit (Remove only)"
  120. InstallPrompt="Where do you like to install the Microsoft Excel 97 Web Connectivity Kit"
  121. DefaultDir="C:\Program Files\Microsoft Office\Webcnkit"
  122.  
  123. ;prompts
  124. BeginPrompt="Are you sure that you want to remove Microsoft Excel 97 Web Connectivity Kit?"
  125. EndPrompt="The Microsoft Excel 97 Web Connectivity Kit was successfully removed."
  126.