Author Topic: What setting to use when packing compiled autohotkey and autoit exe files?  (Read 9113 times)

Offline newuser

  • Basic
  • **
  • Posts: 18

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



Offline Jeremy Collake

  • Administrator
  • Member#
  • *****
  • Posts: 5261
  • Gender: Male
  • The Lasso
    • Bitsum
Be sure to include the extra-data/overlay ... then it *should* work.
Software Engineer. Bitsum LLC.

Offline newuser

  • Basic
  • **
  • Posts: 18
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? :(

Offline Jeremy Collake

  • Administrator
  • Member#
  • *****
  • Posts: 5261
  • Gender: Male
  • The Lasso
    • Bitsum
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.

Offline Aliraza84

  • New
  • *
  • Posts: 1
Re: What setting to use when packing compiled autohotkey and autoit exe files?
« Reply #4 on: December 18, 2014, 02:07:41 AM »
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.