Moderators big_daddy Posted January 24, 2006 Author Moderators Share Posted January 24, 2006 Added a little to the script, see first post. Link to comment Share on other sites More sharing options...
Micha1405 Posted January 24, 2006 Share Posted January 24, 2006 Nice work ! My TrayToolBar Link to comment Share on other sites More sharing options...
Moderators big_daddy Posted January 25, 2006 Author Moderators Share Posted January 25, 2006 Nice work !Thanks, with help from Danny35d I fixed some bugs in the script. It seems to run pretty smooth now, if anyone has any problems let me know. I updated my first post with the latest code. The next update will include a checkbox for the silent uninstall, because I don't always want to use the silent method. Link to comment Share on other sites More sharing options...
Moderators big_daddy Posted January 25, 2006 Author Moderators Share Posted January 25, 2006 I added a checkbox to enable or disable the silent uninstall feature. If silent uninstall is not available then it will try to run the regular uninstall. See first post for the update. Link to comment Share on other sites More sharing options...
Moderators big_daddy Posted January 26, 2006 Author Moderators Share Posted January 26, 2006 Danny35d changed the ReadKeys() function to no longer need RegCount.au3. Updated first post. Link to comment Share on other sites More sharing options...
Rahul Rohela Posted January 27, 2006 Share Posted January 27, 2006 Please add remote PC feature... As existing script have no use.. If to uninstall we have to run this script on each PC then we prefer windows feature Add/remove programs.... Script will be useful if we can uninstall program on remote PC. Thx Link to comment Share on other sites More sharing options...
Moderators big_daddy Posted January 27, 2006 Author Moderators Share Posted January 27, 2006 Please add remote PC feature...That would be a nice feature, not sure if it is possible.As existing script have no use.. If to uninstall we have to run this script on each PC then we prefer windows feature Add/remove programs....Who is we? As for it not having any use...I use it quiet often because it is 10x faster than add/remove programs and it lists more programs. Link to comment Share on other sites More sharing options...
sksbir Posted January 27, 2006 Share Posted January 27, 2006 (edited) Hello, I'm using WSH scripting ,loading WindowsInstaller.Installer object : see here for details.I wanted to test your method, but i get error with syntax check prod : can't open include file <GuiStatusBar.au3> (an a lots of other errors..)using scite v1.66 , and autoid v3.1.1... Edited January 27, 2006 by sksbir Link to comment Share on other sites More sharing options...
Micha1405 Posted January 27, 2006 Share Posted January 27, 2006 use latest Beta 3.1.1.103 My TrayToolBar Link to comment Share on other sites More sharing options...
Rahul Rohela Posted January 28, 2006 Share Posted January 28, 2006 That would be a nice feature, not sure if it is possible.Who is we? As for it not having any use...I use it quiet often because it is 10x faster than add/remove programs and it lists more programs.I have an Idea ... Use Psexec to execute uninstall command on Remote PC... Second AutoIt Reg Functions are able to Read remote registry..Modified script attached.Second you are posting this script on forum so here we are we who are testing your script & giving comments on it.Another its not showing more software. Showing only hidden software, which may damage OS if anyone accidentally uninstalls it.So there is more to refine in it.Another, each software does not have Silent uninstall commend present in reg. So add feature to enable/ disable silent check box as per key value.ThxUninstallApps.au3 Link to comment Share on other sites More sharing options...
Andre Celie Posted January 28, 2006 Share Posted January 28, 2006 Can someone post all the file need for getting this working, please. Thanx Link to comment Share on other sites More sharing options...
Moderators big_daddy Posted January 29, 2006 Author Moderators Share Posted January 29, 2006 I have an Idea ... Use Psexec to execute uninstall command on Remote PC... Second AutoIt Reg Functions are able to Read remote registry..Modified script attached.Second you are posting this script on forum so here we are we who are testing your script & giving comments on it.Another its not showing more software. Showing only hidden software, which may damage OS if anyone accidentally uninstalls it.So there is more to refine in it.Another, each software does not have Silent uninstall commend present in reg. So add feature to enable/ disable silent check box as per key value.ThxThe only way to successfully uninstall a program on a remote pc would be with a silent uninstall. Maybe I can make an indicator that will tell if the program has a silent uninstall key or not. Then yes you could use Psexec or I use beyondexec, to execute the uninstall on the remote machine. I'll see what I can come up with later. Link to comment Share on other sites More sharing options...
Moderators big_daddy Posted January 29, 2006 Author Moderators Share Posted January 29, 2006 (edited) Can someone post all the file need for getting this working, please.ThanxThe latest beta version is all you need. Edited January 29, 2006 by big_daddy Link to comment Share on other sites More sharing options...
Danny35d Posted January 30, 2006 Share Posted January 30, 2006 @Big_daddy I modify your script to be able to uninstall programs from a remote computer.Changes made:1) Change the way that checkbox behave, now only display programs that have QuietUninstallString.2) Fix the scrript, programs with missing regkey QuietUinstallString and UninstallString are not show on the list.3) Modify ReadKeys() to be able to read regkeys from a remote computer, will only show the ones with QuietUninstallString.4) Because remote computer takes longer to read regkeys, all the information are save on $List variable as Display Name|Reg Key|Icon|QuietUninstallString|UninstallStringNote: To be able to remote uninstall programs from a remote computer you need to download BeyondExec from here..........Also once you download BeyondExec you need to renamed to BeyondExec.exeTry it and let me know what I miss? AutoIt Scripts:NetPrinter - Network Printer UtilityRobocopyGUI - GUI interface for M$ robocopy command line Link to comment Share on other sites More sharing options...
Moderators big_daddy Posted January 30, 2006 Author Moderators Share Posted January 30, 2006 Nice work again Danny35d! I tested it out pretty thoroughly and didn't find any problems. I also renamed and rezipped the beyondexec file so there is no need in renaming it now. Updated my first post with the new code, check it out! Link to comment Share on other sites More sharing options...
Rahul Rohela Posted February 3, 2006 Share Posted February 3, 2006 @Big_daddy I modify your script to be able to uninstall programs from a remote computer. Changes made: 1) Change the way that checkbox behave, now only display programs that have QuietUninstallString. 2) Fix the scrript, programs with missing regkey QuietUinstallString and UninstallString are not show on the list. 3) Modify ReadKeys() to be able to read regkeys from a remote computer, will only show the ones with QuietUninstallString. 4) Because remote computer takes longer to read regkeys, all the information are save on $List variable as Display Name|Reg Key|Icon|QuietUninstallString|UninstallString Note: To be able to remote uninstall programs from a remote computer you need to download BeyondExec from here.......... Also once you download BeyondExec you need to renamed to BeyondExec.exe Try it and let me know what I miss? Great job done... But for remote PC its showing only software with QuietUinstallString... You can show software those are Msiexec.exe removable (Installed through MSI package). User uninstall command switch with msiexec.exe & execute it on remote PC with BeyondExec or Psexec This will make it more useful.. Example RunWait('psexec.exe -s \\' & $s_Machine & " " & "msiexec.exe /x " & _GUICtrlListViewGetItemText ($List_SoftWare, $H_sw[$K], 2) & " /qn /norestart", @ScriptDir, @SW_HIDE) Link to comment Share on other sites More sharing options...
GaryFrost Posted February 3, 2006 Share Posted February 3, 2006 (edited) Great job done... But for remote PC its showing only software with QuietUinstallString... You can show software those are Msiexec.exe removable (Installed through MSI package). User uninstall command switch with msiexec.exe & execute it on remote PC with BeyondExec or Psexec This will make it more useful.. Example RunWait('psexec.exe -s \\' & $s_Machine & " " & "msiexec.exe /x " & _GUICtrlListViewGetItemText ($List_SoftWare, $H_sw[$K], 2) & " /qn /norestart", @ScriptDir, @SW_HIDE) that looks familiar extract from admin tool RunWait('psexec.exe -s \\' & $s_Machine & " " & "msiexec.exe /x " & _GUICtrlListViewGetItemText ($lv_software, $a_sw[$i], 2) & " /qn /norestart", @ScriptDir, @SW_HIDE) Edited February 3, 2006 by gafrost SciTE for AutoItDirections for Submitting Standard UDFs  Don't argue with an idiot; people watching may not be able to tell the difference.  Link to comment Share on other sites More sharing options...
Moderators big_daddy Posted February 3, 2006 Author Moderators Share Posted February 3, 2006 Great job done... But for remote PC its showing only software with QuietUinstallString... You can show software those are Msiexec.exe removable (Installed through MSI package). User uninstall command switch with msiexec.exe & execute it on remote PC with BeyondExec or Psexec This will make it more useful.. Example RunWait('psexec.exe -s \\' & $s_Machine & " " & "msiexec.exe /x " & _GUICtrlListViewGetItemText ($List_SoftWare, $H_sw[$K], 2) & " /qn /norestart", @ScriptDir, @SW_HIDE) If Danny doesn't beat me to it, I'll see what I can come up with tommorow. Link to comment Share on other sites More sharing options...
Danny35d Posted February 3, 2006 Share Posted February 3, 2006 Great job done... But for remote PC its showing only software with QuietUinstallString... You can show software those are Msiexec.exe removable (Installed through MSI package). User uninstall command switch with msiexec.exe & execute it on remote PC with BeyondExec or Psexec This will make it more useful.. Example RunWait('psexec.exe -s \\' & $s_Machine & " " & "msiexec.exe /x " & _GUICtrlListViewGetItemText ($List_SoftWare, $H_sw[$K], 2) & " /qn /norestart", @ScriptDir, @SW_HIDE)Gafrost and Rahul Rohela thank you for the information. If Danny doesn't beat me to it, I'll see what I can come up with tommorow.big_daddy sorry.... Give it a try.... AutoIt Scripts:NetPrinter - Network Printer UtilityRobocopyGUI - GUI interface for M$ robocopy command line Link to comment Share on other sites More sharing options...
Moderators big_daddy Posted February 3, 2006 Author Moderators Share Posted February 3, 2006 (edited) Gafrost and Rahul Rohela thank you for the information. big_daddy sorry.... Give it a try.... Good Work! I almost had it, I was stuck on the $PID part, at least I had the same concept as you. I added a wait cursor while a remote program is uninstalling also. I have tested it on Adobe Reader 7.0 and Office 2000, it worked great on both. This thing just keeps getting more useful. Will have first post updated in a few minutes. First post now has update. Edited February 3, 2006 by big_daddy 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