Tomasz Chmielewski wrote:
Markus Ernst wrote:
Hi,
I wonder if there is a way to install or not to install a package
depending on the OS of the maschine.
Example: I like to install Filzip only on Win2k maschine not on WinXP.
Any OS detection solution with <check type="registry"
condition="exists" … > do not work because the result will be the same
after installation.
It there any way to create a condition like "package requires registry
path exists" (or similary for registry values or files) ?
There is no such thing in WPKG, but it's a good idea no have it.
There is a proof-of-concept patch by Bill Shirley that distinguishes
between 9x and NT/2000/XP lines of Windows (this means, you won't
distinguish between 2000 and XP):
http://bugs.wpkg.org/show_bug.cgi?id=22
If you know some JScript/JavaScript, you could help improve it :)
Specifically, it should be enough to get the output of "ver" tool which
is bundled with Windows:
C:\> ver
Microsoft Windows XP [Version 5.1.2600]
--
Tomasz Chmielewski
http://wpkg.org
-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642
_______________________________________________
wpkg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wpkg-users