If KeyExist("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet\Settings\ProxyHttp1.1")
; exists - just exit
Exit 0
Else

If Not KeyExist("HKCU\Software\Microsoft\Windows\CurrentVersion\Internet\Settings\ProxyHttp1.1")
$rc = WriteValue("HKCU\Software\Microsoft\Windows\CurrentVersion\Internet\Settings\ProxyHttp1.1", "1", "Data Type")
EndIf


This is how I have it at the moment - is that right ? - just so you know there is nothing else in this script file apart from what is written above \:\)


Edited by BackForBreakfast (2009-06-15 04:45 PM)