Sign in to follow this  
Followers 0
Seilim

Running C# app with AutoItX without AutoIt installed

3 posts in this topic

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?

Share this post


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

Share this post


Link to post
Share on other sites

daluu is right. It does depend on which interface you use (native/COM). Native dlls can just be copied with the app but you can actually run COM objects without them being registered. I don't know how but there are people who have done it here around the forum.

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