Difference between revisions of "Grunch"

From GrunchWiki
Jump to navigation Jump to search
(1.19)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<nowiki>;</nowiki>--------------------------------------------
+
<nowiki>;--------------------------------------------</nowiki>
*<nowiki>##</nowiki> ITEM        "Grunch" DISPLAYNAME "Grunch Beta" MODE INSTALL RELAUNCH NOCACHE RESCAN
+
*<nowiki>##</nowiki> ITEM        "Grunch" DISPLAYNAME "Grunch" MODE INSTALL RELAUNCH NOCACHE
 
*<nowiki>##</nowiki> DATE        "28.07.2011"
 
*<nowiki>##</nowiki> DATE        "28.07.2011"
 
*<nowiki>##</nowiki> DESCRIPTION  "Application Manager"
 
*<nowiki>##</nowiki> DESCRIPTION  "Application Manager"
Line 7: Line 7:
 
*<nowiki>##</nowiki> APPWEBPAGE  "http://www.geit.de/eng_Grunch.html"
 
*<nowiki>##</nowiki> APPWEBPAGE  "http://www.geit.de/eng_Grunch.html"
 
*<nowiki>##</nowiki> GRUNCHAUTHOR "Guido Mersmann <geit&gmx$de>"
 
*<nowiki>##</nowiki> GRUNCHAUTHOR "Guido Mersmann <geit&gmx$de>"
*<nowiki>##</nowiki> URLREADME    "http://www.geit.de/tmp/Grunch_beta.readme"
+
*<nowiki>##</nowiki> URLARCHIVE  "http://www.geit.de/stupid/Grunch.lha"
*<nowiki>##</nowiki> URLARCHIVE  "http://www.geit.de/tmp/Grunch_beta.lha"
+
*<nowiki>##</nowiki> URLREADME    "http://www.geit.de/stupid/Grunch.readme"
*<nowiki>##</nowiki> ARCHIVESIZE  1160856
+
*<nowiki>##</nowiki> ARCHIVESIZE  1560856
 
*<nowiki>##</nowiki> INSTALLCHECK "{INSTALLDIR}{NAME}/{NAME}"
 
*<nowiki>##</nowiki> INSTALLCHECK "{INSTALLDIR}{NAME}/{NAME}"
 
*<nowiki>##</nowiki> INSTALL
 
*<nowiki>##</nowiki> INSTALL
  LhA x "{DOWNLOADDIR}{ARCHIVE}" "{TEMPDIR}"
+
  {STANDARDBACKUP}
  If EXISTS "{INSTALLDIR}{NAME}/{NAME}.info"
+
{STANDARDEXTRACT}
  Delete "{TEMPDIR}{NAME}/{NAME}.info"
+
  If EXISTS "{TEMPDIR}{NAME}/Bin"
Endif
 
Copy "{TEMPDIR}Grunch/#?" "{INSTALLDIR}{NAME}" ALL
 
 
  If "{SystemOS}" EQ "AmigaOS3"
 
  If "{SystemOS}" EQ "AmigaOS3"
  Copy "{TEMPDIR}Grunch/Bin/{NAME}_{SYSCPU}" "{INSTALLDIR}{NAME}/{NAME}" ALL
+
If EXISTS "{TEMPDIR}{NAME}/Bin/{NAME}_{SYSCPU}"
 +
  Copy "{TEMPDIR}{NAME}/Bin/{NAME}_{SYSCPU}" "{TEMPDIR}{NAME}/{NAME}"
 +
EndIf
 +
If EXISTS "{TEMPDIR}{NAME}/Bin/{NAME}_{SYSCPU}.info"
 +
Copy "{TEMPDIR}{NAME}/Bin/{NAME}_{SYSCPU}.info" "{TEMPDIR}{NAME}/{NAME}.info"
 +
EndIf
 
  EndIf
 
  EndIf
 
  If "{SystemOS}" EQ "AmigaOS4"
 
  If "{SystemOS}" EQ "AmigaOS4"
  Copy "{TEMPDIR}Grunch/Bin/{NAME}_{SYSCPU}" "{INSTALLDIR}{NAME}/{NAME}" ALL
+
If EXISTS "{TEMPDIR}{NAME}/Bin/{NAME}_{SYSCPU}"
 +
  Copy "{TEMPDIR}{NAME}/Bin/{NAME}_{SYSCPU}" "{TEMPDIR}{NAME}/{NAME}"
 +
EndIf
 +
If EXISTS "{TEMPDIR}{NAME}/Bin/{NAME}_{SYSCPU}.info"
 +
Copy "{TEMPDIR}{NAME}/Bin/{NAME}_{SYSCPU}.info" "{TEMPDIR}{NAME}/{NAME}.info"
 +
EndIf
 +
EndIf
 +
Delete FORCE ALL "{TEMPDIR}{NAME}/Bin"
 +
EndIf
 +
<nowiki>;</nowiki> remove other files only required for installation
 +
If EXISTS "{TEMPDIR}{NAME}/{NAME}.install"
 +
Delete FORCE "{TEMPDIR}{NAME}/{NAME}.install"
 +
EndIf
 +
If EXISTS "{TEMPDIR}{NAME}/{NAME}.install.info"
 +
Delete FORCE "{TEMPDIR}{NAME}/{NAME}.install.info"
 +
EndIf
 +
If EXISTS "{TEMPDIR}{NAME}/GetSystemType"
 +
Delete FORCE "{TEMPDIR}{NAME}/GetSystemType"
 +
EndIf
 +
If EXISTS "{TEMPDIR}{NAME}/NewInstaller"
 +
Delete FORCE "{TEMPDIR}{NAME}/NewInstalLer"
 +
EndIf
 +
<nowiki>;</nowiki> delete files already located in installation due prior drag and drop installation
 +
