home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 35 Internet
/
35-Internet.zip
/
js10.zip
/
UINSTALL.LST
< prev
next >
Wrap
File List
|
2000-01-05
|
6KB
|
207 lines
// Junk Spy uninstallation file
@option A: C: "exists:%1\spec.db"
@option !C: I: "ask:Junk Spy does not appear to be installed in %1. Try to Uninstall anyway?"
@option C: I: "ask:Are you sure you want to remove Junk Spy from %1?"
@errorexit !I: "Uninstall not attempted."
@option A: K: "busy:%1\JUNKSPY.exe"
@option K: L: "ask:Junk Spy appears to be running. Try to uninstall anyway?"
@errorexit (K!L): "Uninstall not attempted."
// turn on extended messages if necessary
@poo C: OE
// delete the installed files and backups (ignore errors)
@delete A:
%1\README.TXT
%1\LICENSE.TXT
%1\JUNKSPY.exe
%1\JUNKSPY.HLP
%1\JUNKSPY.INI
%1\TCPWIZ.EXE
%1\Error.log
%1\Manual.lst
%1\Report.log
%1\Update.log
%1\pr-hist.txt
%1\spec.db
%1\spec.bak
%1\Specdet.idx
%1\zerostat.cmd
%1\whatsnew.txt
%1\detect.db
%1\detect.bak
%1\fixlist.txt
%1\init.upd
%1\init.bak
%1\manual\generic\kiwi.gif
%1\manual\generic\install.htm
%1\manual\graphics\blkhole.gif
%1\manual\graphics\back.gif
%1\manual\graphics\check.gif
%1\manual\graphics\getmail.gif
%1\manual\graphics\idle.gif
%1\manual\graphics\junk.gif
%1\manual\graphics\kiwi.gif
%1\manual\graphics\junkico.jpg
%1\manual\graphics\newconn.gif
%1\manual\graphics\wizard.jpg
%1\manual\graphics\none.gif
%1\manual\graphics\ok.gif
%1\manual\graphics\sendmail.gif
%1\manual\graphics\update.gif
%1\manual\graphics\inactive.gif
%1\manual\graphics\info.gif
%1\manual\graphics\status.jpg
%1\manual\graphics\background.gif
%1\manual\graphics\cluedef.gif
%1\manual\graphics\contents.jpg
%1\manual\graphics\detecdef.gif
%1\manual\graphics\detecset.gif
%1\manual\graphics\junkico.gif
%1\manual\graphics\junkspy.gif
%1\manual\graphics\menu.gif
%1\manual\graphics\poset.gif
%1\manual\graphics\status.gif
%1\manual\graphics\statuscenter.gif
%1\manual\graphics\updatsec.gif
%1\manual\graphics\updatset.gif
%1\manual\graphics\wizard.gif
%1\manual\jstreet\install.htm
%1\manual\jstreet\filter.gif
%1\manual\jstreet\servname.gif
%1\manual\jstreet\username.gif
%1\manual\jstreet\settings1.gif
%1\manual\jstreet\settings2.gif
%1\manual\nets202\install.htm
%1\manual\nets202\settings1.gif
%1\manual\nets202\settings2.gif
%1\manual\nets202\username.gif
%1\manual\nets202\JUNKSPY.gif
%1\manual\nets202\servname.gif
%1\manual\nets404\install.htm
%1\manual\nets404\settings1.gif
%1\manual\nets404\settings2.gif
%1\manual\nets404\username.gif
%1\manual\nets404\JUNKSPY.gif
%1\manual\nets404\servname.gif
%1\manual\nets461\install.htm
%1\manual\nets461\settings1.gif
%1\manual\nets461\settings2.gif
%1\manual\nets461\username.gif
%1\manual\nets461\JUNKSPY.gif
%1\manual\nets461\servname.gif
%1\manual\nets461\filter.gif
%1\manual\prm\install.htm
%1\manual\prm\settings1.gif
%1\manual\prm\settings2.gif
%1\manual\prm\username.gif
%1\manual\prm\filter.gif
%1\manual\prm\JUNKSPY.gif
%1\manual\prm\servname.gif
%1\manual\pmmail\install.htm
%1\manual\pmmail\settings1.gif
%1\manual\pmmail\settings2.gif
%1\manual\pmmail\username.gif
%1\manual\pmmail\JUNKSPY.gif
%1\manual\pmmail\servname.gif
%1\manual\pmmail\filter.gif
%1\manual\mr2\install.htm
%1\manual\mr2\settings1.gif
%1\manual\mr2\settings2.gif
%1\manual\mr2\username.gif
%1\manual\mr2\JUNKSPY.gif
%1\manual\mr2\servname.gif
%1\manual\mr2\filter.gif
%1\manual\wizard\graphics\hostname.gif
%1\manual\wizard\graphics\loopback.gif
%1\manual\wizard\fixhost.htm
%1\manual\wizard\loopback.htm
%1\manual\wizard\hostname.htm
%1\manual\graphics\kiwiicon.gif
%1\manual\index.htm
%1\SPF2XXD.DLL
// delete the uninstaller if not busy
@option A: M: "busy:%1\uinstall.exe"
@delete (A!M):
%1\uinstall.exe
%1\uinstall.lst
%1\uinstall.1
%1\uinstall.cmd
// delete the installation log
@delete A:
%1\install.log
// remove directories
@rd A:
"%1\manual\nets202"
"%1\manual\nets404"
"%1\manual\pmmail"
"%1\manual\mr2"
"%1\manual\prm"
"%1\manual\nets461"
"%1\manual\wizard\graphics"
"%1\manual\wizard"
"%1\manual\jstreet"
"%1\manual\generic"
"%1\manual\graphics"
"%1\manual"
"%1"
// remove objects (except uninstall)
@var: B: <JUNKSPYPR> 5
@xwps: B:
<NOJUNKEMAILEXE>
<JUNKSPY_EXE>
<JUNKSPY_CFG>
<JUNKSPY_USERSGUIDE_URL>
<JUNKSPY_EMAILDOCFOLDER>
<JUNKSPY_FOLDER>
<JUNKSPY_URL>
<JUNKSPY_TEST_URL>
<JUNKSPY_UINSTALL>
<JUNKSPY_DOCFOLDER>
<JUNKSPY_USERSGUIDE_URL>
<JUNKSPY_PMMAIL_URL>
<JUNKSPY_PMMAIL2_URL>
<JUNKSPY_NETSCAPE2_URL>
<JUNKSPY_NETSCAPE4_URL>
<JUNKSPY_MR2_URL>
<JUNKSPY_PRM_URL>
<JUNKSPY_LICENSE>
<JUNKSPY_README>
@xwps: B:
%5
// close and remove the log file if we got this far
// and the executeable is gone
@option ABCDE: M: "exists:%1\JUNKSPY.exe"
@log (A!M): off
@delete (A!M): "%1\uninst.log"
// remove the install info
@option A: N: "target:%3"
@xini (A!MN): * JunkSpy INSTALLATIONPATH
// force the "uinstalled with errors" message if we couldn't delete the executeable
@errorcount (AM): +
// otherwise reset it
@errorcount (A!M): *
// create the cleanup routine
@option A: N: "busy:%1\uinstall.exe"
@errorcount (A!M): *
@option (A!MN): N: "ask:Remove the Uninstall program after you exit from it?"
@write (A!MN): create %1\cleanup.cmd "del uinstall.* 2>NUL\ncd ..\n"
@write (A!MN): append %1\cleanup.cmd "echo del %1\cleanup.cmd cleanupx.cmd ^& rd %1 > cleanupx.cmd\n"
@write (A!MN): append %1\cleanup.cmd "cleanupx 2> NUL\n"
// one last try at the directory
@rd A:
"%1"