Can anyone tell me why this script works if I run it manually but not through the actual logon script? The script runs during the login process but it doesn't do anyhting. It just exits. The program was not installed to a common group.

If DelProgramGroup("Sentry Spelling Checker Engine", 0) = 0
?"Spell Checker Program Group Deleted...."
EndIf

Thanks