If EXISTS "{INSTALLDIR}{NAME}/{NAME}.install"
 +
Delete FORCE "{INSTALLDIR}{NAME}/{NAME}.install"
 +
EndIf
 +
If EXISTS "{INSTALLDIR}{NAME}/{NAME}.install.info"
 +
Delete FORCE "{INSTALLDIR}{NAME}/{NAME}.install.info"
 +
EndIf
 +
If EXISTS "{INSTALLDIR}{NAME}/GetSystemType"
 +
Delete FORCE "{INSTALLDIR}{NAME}/GetSystemType"
 +
EndIf
 +
If EXISTS "{INSTALLDIR}{NAME}/Bin"
 +
Delete FORCE ALL "{INSTALLDIR}{NAME}/Bin"
 +
EndIf
 +
If EXISTS "{INSTALLDIR}{NAME}/C"
 +
Delete FORCE ALL "{INSTALLDIR}{NAME}/C"
 +
EndIf
 +
If EXISTS "{INSTALLDIR}{NAME}/NewInstaller"
 +
Delete FORCE ALL "{INSTALLDIR}{NAME}/NewInstaller"
 
  EndIf
 
  EndIf
  If NOT EXISTS "{INSTALLDIR}{NAME}.info"
+
  {COPYALL}
  If EXISTS "{TEMPDIR}{NAME}.info"
+
{CREATEWBSTARTUPICON}
  Copy "{TEMPDIR}{NAME}.info"        "{INSTALLDIR}{NAME}.info"
+
If EXISTS "{INSTALLDIR}{NAME}/Database/Private"
  Else
+
Delete FORCE ALL "{INSTALLDIR}{NAME}/Database/Private"
  GTooltype "{INSTALLDIR}{NAME}" TYPE WBDRAWER
 
  EndIf
 
 
  EndIf
 
  EndIf
 
*<nowiki>##</nowiki> INSTALL END
 
*<nowiki>##</nowiki> INSTALL END
 
*<nowiki>##</nowiki> ITEM END
 
*<nowiki>##</nowiki> ITEM END
 +
 +
[[Category:GRUNCH]]

Latest revision as of 18:38, 3 November 2011

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

{STANDARDBACKUP}
{STANDARDEXTRACT}
If EXISTS "{TEMPDIR}{NAME}/Bin"
If "{SystemOS}" EQ "AmigaOS3"
If EXISTS "{TEMPDIR}{NAME}/Bin/{NAME}_{SYSCPU}"
Copy "{TEMPDIR}{NAME}/Bin/{NAME}_{SYSCPU}" "{TEMPDIR}{NAME}/{NAME}"
EndIf
If EXISTS "{TEMPDIR}{NAME}/Bin/{NAME}_{SYSCPU}.info"
Copy "{TEMPDIR}{NAME}/Bin/{NAME}_{SYSCPU}.info" "{TEMPDIR}{NAME}/{NAME}.info"
EndIf
EndIf
If "{SystemOS}" EQ "AmigaOS4"
If EXISTS "{TEMPDIR}{NAME}/Bin/{NAME}_{SYSCPU}"
Copy "{TEMPDIR}{NAME}/Bin/{NAME}_{SYSCPU}" "{TEMPDIR}{NAME}/{NAME}"
EndIf
If EXISTS "{TEMPDIR}{NAME}/Bin/{NAME}_{SYSCPU}.info"
Copy "{TEMPDIR}{NAME}/Bin/{NAME}_{SYSCPU}.info" "{TEMPDIR}{NAME}/{NAME}.info"
EndIf
EndIf
Delete FORCE ALL "{TEMPDIR}{NAME}/Bin"
EndIf

; remove other files only required for installation

If EXISTS "{TEMPDIR}{NAME}/{NAME}.install"
Delete FORCE "{TEMPDIR}{NAME}/{NAME}.install"
EndIf
If EXISTS "{TEMPDIR}{NAME}/{NAME}.install.info"
Delete FORCE "{TEMPDIR}{NAME}/{NAME}.install.info"
EndIf
If EXISTS "{TEMPDIR}{NAME}/GetSystemType"
Delete FORCE "{TEMPDIR}{NAME}/GetSystemType"
EndIf
If EXISTS "{TEMPDIR}{NAME}/NewInstaller"
Delete FORCE "{TEMPDIR}{NAME}/NewInstalLer"
EndIf

; delete files already located in installation due prior drag and drop installation

If EXISTS "{INSTALLDIR}{NAME}/{NAME}.install"
Delete FORCE "{INSTALLDIR}{NAME}/{NAME}.install"
EndIf
If EXISTS "{INSTALLDIR}{NAME}/{NAME}.install.info"
Delete FORCE "{INSTALLDIR}{NAME}/{NAME}.install.info"
EndIf
If EXISTS "{INSTALLDIR}{NAME}/GetSystemType"
Delete FORCE "{INSTALLDIR}{NAME}/GetSystemType"
EndIf
If EXISTS "{INSTALLDIR}{NAME}/Bin"
Delete FORCE ALL "{INSTALLDIR}{NAME}/Bin"
EndIf
If EXISTS "{INSTALLDIR}{NAME}/C"
Delete FORCE ALL "{INSTALLDIR}{NAME}/C"
EndIf
If EXISTS "{INSTALLDIR}{NAME}/NewInstaller"
Delete FORCE ALL "{INSTALLDIR}{NAME}/NewInstaller"
EndIf
{COPYALL}
{CREATEWBSTARTUPICON}
If EXISTS "{INSTALLDIR}{NAME}/Database/Private"
Delete FORCE ALL "{INSTALLDIR}{NAME}/Database/Private"
EndIf
  • ## INSTALL END
  • ## ITEM END