Hi,
I have a script that looks for a version number in a reg key, and if the value is less than or equal to this number the script than displays a warning message.
The problem I have is that when the key doesn't exist (before the software is installed) the script display the same warning as above.
$Inst2x = RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\2x\AppServerClient", "ClientVersion")
if $inst2x <= "5.0.275" and inst2x = " " Then
msgbox(0,"error", version of 2x already installed)
Any ideas on how I can get round this would be great, thanks