[wpkg-users] Package pre-requisites

Tomasz Chmielewski mangoo at wpkg.org
Wed May 31 14:37:45 CEST 2006


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







_______________________________________________
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