home *** CD-ROM | disk | FTP | other *** search
/ PC World 2001 July / PCWorld_2001-07_cd.bin / Software / Topware / w2ksp2en / w2ksp2.exe / i386 / wms4.cab / nsisapi.exe / nsisapi.inf < prev    next >
Encoding:
Windows Setup INFormation  |  1999-06-16  |  3.8 KB  |  131 lines

  1. [Version]
  2. Signature="$Chicago$"
  3. AdvancedINF=2.5, "%ERROR_WRONG_ADVPACK_VERSION%"
  4.  
  5. [DefaultInstall] 
  6. SmartReboot=I
  7. BeginPrompt   =NetShowPrompt.WarnMustStopIIS
  8. RunPreSetupCommands=Service.IIS.Stop
  9. CustomDestination=NetShow.Destination
  10. CopyFiles   =NetShowCopy.Core, NetShowCopy.INF
  11. AddReg      =NetShowUninstallKey.95
  12. RunPostSetupCommands=Service.IIS.Start
  13. EndPrompt   =NetShowPrompt.InstallComplete
  14.  
  15. [DefaultInstall.NT]
  16. SmartReboot =I
  17. CheckAdminRights=1 
  18. BeginPrompt   =NetShowPrompt.WarnMustStopIIS
  19. RunPreSetupCommands=Service.IIS.Stop
  20. CustomDestination=NetShow.Destination
  21. CopyFiles   =NetShowCopy.Core, NetShowCopy.INF
  22. AddReg      =NetShowUninstallKey.NT
  23. EndPrompt   =NetShowPrompt.InstallComplete
  24.  
  25. [Uninstall]
  26. SmartReboot =I
  27. CustomDestination=NetShow.Destination
  28. DelReg        =NetShowReg.Delete
  29. DelFiles      =NetShowCopy.Core, NetShowCopy.INF.Remove
  30. EndPrompt     =NetShowPrompt.UninstallComplete
  31. CleanUp=1
  32.  
  33. [Uninstall.NT]
  34. SmartReboot =I
  35. CheckAdminRights=1 
  36. CustomDestination=NetShow.Destination
  37. DelReg        =NetShowReg.Delete
  38. DelFiles      =NetShowCopy.Core, NetShowCopy.INF.Remove
  39. EndPrompt     =NetShowPrompt.UninstallComplete
  40. CleanUp=1
  41.  
  42. [NetShow.Destination]
  43. 49000,49001,49002=PathForISAPI,7
  44.  
  45. [PathForISAPI]
  46. HKLM,"Software\Microsoft\NetShow","ISAPIPath","","%24%"
  47. ,,,"%WARN_NO_IIS%",""
  48.  
  49. [DestinationDirs]
  50. ; NetShowDirectory
  51. NetShowCopy.Core =49002
  52.  
  53. ;LDID_INF
  54. NetShowCopy.INF  =17
  55.  
  56. [Service.IIS.Stop]
  57. unnsisap.exe /SetLocation
  58. unnsisap.exe /ShutDownIIS
  59.  
  60. [Service.IIS.Start]
  61. %17%\unnsisap.exe /StartIIS
  62.  
  63. [NetShowPrompt.InstallComplete]
  64. Prompt="%PROMPT_INSTALL_COMPLETE%"
  65.  
  66. [NetShowPrompt.UninstallComplete]
  67. Prompt="%PROMPT_UNINSTALL_COMPLETE%"
  68.  
  69. [NetShowPrompt.WarnMustStopIIS]
  70. Title="%TITLE_INSTALL%"
  71. ButtonType=YESNO
  72. Prompt="%CONFIRM_STOPIIS%"
  73.  
  74. [NetShowReg.Delete]
  75. HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%NETSHOW_INSTALLNAME%"
  76.  
  77. [NetShowUninstallKey.95] 
  78. HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%NETSHOW_INSTALLNAME%","DisplayName",2,"%NETSHOW_INSTALLNAME_LOC%"
  79. HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%NETSHOW_INSTALLNAME%","UninstallString",2,"RunDll32 advpack.dll,LaunchINFSection %17%\%NS_INF_NAME%,Uninstall"
  80.  
  81. [NetShowUninstallKey.NT] 
  82. HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%NETSHOW_INSTALLNAME%","DisplayName",2,"%NETSHOW_INSTALLNAME_LOC%"
  83. HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%NETSHOW_INSTALLNAME%","UninstallString",2,"RunDll32 advpack.dll,LaunchINFSection %17%\%NS_INF_NAME%,Uninstall.NT"
  84.  
  85.  
  86. [SourceDisksNames]
  87. 1 = "NetShow ISAPI Extension Install",nsisapi.cab,0
  88.  
  89. [SourceDisksFiles]
  90. nsiislog.dll=1
  91. unnsisap.exe=1
  92. nsisapi.inf=1
  93. nsiswrap.inf=1
  94.  
  95. [NetShowCopy.Core] 
  96. nsiislog.dll,,,1
  97.  
  98. [NetShowCopy.INF]
  99. nsisapi.inf
  100. nsiswrap.inf
  101. unnsisap.exe
  102.  
  103. [NetShowCopy.INF.Remove]
  104. unnsisap.exe
  105.  
  106.  
  107. [Strings]
  108. NS_INF_NAME = "nsiswrap.inf"
  109.  
  110. NETSHOW_INSTALLNAME= "Microsoft NetShow Server 2.0"
  111.  
  112. ;////////////////////////////////////////////////////////
  113. ;// Only localize strings below this line
  114. ;////////////////////////////////////////////////////////
  115. LANGUAGE="EN"
  116.  
  117. NETSHOW_INSTALLNAME_LOC= "NetShow ISAPI Extension"
  118.  
  119. PROMPT_INSTALL_COMPLETE = "NetShow ISAPI Extension installation is now complete."
  120. PROMPT_UNINSTALL_COMPLETE = "NetShow ISAPI Extension uninstall is now complete."
  121.  
  122. TITLE_UNINSTALL="NetShow ISAPI Extension Uninstall"
  123. TITLE_INSTALL="NetShow ISAPI Extension Install"
  124.  
  125. ;Error Messages
  126. ERROR_ENGINE_NOTFOUND = "Cannot find the required setup engine. Aborting..."
  127. ERROR_WRONG_ADVPACK_VERSION = "You need a newer version of Advpack.dll."
  128.  
  129. WARN_NO_IIS = "You do not have IIS installed.  Setup cannot continue."
  130.  
  131. CONFIRM_STOPIIS          ="All IIS services must be stopped in order to install this ISAPI extension.  They will be restarted when setup is complete.  Do you wish to continue?"