Difference between revisions of "Activeperl"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m
(buimp ver to "1003", rev to "2", add "/qn" to msiexec commands)
Line 18: Line 18:
  
 
<source lang="xml">
 
<source lang="xml">
<package id="perl" name="ActiveState Perl" revision="1" priority="800" reboot="false">
+
<package id="perl" name="ActiveState Perl" revision="2" priority="800" reboot="false">
  
<check type='uninstall' condition='exists' path='ActivePerl 5.10.0 Build 1002' />
+
<check type='uninstall' condition='exists' path='ActivePerl 5.10.0 Build 1003' />
<install cmd='msiexec /i %SOFTWARE%\perl\ActivePerl-5.10.0.1002-MSWin32-x86-283697.msi PERL_PATH=Yes PERL_EXT=Yes' />
+
<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 /i %SOFTWARE%\perl\ActivePerl-5.10.0.1002-MSWin32-x86-283697.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 /x {49C69876-0196-4620-B237-EA334C2E40B5}' />
+
<remove cmd='msiexec /qn /x {061CE7E5-0115-4BB6-8381-47C602B98C7D}' />
 
</package>
 
</package>
 
</source>
 
</source>
  
 
[[category:Silent Installers]]
 
[[category:Silent Installers]]

Revision as of 04:27, 29 July 2008

To make a silent installer for ActivePerl, use the instructions below.


 start /w msiexec /i "ActivePerl-5.8.7.813-MSWin32-x86-148120.msi" PERL_PATH="Yes" /qb-

PERL_PATH adds c:\perl\bin to the windows PATH Environment Variable.

To install modeules 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)

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>