What setting to use when packing compiled autohotkey and autoit exe files?

Started by newuser, March 31, 2010, 08:48:03 PM

Previous topic - Next topic

newuser


Well, I havent been able to pack those two compiled exe files using pecompact2 successfully :(, so I decided to ask have anyone done it bedore and using what setting especially using the latest pecompact2 version?


Thanks. :)

Jeremy Collake

Be sure to include the extra-data/overlay ... then it *should* work.
Software Engineer. Bitsum LLC.

newuser

Quote from: jeremy.collake on April 01, 2010, 08:55:10 AM
Be sure to include the extra-data/overlay ... then it *should* work.

I did but still failed in packing those two type of exe files.

So what else Im missing here or I need to do? :(

Jeremy Collake

I've had multiple customers tell me they use PECompact on AHK executables, so I am sure it works (or should). I am unsure of what additional settings might be relevant, if that's not working. Since I'm not particularly familiar with AHK, perhaps a user here can assist you with an answer.

I can say that an alternate approach may be possible. AHK surely has some sort of executable 'stub' that it bases compiled AHK scripts on. This 'stub' is simply the AHK interpetor. If you can find this stub on disk, maybe named something other than *.EXE, it perhaps can be pre-compressed. The executable stub may be in the resources of the AHK compiler though, in which case the operation is still possible, but a little more work.

AFAIK, PECompact should 'just work' on AHK compiled executables. Perhaps its an AHK compiler setting that needs tweaked? I don't know... hoping users can help you on this one.

Software Engineer. Bitsum LLC.

Aliraza84

I think this already exists but it is called "Shell integration". When I installed PECompact, I removed this option and I have no PECompact entries in my shell context menu.
[url=http://www.freecell-game.org]http://www.freecell-game.org[/url]