Hi Jonathan,
On 22.11.2011 11:53, VERDEYEN Jonathan wrote:
After re-reading the "How to remove the package but leave the software
installed" thread, I was thinking of another solution for my Dynamics AX updates,
let's see if that's possible :
What if I had 2 "checks that verify if software is installed" (although not an
install check :P) : one that is the real registry uninstall (or file version check in my
case) and the other one being a 'fake' text file exists, with a logical AND between the 2.
So in my install commands, I install the update and create the text file,
making the AND between the 2 conditions true and still making sure the update
was applied correctly.
In my remove command, I remove just the text file, making the AND between the 2
conditions false so making the software appear 'not installed' to WPKG.
Sure this is possible and should be perfectly supported by WPKG.
Ideally I would like to retain the ability to use the same package for 32 and
64bits computers so my conditions would be :
"exe file version" AND "text file" in "Program Files" for x86 systems
OR
"exe file version" AND "text file" in "Program Files(x86)" for x64 systems
Is that possible ? It says in the documentation that you can have one or
several conditions but is it a OR or an AND between them or can I use a logical
condition inside another logical condition ?
Yes, it is possible. And yes, you nest logical conditions as well.
You might use host architecture condition check to specify different paths for
different architectures too.
br,
Rainer
-------------------------------------------------------------------------
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