|
Hello all, I'm new to KIXTART and scripting so please go easy on me. I am using the latest version but don't think all is going well. All of my script works with the exception of the following:
If KEYEXIST=("HKEY_CURRENT_USER\SOFTWARE\RealVNC\winvnc4")
WriteValue("HKEY_CURRENT_USER\SOFTWARE\RealVNC\winvnc4 QueryConnect = REG_DWORD 0x00000001") WriteValue("HKEY_CURRENT_USER\SOFTWARE\RealVNC\winvnc4 HTTPPortNumber = REG_DWORD 0x00000000") WriteValue("HKEY_CURRENT_USER\SOFTWARE\RealVNC\winvnc4 Hosts = Reg_SZ +10.1.0.0/255.255.0.0") WriteValue("HKEY_CURRENT_USER\SOFTWARE\RealVNC\winvnc4 DisableOptions = REG_DWORD 0x00000001") WriteValue("HKEY_CURRENT_USER\SOFTWARE\RealVNC\winvnc4 RemovePattern = REG_DWORD 0x00000001") WriteValue("HKEY_CURRENT_USER\SOFTWARE\RealVNC\winvnc4 DisableEffects = REG_DWORD 0x00000001") WriteValue("HKEY_LOCAL_MACHINE\SOFTWARE\RealVNC\winvnc4 QueryConnect = REG_DWORD 0x00000001") WriteValue("HKEY_LOCAL_MACHINE\SOFTWARE\RealVNC\winvnc4 HTTPPortNumber = REG_DWORD 0x00000000") WriteValue("HKEY_LOCAL_MACHINE\SOFTWARE\RealVNC\winvnc4 Hosts = Reg_SZ +10.1.0.0/255.255.0.0") WriteValue("HKEY_LOCAL_MACHINE\SOFTWARE\RealVNC\winvnc4 DisableOptions = REG_DWORD 0x00000001") WriteValue("HKEY_LOCAL_MACHINE\SOFTWARE\RealVNC\winvnc4 RemovePattern = REG_DWORD 0x00000001") WriteValue("HKEY_LOCAL_MACHINE\SOFTWARE\RealVNC\winvnc4 DisableEffects = REG_DWORD 0x00000001") ENDIF
I have verified that the key does exist but the values listed do not change and the script returns an error I can't see because it runs so fast. Does anyone have any idea what I did wrong? Thanks in advance. If I have posted this in the wrong place please direct me further.
|