Just a few days short of a decade later, AutoIt is an almost portable software.
The only non portable leftover is
this issue. But alas, any attempt to solve it gets the developer very angry, to the level of almost cursing me.
I think the main problem is no one in the world but me shows support for AutoIt to be a stealth program (i.e. 100% portable), so the developer treats me like a pain in the you-know-what.
If you read this and do want it 100% portable, please enter that issue and show support.
To sum up:
- During each compilation, AutoIt creates a non portable folder (if it didn't exist before), then keeps it blank but never bothers to delete it.
- Compilations can be done either directly via aut2exe or indirectly through AutoIt3Wrapper.
- But I claim most compilations are just done through the GUI of SciTE, AutoIt's hand picked editor (which calls AutoIt3Wrapper which calls aut2exe).
- The developer refuses to provide any way (like a command line parameter) to make either aut2exe or AutoIt3Wrapper not create that folder in the first place.
- So I offered a compromise - since most people use SciTE for this, just make sure when SciTE exits, delete that folder if it exists. If it's really necessary, check first if there's a file called "portable" or if SciTE.exe was started with something like SciTE.exe -portabale. What makes things messier is that SciTE is not AutoIt, but yet it's a customized version for AutoIt.
- My current alternative is to run SciTE through a portabilizer (luckily I own one and all it needs is deletefolders="%LocalAppData%\AutoIt v3\").
So if any of this matters to you, please show support in that issue so that developer will know you care too.