home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: Product / Product.zip / mesa220.zip / pruninst.lst < prev    next >
File List  |  1998-09-24  |  4KB  |  142 lines

  1. // Mesa prerelease uninstallation file
  2.  
  3. // note: P: may be set by install script
  4. @option         (A!P):  H: "exists:%1\mesa2bkg.bmp"
  5. @option         (!H!P): J: "ask:The Mesa 2 PreRelease does not appear to be installed in %1.  Try to Uninstall anyway?"
  6. @option         (H!P):  J: "ask:Are you sure you want to remove the Mesa 2 PreRelease from %1?"
  7. @errorexit      (!J!P): "Uninstall not attempted."
  8.  
  9. @option         A:      J: "busy:%1\mesa2.exe"
  10. @option         J:      L: "ask:The Mesa 2 PreRelease appears to be running.  Try to uninstall anyway?"
  11. @errorexit      (AJ!L): "Uninstall not attempted."
  12.  
  13. // turn on extended messages if necessary
  14. @poo            H: OE
  15.  
  16. // see if the class dlls are busy
  17. @option         A:      L: "busy:%1\wppalets.dll"
  18. @option         A:      J: "busy:%1\mesaprt.dll"
  19.  
  20. // delete the installed files and backups (ignore errors)
  21. @delete         A:
  22. %1\README.TXT
  23. %1\LICENSE.TXT
  24. %1\autoload.m2
  25. %1\autoload.m2b
  26. %1\mesa2.exe
  27. %1\Mesa2.HLP
  28. %1\MESA2.INI
  29. %1\mesa2bkg.bmp
  30. %1\mesa2doc.inf
  31. %1\mesacore.dll
  32. %1\mesafeed.dll
  33. %1\mesaprt.dll
  34. %1\mesares.dll
  35. %1\mesascpt.dll
  36. %1\mesasprd.dll
  37. %1\mesaui.dll
  38. %1\SPF2XX.DLL
  39. %1\wppalets.dll
  40. %1\wppalets.HLP
  41. %1\EXAMPLES\account.m2
  42. %1\EXAMPLES\account.m2b
  43. %1\EXAMPLES\BASICS.M2
  44. %1\EXAMPLES\BASICS.M2b
  45. %1\EXAMPLES\CURRENCY.M2
  46. %1\EXAMPLES\CURRENCY.M2b
  47. %1\EXAMPLES\DATA.M2
  48. %1\EXAMPLES\DATA.M2b
  49. %1\EXAMPLES\examples.m2
  50. %1\EXAMPLES\examples.m2b
  51. %1\EXAMPLES\fandp.txt
  52. %1\EXAMPLES\features.m2
  53. %1\EXAMPLES\features.m2b
  54. %1\EXAMPLES\feed.exe
  55. %1\EXAMPLES\feed.ico
  56. %1\EXAMPLES\FIRST_PA.M2
  57. %1\EXAMPLES\FIRST_PA.M2b
  58. %1\EXAMPLES\INVOICE.M2
  59. %1\EXAMPLES\INVOICE.M2b
  60. %1\EXAMPLES\page.exe
  61. %1\EXAMPLES\page.ico
  62. %1\EXAMPLES\portflio.m2
  63. %1\EXAMPLES\portflio.m2b
  64. %1\EXAMPLES\present.m2
  65. %1\EXAMPLES\present.m2b
  66. %1\EXAMPLES\SALES.M2
  67. %1\EXAMPLES\SALES.M2b
  68. %1\EXAMPLES\SRC
  69. %1\EXAMPLES\TARIFFS.M2
  70. %1\EXAMPLES\TARIFFS.M2b
  71. %1\EXAMPLES\SRC\Feed
  72. %1\EXAMPLES\SRC\Page
  73. %1\EXAMPLES\SRC\Feed\feed.cpp
  74. %1\EXAMPLES\SRC\Feed\feed.def
  75. %1\EXAMPLES\SRC\Feed\feed.dep
  76. %1\EXAMPLES\SRC\Feed\feed.h
  77. %1\EXAMPLES\SRC\Feed\feed.mak
  78. %1\EXAMPLES\SRC\Feed\feed.exe
  79. %1\EXAMPLES\SRC\Page\os2h.h
  80. %1\EXAMPLES\SRC\Page\page.cpp
  81. %1\EXAMPLES\SRC\Page\page.def
  82. %1\EXAMPLES\SRC\Page\page.dep
  83. %1\EXAMPLES\SRC\Page\page.mak
  84. %1\EXAMPLES\SRC\Page\page.rc
  85. %1\EXAMPLES\SRC\Page\page.exe
  86. %1\TEMPLATE\Expense.M2T
  87. %1\TEMPLATE\Invoice.M2T
  88.  
  89. // delete the installation log
  90. @delete         A:
  91. %1\install.log
  92.  
  93. // uninstall the WPS dlls (only if tied to this copy)
  94. @mdel           (AL):   %1\wppalets.dll
  95. @mdel           (AJ):   %1\mesaprt.dll
  96.  
  97. // remove directories
  98. @rd             A:
  99. "%1\EXAMPLES\SRC\Feed"
  100. "%1\EXAMPLES\SRC\Page"
  101. "%1\EXAMPLES\SRC"
  102. "%1\TEMPLATE"
  103. "%1\EXAMPLES"
  104. "%1"
  105.  
  106. // remove objects (except shadows and non-prerelease objects)
  107. @var:            F:      <MESA2PR> 5
  108. @xwps:           F:
  109. <XXM2README>
  110.  
  111. @xwps:           F:
  112. <XXM2EXE>
  113.  
  114. @xwps:           F:
  115. <XXMESDOC>
  116.  
  117. @xwps:           F:
  118. %5
  119.  
  120. // close and remove the log file if we got this far
  121. // and the executeable is gone
  122. @option         ABCDE:  M: "exists:%1\mesa2.exe"
  123. @log            (A!M):  off
  124. @delete         (A!M):  "%1\uninst.log"
  125.  
  126. // remove the install info 
  127. @option         A:      L: "target:%3"
  128. @xini           (A!ML): * MesaPR INSTALLATIONPATH
  129. @getini         (A!M!L): * MesaPR INSTALLATIONPATH 5
  130. @option         A:      L: "target:%5"
  131. @xini           (A!ML): * MesaPR INSTALLATIONPATH
  132.  
  133. // force the "installed with errors" message if couldn't delete exe
  134. @errorcount     (AM):   +
  135. // otherwise reset it
  136. @errorcount     (A!M):  *
  137.  
  138. // one last try at the directory
  139. @rd     A:
  140. "%1"
  141.  
  142.