NicePerson Posted July 21, 2010 Share Posted July 21, 2010 How to uninstall a program using DllCall? Link to comment Share on other sites More sharing options...
trancexx Posted July 21, 2010 Share 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 Link to comment Share on other sites More sharing options...
NicePerson Posted July 21, 2010 Author Share Posted July 21, 2010 Thanks Link to comment Share on other sites More sharing options...
trancexx Posted July 21, 2010 Share Posted July 21, 2010 Sure. ♡♡♡ . eMyvnE Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now