I need to extract my key. Can anyone tell me whats wrong with this?
Dim $var = RegEnumKey($officeKey, $i)
If @error <> 0 Then
GUICtrlSetData($status_L, "Info: Unable to find REG_BINARY 'DigitalProductID', maybe no Office installed!")
Return "No Office XP, 2003, or 2007 found"
EndIf
If $var <> "" Then
$product = "2007"
Dim $officeKey = "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\12.0\Registration\{91120000-0014-0000-0000-0000000FF1CE}"
EndIf
EndIf
;HKEY_