You are here: Foswiki>Tasks Web>Item9149 (01 Nov 2011, GeorgeClark)Edit Attach

Item9149: Add tools/extension_installer to the MANIFEST - support generic extension installer

pencil
Priority: Normal
Current State: Closed
Released In: 1.1.0
Target Release: minor
Applies To: Engine
Component: Configure
Branches:
Reported By: GeorgeClark
Waiting For:
Last Change By: GeorgeClark
The generic extension installer seems to work fine.
  • Add to MANIFEST
  • Update for common copyright
  • Improve usage documentation a bit and handle if called without extension name.

The generic installer is the standard template installer, with the minor addition of supporting the extension name as an argument. With both the custom and generic installers, the package installer code can download an updated installer if required.

For example, to install an extension, such as GenPDFAddOn, the two options are:

Install using downloaded installer.

  • Download GenPDFAddOn_installer into the root of the Foswiki installation
  • Run GenPDFAddOn_installer
   perl GenPDFAddOn_installer
  • Package installer will download the extension archive from repository location contained within the custom installer file, and proceed with installation

Install using generic installer

ALERT! Note: The generic installer will only download extensions from the default Foswiki Extensions repository. If an alternate location is required, the custom installer or web installer must be used!

  • Run generic installer
   perl tools/extension_installer GenPDFAddOn install
  • Package installer will download the GenPDFAddOn_installer, along with the extension archive and proceed with installation.

As with the custom installers, the generic installer can be used to uninstall an extension

   perl tools/extension_installer GenPDFAddOn uninstall

For further information, use the usage command.
   perl tools/extension_installer usage

-- GeorgeClark - 12 Jun 2010

 

ItemTemplate edit

Summary Add tools/extension_installer to the MANIFEST - support generic extension installer
ReportedBy GeorgeClark
Codebase trunk
SVN Range
AppliesTo Engine
Component Configure
Priority Normal
CurrentState Closed
WaitingFor
Checkins distro:1cd9df6776cc distro:50b22fa33df7
TargetRelease minor
ReleasedIn 1.1.0
Topic revision: r6 - 01 Nov 2011, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy