[wpkg-users] Package pre-requisites
adam at capprogramming.com
Wed Jun 14 05:23:11 CEST 2006
Or with Windows Xp/2000, you can retrieve right from the registry what
version & what service pack is installed.
ie on a Win XP SP2 machine
CSDVersion = Service Pack 2
CurrentVersion = 5.1
ProductName = Microsoft Windows XP
or a Win2k SP4 machine
CSDVersion = Service Pack 4
CurrentVersion = 5.0
ProductName = Microsoft Windows 2000
> 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
> 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
wpkg-users mailing list
wpkg-users at lists.sourceforge.net
More information about the wpkg-users