[wpkg-users] Problem with a condition-check

Benny Pfitzner pfitzner-lug at gmx.net
Sat Feb 18 13:28:15 CET 2006


Tomasz Chmielewski schrieb:
> 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" />
> 
Thank you very much Tomasz,

is there a way to check HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows 
NT\CurrentVersion\CSDVersion
here is a screenshot
http://img211.imageshack.us/img211/5023/win2kprodeproblemswithsp423ii.png

Thank you Ben Pfitzner




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