[wpkg-users] Error message in eventlog even Software has been installed

Tomasz Chmielewski mangoo at wpkg.org
Wed Feb 21 16:21:39 CET 2007


Torsten Geile schrieb:
> Hi,
> 
> Tomasz Chmielewski wrote:
>> It basically means that your check condition was wrong.
>>
>> See what your check condition is, run wpkg from command line with 
>> /debug flag to debug your problems.
>>
>>
> This is, what is included in packages.xml
> 
> <package
>                 id="adobe"
>                 name="Adobe Acrobat Reader 7.0.8 Deutsch"
>                 revision="1"
>                 reboot="false"
>                 priority="1">
> 
>         <check type="registry" condition="exists" 
> path="HKLM\Software\Adobe\Acrobat Reader\7.0" />
>         <install cmd='msiexec /i 
> \\192.168.2.88\deploy\software\adobereader\adobereader7.0.8de.msi /quiet 
> /passive'>
>         <exit code="0" />
>         </install>
>         </package>
> 
> 
> Well, I cant see anything wrong in that. After reading the documentation 
> I understand a return code that equals "false" will do the action 
> described. So in my case if the registry value is not found wpkg will 
> install adobe reader. Am I wrong?

You are right.
If the given registry does not exist, WPKG will do the action.
After WPKG installs or upgrades, it will do the check once again - if 
the check condition is still not met, WPKG considers that the 
installation failed.
This is your case.


Perhaps you shouldn't use the registry checks, unless you really really 
need to.

Adobe Reader has a nice entry in Software Add/Remove, why won't you 
check on that?

http://wpkg.org/index.php/Category:Silent_Installers

http://wpkg.org/index.php/Adobe_Reader


-- 
Tomasz Chmielewski
http://wpkg.org






_______________________________________________
wpkg-users mailing list
wpkg-users at lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users



More information about the wpkg-users mailing list