[wpkg-users] activeperl
Jens Geile
jens.geile at support.iserv.eu
Mon Dec 22 14:53:46 CET 2008
> > That isn't really a problem. Every package that uses shortcut.pl depends on the activeperl package and every client that is installed with unattended has activeperl installer already anyway.
> What do you use for ActivePerl?
Pretty much the same script as you posted (though, i'm still using build 1003 atm):
<packages>
<package id="activeperl" name="ActivePerl" revision="5.10.0.1003" reboot="false">
<check type="logical" condition="and">
<check type="uninstall" condition="exists" path="ActivePerl 5.10.0 Build 1003" />
</check>
<install cmd='msiexec /qn /i "%SOFTWARE_ISERV%\activeperl\activeperl-5.10.0.1003.msi" /norestart PERL_PATH="Yes" PERL_EXT="YES"' />
<upgrade cmd='msiexec /qn /i "%SOFTWARE_ISERV%\activeperl\activeperl-5.10.0.1003.msi" /norestart PERL_PATH="Yes" PERL_EXT="YES"' />
<remove cmd='msiexec /qn /x "%SOFTWARE_ISERV%\activeperl\activeperl-5.10.0.1003.msi" /norestart' />
<remove cmd='cmd /c IF EXIST "%SYSTEMDRIVE%\Perl" RMDIR "%SYSTEMDRIVE%\Perl" /Q /S' />
</package>
</packages>
> Unfortunately it seems to fail if ActivePerl 5.8.8 is installed, as the MSI package seems to be unable to do upgrades :-(
Yeah, I've witnessed that problem with ActivePython. :/
But running the remove commands for "any" previous version that might be installed and treating exitcode 1613 as successful should do the trick. ;) Its really hacky but "works".
-
jens
More information about the wpkg-users
mailing list