Jump to content
Sign in to follow this  
williamk

Uninstalling and Deleting Active X controls and DLLs

Recommended Posts

williamk

In Windows you can navigate to the C:\Windows\Downloaded Program Files folder, right click on an object you want to remove and click on remove. This action unistalls and deletes the control. I am trying to do the same thing with an Autoit script. I tried the below. It unregisters the objects, but does not delete them. They then show up in the folder as unknown objects. Is there a way to do this correctly?

ShellExecuteWait("C:\Windows\system32\regsvr32.exe", '-u "C:\Windows\Downloaded Program Files\abraControllerPod111.dll"')
ShellExecuteWait("C:\Windows\system32\regsvr32.exe", '-u "C:\Windows\Downloaded Program Files\abraControls111.OCX"') 
FileDelete("C:\Windows\Downloaded Program Files\abraControllerPod111.dll")
FileDelete("C:\Windows\Downloaded Program Files\abraControls111.OCX")

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.