I am attempting to abort the installation if the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows CE Services\MajorVersion DWORD registry value is less than 4.
First, I created a Search named ACTIVESYNC using the Search Wizard with the following properties:
Root: HKEY_LOCAL_MACHINE
Key: SOFTWARE\Microsoft\Windows CE Services
Name: MajorVersion
Type: Retrieve the raw value
Next, I created a Launch Condition of:
ACTIVESYNC < 4
The actual Registry value of HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows CE Services\MajorVersion is a DWORD of 4
The problem is that the condition is always true and the Launch Condition Description string is always displayed. I tried changing the Launch Condition to ACTIVESYNC > 4 but the conditon is still always true and the message box is displayed with my Launch Condition description.
Can someone tell me what I'm doing wrong?
Thanks.