Difference between revisions of "Activeperl"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(Update for 5.12.1 and reorganize a little)
Line 1: Line 1:
To make a silent installer for ActivePerl, use the instructions below.
+
[http://www.activestate.com/activeperl ActivePerl] is a free Windows Perl distribution provided by ActiveState.
  
 +
== Installation ==
  
  start /w msiexec /i "ActivePerl-5.8.7.813-MSWin32-x86-148120.msi" PERL_PATH="Yes" /qb-
+
===ActivePerl 5.12===
  
PERL_PATH adds c:\perl\bin to the windows PATH Environment Variable.
+
PERL_PATH adds perl to the Windows path. PERL_EXT associates perl with .pl files. See the documentation in the related links for more details.
  
To install modules from a local repository (as opposed to the Activestate repository)
+
<source lang="xml">
 +
<package
 +
  id="activeperl"
 +
  name="Active Perl"
 +
  revision="%version%"
 +
  priority="50">
  
   SET LOCALPACKAGEREP=\\server\share
+
   <variable name="version" value="5.12.1" />
  ppm rep add "Local" %LOCALPACKAGEREP%
+
  ppm install %LOCALPACKAGEREP%\net-ip\Win32-FileOp.ppd
+
  
Each ppd file contains a reference to a tar.gz file that is usally kept in the same folder.
+
  <check
Just make sure that you have all the dependancies for the modules (again, in the ppd file)
+
    type="uninstall"
 +
    condition="exists"
 +
    path="ActivePerl %version% Build 1201" />
  
==ActivePerl 5.10==
+
  <install cmd='msiexec /qn /i "%SOFTWARE%\apps\activeperl\ActivePerl-%version%.1201-MSWin32-x86-292674.msi" PERL_PATH=Yes PERL_EXT=Yes' />
 +
  <upgrade cmd='msiexec /qn /i "%SOFTWARE%\apps\activeperl\ActivePerl-%version%.1201-MSWin32-x86-292674.msi" PERL_PATH=Yes PERL_EXT=Yes' />
 +
  <remove cmd='msiexec /qn /x {7D5E1317-71E3-41A9-8755-98F5EC92D510}' />
 +
</package>
 +
</source>
 +
 
 +
===ActivePerl 5.10===
  
 
<source lang="xml">
 
<source lang="xml">
Line 26: Line 38:
 
</package>
 
</package>
 
</source>
 
</source>
 +
 +
== Installing Modules ==
 +
 +
To install modules from a local repository (as opposed to the Activestate repository)
 +
 +
  SET LOCALPACKAGEREP=\\server\share
 +
  ppm rep add "Local" %LOCALPACKAGEREP%
 +
  ppm install %LOCALPACKAGEREP%\net-ip\Win32-FileOp.ppd
 +
 +
Each ppd file contains a reference to a tar.gz file that is usally kept in the same folder.
 +
Just make sure that you have all the dependancies for the modules (again, in the ppd file)
  
 
== Related links ==
 
== Related links ==
* http://docs.activestate.com/activeperl/5.8/install.html: ActivePerl 5.8 installation parameter
+
* http://docs.activestate.com/activeperl/5.12/install.html#windows%20installers: ActivePerl 5.12 installation parameters
 +
* http://docs.activestate.com/activeperl/5.8/install.html: ActivePerl 5.8 installation parameters
  
 
[[category:Silent Installers]]
 
[[category:Silent Installers]]

Revision as of 18:39, 23 August 2010

ActivePerl is a free Windows Perl distribution provided by ActiveState.

Installation

ActivePerl 5.12

PERL_PATH adds perl to the Windows path. PERL_EXT associates perl with .pl files. See the documentation in the related links for more details.

<package
  id="activeperl"
  name="Active Perl"
  revision="%version%"
  priority="50">

  <variable name="version" value="5.12.1" />

  <check
    type="uninstall"
    condition="exists"
    path="ActivePerl %version% Build 1201" />

  <install cmd='msiexec /qn /i "%SOFTWARE%\apps\activeperl\ActivePerl-%version%.1201-MSWin32-x86-292674.msi" PERL_PATH=Yes PERL_EXT=Yes' />
  <upgrade cmd='msiexec /qn /i "%SOFTWARE%\apps\activeperl\ActivePerl-%version%.1201-MSWin32-x86-292674.msi" PERL_PATH=Yes PERL_EXT=Yes' />
  <remove cmd='msiexec /qn /x {7D5E1317-71E3-41A9-8755-98F5EC92D510}' />
</package>

ActivePerl 5.10

<package id="perl" name="ActiveState Perl" revision="2" priority="800" reboot="false">

<check type='uninstall' condition='exists' path='ActivePerl 5.10.0 Build 1003' />
<install cmd='msiexec /qn /i  %SOFTWARE%\perl\ActivePerl-5.10.0.1003-MSWin32-x86-285500.msi PERL_PATH=Yes PERL_EXT=Yes' />
<upgrade cmd='msiexec /qn /i %SOFTWARE%\perl\ActivePerl-5.10.0.1003-MSWin32-x86-285500.msi PERL_PATH=Yes PERL_EXT=Yes' />
<remove cmd='msiexec /qn /x {061CE7E5-0115-4BB6-8381-47C602B98C7D}' />
</package>

Installing Modules

To install modules from a local repository (as opposed to the Activestate repository)

 SET LOCALPACKAGEREP=\\server\share
 ppm rep add "Local" %LOCALPACKAGEREP%
 ppm install %LOCALPACKAGEREP%\net-ip\Win32-FileOp.ppd

Each ppd file contains a reference to a tar.gz file that is usally kept in the same folder. Just make sure that you have all the dependancies for the modules (again, in the ppd file)

Related links