[wpkg-users] Problem with a condition-check

Tomasz Chmielewski mangoo at wpkg.org
Sun Feb 19 21:08:31 CET 2006


Benny Pfitzner wrote:
> 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

Hmm, won't it work as above (similar to add "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