Jump to content

Recommended Posts

Posted

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

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
  • Recently Browsing   0 members

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