beol Posted November 21, 2005 Share Posted November 21, 2005 Hey bord. I think im gone blind on how to make this... I want to make a uninstall script that uses "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" to take all program thats start with "MetaFrame*" and "Citrix*" (*= wildcard) and run there "UninstallString" you guys got any tricks up your sleeves Link to comment Share on other sites More sharing options...
BigDod Posted November 21, 2005 Share Posted November 21, 2005 Hey bord.I think im gone blind on how to make this... I want to make a uninstall script that uses "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall"to take all program thats start with "MetaFrame*" and "Citrix*" (*= wildcard)and run there "UninstallString"you guys got any tricks up your sleeves Search the forum for uninstall and I am sure you will find a few examples. Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother Link to comment Share on other sites More sharing options...
Danny35d Posted November 21, 2005 Share Posted November 21, 2005 Take a look at this function (Webpage), it will give you an array will all the software installed on the local computer or remote computer.Then you only need a For loop to check for metaframe and citrix:For $x = 1 to $ret[0] $find = StringLower(StringLeft($ret[$x], 9)) If $find == 'metaframe' Or StringLeft($find, 6) == 'citrix' Then $foundit = $foundit & '|' & $ret[$x] NextHope this will help you to get started.... AutoIt Scripts:NetPrinter - Network Printer UtilityRobocopyGUI - GUI interface for M$ robocopy command line 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