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

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
wpkg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wpkg-users

Reply via email to