MorphOSExecMonitor

From GrunchWiki
Revision as of 15:26, 30 September 2011 by Db2wiki (talk | contribs) (Created page with "<nowiki>;--------------------------------------------</nowiki> *<nowiki>##</nowiki> ITEM "MorphOSExecMonitor" DISPLAYNAME "MorphOS Exec Monitor" *<nowiki>##</nowiki> DATE...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

;--------------------------------------------

LhA x "{DOWNLOADDIR}{ARCHIVE}" "{TEMPDIR}"
If EXISTS "{INSTALLDIR}{NAME}/MEM.info"
If EXISTS "{TEMPDIR}{NAME}/MEM.info"
Delete "{TEMPDIR}{NAME}/MEM.info"
EndIf
EndIf
Copy "{TEMPDIR}{NAME}/#?" "{INSTALLDIR}{NAME}" ALL
If NOT EXISTS "{INSTALLDIR}{NAME}.info"
If EXISTS "{TEMPDIR}{NAME}.info"
Copy "{TEMPDIR}{NAME}.info"        "{INSTALLDIR}{NAME}.info"
Else
GTooltype "{INSTALLDIR}{NAME}" TYPE WBDRAWER
EndIf
EndIf
If NOT EXISTS "{INSTALLDIR}{NAME}/MEM.info"
GTooltype "{INSTALLDIR}{NAME}/MEM" TYPE WBTOOL
EndIf
If NOT EXISTS "{INSTALLDIR}{NAME}/MEM_WBStartup.info"
Copy "{INSTALLDIR}{NAME}/MEM.info" "{INSTALLDIR}{NAME}/MEM_WBStartup.info"
GTooltype "{INSTALLDIR}{NAME}/MEM_WBStartup" TYPE WBPROJECT DEFAULTTOOL "{INSTALLDIR}{NAME}/MEM"
EndIf
  • ## INSTALL END
  • ## UNINSTALL
Delete "{INSTALLDIR}{NAME}"        FORCE ALL
Delete "{INSTALLDIR}{NAME}.info"   FORCE
Delete "ENVARC:MUI/MEM.#[0-9].#?" FORCE
Delete "ENV:MUI/MEM.#[0-9].#?"    FORCE
Delete "SYS:WBStartup/MEM_WBStartup.info"     FORCE
  • ## UNINSTALL END