Search the Community
Showing results for tags 'uninstaller'.
-
Hi guys One of my project is to create an uninstaller GUI that list all app on a computer so my techs can choose to remove apps without having to connect to his admin session (and loose time, especially while remotely controlling a domain machine). I did succeeded by creating a version one but it's very slow so I decided to create a version 2 of it, speeding things up and bring improvements. Here's my code so far: Problems are: 1/ If I click 2 items, only the last one is taken into account when I click the "uninstall" button (the msgbox is for testing outputs ATM) 2/ I can't figure out how to make the "Clear Selection" button to work (this may be a dumb question) 3/ I'd like to queue un-installations according to what the tech checked, in your opinion, what is best? (Make the script generating and executing a sort of .bat file for each selection? / Make the script running "RunAsWait($sT0_AdminUserName, "DOMAIN" ,$sT0_AdminUserPassword, 2, "WMIC.exe product where ""name like '" & $sAppToUninstall& "'"" call uninstall /nointeractive","",@SW_HIDE) for each selection? / write the selection in a .txt file and make the script read it line after line?, Other ideas? ^^) 4/ How can I exclude some programs in the soft list? I mean, I don't want the tech to see all Security Update blablabla crap and other things in the list (as the Anti Virus..) Thanks a lot for those who can help, Cheers, 31290