OK, I've written this script. It runs with no errors but the dll doesnt get deleted and I am not sure if it's getting unregistered either. I have also tried using
SHELL "%WINDIR%\System32\%Regsvr32 /u /s %programfiles%\google\GoogleToolbar1.dll"

Any ideas?

;***Google Toolbar Uninstall***
dim $google1, $google2
$google1 = "%programfiles%\google\GoogleToolbar1.dll"
$google2 = "%programfiles%\google\GoogleToolbar2.dll"

if exist($google1)
SHELL "Regsvr32 /u /s %programfiles%\google\GoogleToolbar1.dll"
del $google1
else
? "Google Toolbar1 not present"

if exist($google2)
SHELL "Regsvr32 /u /s %programfiles%\google\GoogleToolbar2.dll"
del $google2
else ?

? "Google Toolbar2 not present"
endif