Re: [wpkg-users] Always reinstalling package (Check failed)

2012-08-29 Thread Stefan Pendl

Am 29.08.2012 22:25, schrieb benoi...@free.fr:



It might be enough to post the package for further help.


Here is the package :


  
 
 




 



 



 





The package doesn't include any  nodes, so there is nothing to 
check and the package will be installed on each run.


I would at least check the uninstall entry to make sure the package is 
installed.


Another way would be to use the package attribute >>execute="once"<<, 
but that wouldn't check if the package is installed properly, it would 
just make sure that the installation is not executed at each run.


I recommend to include something like:



Where path would be the DisplayName value of the pGina uninstall 
registry key and value would be the DisplayVersion.



--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Always reinstalling package (Check failed)

2012-08-29 Thread benoit . e
Message-ID: <503e094d.1000...@gmail.com>

Thank you Stefan.

>For debugging always set the logLevel to 0xFF, so all information is 
>included in the log.

The log sent is already with this LogLevel.

>It might be enough to post the package for further help.

Here is the package :


 









 








Thank you by anticipation. Regards,
BenoƮt
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Always reinstalling package (Check failed)

2012-08-29 Thread Stefan Pendl

Am 29.08.2012 14:09, schrieb benoi...@free.fr:

Dear All,

I'm facing a strange behavior : check before install, package is seen as 
previously installed but it's always reinstalling. Here is an extract of the 
log file :



--snip


2012-08-29 13:42:57, DEBUG   : Comparing version: '3.0.12.1' <=> '3.0.12.1'.
2012-08-29 13:42:57, DEBUG   : Checking existence of package: pGina
2012-08-29 13:42:57, DEBUG   : Package 'pGina' (pgina): Installed but checks 
failed. Re-Installing.
2012-08-29 13:42:57, DEBUG   : Package 'pGina' (pgina): Prepared for 
installation.
2012-08-29 13:42:57, DEBUG   : Checking existence of package: pGina
2012-08-29 13:42:57, INFO: Package 'pGina' (pgina): Not installed (checks 
failed). Preparing installation.
2012-08-29 13:42:57, DEBUG   : Installation of references (dependencies) for 
'pGina' (pgina) successfully finished.
2012-08-29 13:42:57, INFO: Installing 'pGina' (pgina)...


--snip



Do you have any idea ? Thanks a lot.



From the log this is hard to tell, since the information about the 
executed checks is missing.


For debugging always set the logLevel to 0xFF, so all information is 
included in the log.


It might be enough to post the package for further help.


--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users