[wpkg-users] Activestate Perl Installs but Fails

Tomasz Chmielewski mangoo at wpkg.org
Wed Jun 25 19:24:41 CEST 2008


Jennette, Steven J. schrieb:
> ActivePerl 5.10.0.0 Build 1003

Please don't top-post - it's hard to maintain the flow of the 
conversation then.

(...)

>> 1. Product: ActivePerl 5.10.0 Build 1003 -- Configuration completed 
>> successfully.

Perl installer said that the installation was fine.


>> 2. Could not process (install) ActiveState Perl.
>> Failed checking after installation

WPKG said that installation was not fine. Why?

WPKG can't magically know if something was installed properly or not. 
Therefore, after each package (as defined in packages.xml) is installed, 
it verifies the installation[1] - compares the checks which are defined 
with what it finds on a computer.

For example, you defined your check as:

>>    <check type='uninstall' condition='exists' path='ActivePerl 
>> 5.10.0.1003 Build 285500' />

This means WPKG will check in "Software Add/Remove" (to be precise, 
these values are stored in the registry, so this is where the actual 
check is made) for "ActivePerl 5.10.0.1003 Build 285500".
Because you don't have such an entry (you have "ActivePerl 5.10.0.0 
Build 1003"), the check fails, and WPKG thinks the installation failed.


[1] Unless execute="once" or "always" etc. is used.

-- 
Tomasz Chmielewski
http://wpkg.org



More information about the wpkg-users mailing list