NicePerson 1 Posted July 21, 2010 How to uninstall a program using DllCall? Share this post Link to post Share on other sites
trancexx 1,013 Posted July 21, 2010 How to uninstall a program using DllCall? That's easy. Global $sProgram = "SomeProgram.exe" Global $aCall = DllCall("Uninstaller.dll", "bool", "UninstallProgram", "wstr", $sProgram, "dword", 2) If @error Then ConsoleWrite("!Error = " & @error & @CRLF) Else ConsoleWrite(">Returned: " & $aCall[0] & @CRLF) EndIf ♡♡♡ . eMyvnE Share this post Link to post Share on other sites
trancexx 1,013 Posted July 21, 2010 Sure. ♡♡♡ . eMyvnE Share this post Link to post Share on other sites