strcomputer = "."
objwmiservice = getobject("winmgmts:" || "{impersonationLevel=impersonate}!\\" || strcomputer || "\root\cimv2")
colsoftware = objwmiservice~execquery("Select * from Win32_Product Where Name = 'Personnel database'")
DO objsoftware OVER colsoftware
objsoftware~uninstall()
END
|