Part of the installation downloads archives of dependencies from os4depot and I'd like to simply install one of those with a package of type ARCHIVEPACKAGE
However code like this
Code: Select all
def installProAction():
installedpath = GetEnv("Appdir/Proaction")
archive = fetchArchive("http://os4depot.net/share/library/reaction/proaction.lha")
if archive:
myArchives = [archive]
print myArchives
if installedpath:
if os.path.basename(installedpath).upper() == "PROACTION":
installedpath = os.path.dirname(path)
proactionpkg = AddPackage(ARCHIVEPACKAGE,
name="ProAction Package",
alternatepath = installedpath,
description="",
files = myArchives
)
else:
proactionpkg = AddPackage(ARCHIVEPACKAGE,
name="ProAction Package",
description="",
files = myArchives
)
else:
os.system("C:RequestChoice \"Download Failed\" \"Unable to download the ProAction archive\" \"OK\"")
Code: Select all
Installing ProAction!
['proaction.lha']
Exception exceptions.OSError: 'Cannot create package of requested type' in 'garbage collection' ignored