[wpkg-users] Problem with a condition-check

Tomasz Chmielewski mangoo at wpkg.org
Sat Feb 18 13:07:41 CET 2006


Benny Pfitzner wrote:
> Hi,
> 
> I think I found a way to check if a Service Pack is installed on Windows 
> 2000 Pro. The registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows 
> NT\CurrentVersion\HotFix\ServicePackUninstall is what I was looking for.
> My Problem is that I'm doing something wrong so that wpkg allways wants 
> to install SP4.
> Here is my package.xml output:
>        <package
>                id="w2k_pro_de_sp4"
>                name="Windows 2000 Professional Deutsch SP4"
>                revision="0"
>                reboot="true"
>                priority="999">

Change it to (add "Windows 2000 Service Pack", as you see it in regedit):

>                <check type="registry" condition="exists" 
> path="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows 
> NT\CurrentVersion\HotFix\ServicePackUninstall\Windows 2000 Service Pack" />


-- 
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