Sign in to follow this  
Followers 0
beol

Uninstall script Wanted

3 posts in this topic

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)

Share this post


Link to post
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.


Get Beta versions Here Get latest SciTE editor Here AutoIt 1-2-3 by Valuater - A great starting point.

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

Share this post


Link to post
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

Share this post


Link to post
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
Sign in to follow this  
Followers 0