home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / js10.zip / UINSTALL.LST < prev    next >
File List  |  2000-01-05  |  6KB  |  207 lines

  1. // Junk Spy uninstallation file
  2.  
  3. @option         A:      C: "exists:%1\spec.db"
  4. @option         !C:     I: "ask:Junk Spy does not appear to be installed in %1.  Try to Uninstall anyway?"
  5. @option         C:      I: "ask:Are you sure you want to remove Junk Spy from %1?"
  6. @errorexit      !I:     "Uninstall not attempted."
  7.  
  8. @option         A:      K: "busy:%1\JUNKSPY.exe"
  9. @option         K:      L: "ask:Junk Spy appears to be running.  Try to uninstall anyway?"
  10. @errorexit      (K!L):  "Uninstall not attempted."
  11.  
  12. // turn on extended messages if necessary
  13. @poo            C:      OE
  14.  
  15. // delete the installed files and backups (ignore errors)
  16. @delete         A:
  17. %1\README.TXT
  18. %1\LICENSE.TXT
  19. %1\JUNKSPY.exe
  20. %1\JUNKSPY.HLP
  21. %1\JUNKSPY.INI
  22. %1\TCPWIZ.EXE
  23. %1\Error.log
  24. %1\Manual.lst
  25. %1\Report.log
  26. %1\Update.log
  27. %1\pr-hist.txt
  28. %1\spec.db
  29. %1\spec.bak
  30. %1\Specdet.idx
  31. %1\zerostat.cmd
  32. %1\whatsnew.txt
  33. %1\detect.db
  34. %1\detect.bak
  35. %1\fixlist.txt
  36. %1\init.upd
  37. %1\init.bak
  38. %1\manual\generic\kiwi.gif
  39. %1\manual\generic\install.htm
  40. %1\manual\graphics\blkhole.gif
  41. %1\manual\graphics\back.gif
  42. %1\manual\graphics\check.gif
  43. %1\manual\graphics\getmail.gif
  44. %1\manual\graphics\idle.gif
  45. %1\manual\graphics\junk.gif
  46. %1\manual\graphics\kiwi.gif
  47. %1\manual\graphics\junkico.jpg
  48. %1\manual\graphics\newconn.gif
  49. %1\manual\graphics\wizard.jpg
  50. %1\manual\graphics\none.gif
  51. %1\manual\graphics\ok.gif
  52. %1\manual\graphics\sendmail.gif
  53. %1\manual\graphics\update.gif
  54. %1\manual\graphics\inactive.gif
  55. %1\manual\graphics\info.gif
  56. %1\manual\graphics\status.jpg
  57. %1\manual\graphics\background.gif
  58. %1\manual\graphics\cluedef.gif
  59. %1\manual\graphics\contents.jpg
  60. %1\manual\graphics\detecdef.gif
  61. %1\manual\graphics\detecset.gif
  62. %1\manual\graphics\junkico.gif
  63. %1\manual\graphics\junkspy.gif
  64. %1\manual\graphics\menu.gif
  65. %1\manual\graphics\poset.gif
  66. %1\manual\graphics\status.gif
  67. %1\manual\graphics\statuscenter.gif
  68. %1\manual\graphics\updatsec.gif
  69. %1\manual\graphics\updatset.gif
  70. %1\manual\graphics\wizard.gif
  71. %1\manual\jstreet\install.htm
  72. %1\manual\jstreet\filter.gif
  73. %1\manual\jstreet\servname.gif
  74. %1\manual\jstreet\username.gif
  75. %1\manual\jstreet\settings1.gif
  76. %1\manual\jstreet\settings2.gif
  77. %1\manual\nets202\install.htm
  78. %1\manual\nets202\settings1.gif
  79. %1\manual\nets202\settings2.gif
  80. %1\manual\nets202\username.gif
  81. %1\manual\nets202\JUNKSPY.gif
  82. %1\manual\nets202\servname.gif
  83. %1\manual\nets404\install.htm
  84. %1\manual\nets404\settings1.gif
  85. %1\manual\nets404\settings2.gif
  86. %1\manual\nets404\username.gif
  87. %1\manual\nets404\JUNKSPY.gif
  88. %1\manual\nets404\servname.gif
  89. %1\manual\nets461\install.htm
  90. %1\manual\nets461\settings1.gif
  91. %1\manual\nets461\settings2.gif
  92. %1\manual\nets461\username.gif
  93. %1\manual\nets461\JUNKSPY.gif
  94. %1\manual\nets461\servname.gif
  95. %1\manual\nets461\filter.gif
  96. %1\manual\prm\install.htm
  97. %1\manual\prm\settings1.gif
  98. %1\manual\prm\settings2.gif
  99. %1\manual\prm\username.gif
  100. %1\manual\prm\filter.gif
  101. %1\manual\prm\JUNKSPY.gif
  102. %1\manual\prm\servname.gif
  103. %1\manual\pmmail\install.htm
  104. %1\manual\pmmail\settings1.gif
  105. %1\manual\pmmail\settings2.gif
  106. %1\manual\pmmail\username.gif
  107. %1\manual\pmmail\JUNKSPY.gif
  108. %1\manual\pmmail\servname.gif
  109. %1\manual\pmmail\filter.gif
  110. %1\manual\mr2\install.htm
  111. %1\manual\mr2\settings1.gif
  112. %1\manual\mr2\settings2.gif
  113. %1\manual\mr2\username.gif
  114. %1\manual\mr2\JUNKSPY.gif
  115. %1\manual\mr2\servname.gif
  116. %1\manual\mr2\filter.gif
  117. %1\manual\wizard\graphics\hostname.gif
  118. %1\manual\wizard\graphics\loopback.gif
  119. %1\manual\wizard\fixhost.htm
  120. %1\manual\wizard\loopback.htm
  121. %1\manual\wizard\hostname.htm
  122. %1\manual\graphics\kiwiicon.gif
  123. %1\manual\index.htm
  124. %1\SPF2XXD.DLL
  125.  
  126. // delete the uninstaller if not busy
  127. @option         A:      M: "busy:%1\uinstall.exe"
  128. @delete         (A!M):
  129. %1\uinstall.exe
  130. %1\uinstall.lst
  131. %1\uinstall.1
  132. %1\uinstall.cmd
  133.  
  134. // delete the installation log
  135. @delete         A:
  136. %1\install.log
  137.  
  138. // remove directories
  139. @rd             A:
  140. "%1\manual\nets202"
  141. "%1\manual\nets404"
  142. "%1\manual\pmmail"
  143. "%1\manual\mr2"
  144. "%1\manual\prm"
  145. "%1\manual\nets461"
  146. "%1\manual\wizard\graphics"
  147. "%1\manual\wizard"
  148. "%1\manual\jstreet"
  149. "%1\manual\generic"
  150. "%1\manual\graphics"
  151. "%1\manual"
  152. "%1"
  153.  
  154. // remove objects (except uninstall)
  155. @var:            B:      <JUNKSPYPR> 5
  156. @xwps:           B:
  157. <NOJUNKEMAILEXE>
  158. <JUNKSPY_EXE>
  159. <JUNKSPY_CFG>
  160. <JUNKSPY_USERSGUIDE_URL>
  161. <JUNKSPY_EMAILDOCFOLDER>
  162. <JUNKSPY_FOLDER>
  163. <JUNKSPY_URL>
  164. <JUNKSPY_TEST_URL>
  165. <JUNKSPY_UINSTALL>
  166. <JUNKSPY_DOCFOLDER>
  167. <JUNKSPY_USERSGUIDE_URL>
  168. <JUNKSPY_PMMAIL_URL>
  169. <JUNKSPY_PMMAIL2_URL>
  170. <JUNKSPY_NETSCAPE2_URL>
  171. <JUNKSPY_NETSCAPE4_URL>
  172. <JUNKSPY_MR2_URL>
  173. <JUNKSPY_PRM_URL>
  174. <JUNKSPY_LICENSE>
  175. <JUNKSPY_README>
  176.  
  177. @xwps:           B:
  178. %5
  179.  
  180. // close and remove the log file if we got this far
  181. // and the executeable is gone
  182. @option         ABCDE:  M: "exists:%1\JUNKSPY.exe"
  183. @log            (A!M):  off
  184. @delete         (A!M):  "%1\uninst.log"
  185.  
  186. // remove the install info 
  187. @option         A: N:   "target:%3"
  188. @xini           (A!MN): * JunkSpy INSTALLATIONPATH
  189.  
  190. // force the "uinstalled with errors" message if we couldn't delete the executeable
  191. @errorcount     (AM):   +
  192. // otherwise reset it
  193. @errorcount     (A!M):  *
  194.  
  195. // create the cleanup routine
  196. @option         A:      N: "busy:%1\uinstall.exe"
  197. @errorcount     (A!M):  *
  198. @option         (A!MN): N:  "ask:Remove the Uninstall program after you exit from it?"
  199. @write          (A!MN): create %1\cleanup.cmd "del uinstall.* 2>NUL\ncd ..\n"
  200. @write          (A!MN): append %1\cleanup.cmd "echo del %1\cleanup.cmd cleanupx.cmd ^& rd %1 > cleanupx.cmd\n"
  201. @write          (A!MN): append %1\cleanup.cmd "cleanupx 2> NUL\n"
  202.  
  203. // one last try at the directory
  204. @rd     A:
  205. "%1"
  206.  
  207.