Jump to content

Uninstall script Wanted


beol
 Share

Recommended Posts

Hey bord.

I think im gone blind on how to make this... :o

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 B)

Link to comment
Share on other sites

Hey bord.

I think im gone blind on how to make this... :o

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 B)

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

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]
Next

Hope 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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...