Jump to content

Running C# app with AutoItX without AutoIt installed


Seilim
 Share

Recommended Posts

Hi!

I created a simple mmorpg bot/clicker in C# using AutoItX.dll. What do I have to do to run it on PC where is no AutoIt installed? Yes, I can't install AutoIt there, I don't want to install anything. I want to have my program portable.

Should I move AutoItX.dll to system files or something like this?

Any suggestion?

Link to comment
Share on other sites

I've never used AutoIt DLL as a native Windows (~C/C++) DLL, so not sure about that. Most DLLs of that type should work with your program as long as you copy the DLL to your program's folder (or C:\Windows\system32). It is best to keep DLL in your system folder where possible.

If you're using AutoIt via the COM (interop for C#/.NET), then that won't work, since you have to install the DLL for COM usage. But if you are allowed to do that, you simply just invoke a regsvr32 for that DLL to install it for COM use on the target system. Location of DLL can be anywhere. After execution, you could also unregister it to uninstall the DLL. But install/uninstall combo isn't ideal for repeated use.

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...