| View previous topic :: View next topic |
| Should UPX be removed from Autohotkey install? |
| Yes, remove UPX from Autohotkey Installer |
|
18% |
[ 10 ] |
| No, but make UPX compression optional in AHK2EXE (with warning) |
|
60% |
[ 32 ] |
| No, UPX should be kept in by default, leave it up to the user |
|
20% |
[ 11 ] |
|
| Total Votes : 53 |
|
| Author |
Message |
SoLong&Thx4AllTheFish
Joined: 27 May 2007 Posts: 4999
|
Posted: Sun Jan 10, 2010 4:49 pm Post subject: Should UPX be removed from AHK install? (mpress for ahk_l) |
|
|
See http://www.autohotkey.com/forum/viewtopic.php?t=53129 for a short intro. UPX can cause compiled AHK scripts to be flagged as a virus/trojan
Should the UPX be removed from the Autohotkey installer, be optional (with a warning about false positives), or be kept in (so users have to remove UPX themselves)
Edit: feel free to motivate your choice
Edit2 Oct 2010: upx has been replaced with http://www.matcode.com/mpress.htm (mpress.exe in compiler folder) for ahk_l, see ahk_l discussion thread here http://www.autohotkey.com/forum/viewtopic.php?p=379672#379672
Edit3 Dec 2010:
| Lexikos wrote: | See v1.0.90:
| Quote: | Other Changes
In an attempt to solve the anti-virus false positives, I've removed mpress.exe from the installer and have not compressed the other executables. To compress compiled scripts (which also adds a degree of protection), you may need to download MPRESS and place it in the Compiler directory. If you've installed a previous version of AutoHotkey_L, you probably already have mpress.exe. |
(This was referring to false positives for the installer and its contents, not specifically compiled scripts.)
Source: http://www.autohotkey.com/forum/viewtopic.php?p=404030#404030
|
_________________ AHK Wiki FAQ
TF : Text files & strings lib, TF Forum
Last edited by SoLong&Thx4AllTheFish on Fri Dec 03, 2010 9:58 am; edited 2 times in total |
|
| Back to top |
|
 |
tidbit
Joined: 09 Mar 2008 Posts: 1807 Location: Minnesota, USA
|
Posted: Sun Jan 10, 2010 4:59 pm Post subject: |
|
|
in the installer for AHK, there is that check list of things you want to include. UPX could be in that list.
for non-installers, it could be included, but renamed as something else so it's 'off' by default. if people want it on, they can just rename the file. _________________ rawr. be very afraid
*poke*
Note: My name is all lowercase for a reason.
Even monkeys fall from trees. - Japanese proverb |
|
| Back to top |
|
 |
mouser
Joined: 03 Oct 2008 Posts: 9
|
Posted: Sun Jan 10, 2010 6:52 pm Post subject: |
|
|
I don't see any good reason not to install it with autohotkey.
but i think the important thing is to not have it used by default when compiling, and to warn the user seriously about the repercussions if they choose to activate it. |
|
| Back to top |
|
 |
Guest
|
Posted: Mon Jan 11, 2010 8:29 am Post subject: |
|
|
The real solution is to try & get UPX delisted as being bad...we report false positives on AutoHotkey but we should report UPX itself as false positive...
Also AutoHotkey Server time is 5 mins off (behind)...it's 3:33am EST now... |
|
| Back to top |
|
 |
tank
Joined: 21 Dec 2007 Posts: 3700 Location: Louisville KY USA
|
Posted: Mon Jan 11, 2010 8:10 pm Post subject: |
|
|
the problem is upx is a common compression to use with viruses it is guilty by association _________________
We are troubled on every side‚ yet not distressed; we are perplexed‚
but not in despair; Persecuted‚ but not forsaken; cast down‚ but not destroyed; |
|
| Back to top |
|
 |
tomoe_uehara
Joined: 05 Sep 2009 Posts: 1591 Location: Somewhere near you
|
Posted: Tue Jan 12, 2010 3:38 am Post subject: UPX... Should we leave it behind? |
|
|
First of all, what is UPX, and why should I use it when compiling an ahk to exe?
Could UPX give me a better compression ratio, or speeding up my compiled script, or prevent disassembling, or what?
(I'm a newbie here, hehe ) _________________
The quick onyx goblin jumps over the lazy dwarf |
|
| Back to top |
|
 |
trik
Joined: 15 Jul 2007 Posts: 1320
|
Posted: Tue Jan 12, 2010 6:20 am Post subject: Re: UPX... Should we leave it behind? |
|
|
| tomoe_uehara wrote: | First of all, what is UPX, and why should I use it when compiling an ahk to exe?
Could UPX give me a better compression ratio, or speeding up my compiled script, or prevent disassembling, or what?
(I'm a newbie here, hehe ) |
UPX is the chosen compression software of AutoHotkey. [More..] _________________ Religion is false. >_> |
|
| Back to top |
|
 |
Lexikos
Joined: 17 Oct 2006 Posts: 7295 Location: Australia
|
Posted: Tue Jan 12, 2010 12:06 pm Post subject: Re: UPX... Should we leave it behind? |
|
|
| I voted "make UPX compression optional" since I think it'll help solve a common problem, but TBH I don't use compiled scripts. |
|
| Back to top |
|
 |
tomoe_uehara
Joined: 05 Sep 2009 Posts: 1591 Location: Somewhere near you
|
Posted: Tue Jan 12, 2010 4:06 pm Post subject: |
|
|
Thank you trik for pointing that out =)
UPX stands for "Ultimate Packer for eXecutables".
Are there any better packer we could use to convert ahk to exe? _________________
The quick onyx goblin jumps over the lazy dwarf |
|
| Back to top |
|
 |
Guest
|
Posted: Tue Jan 12, 2010 4:19 pm Post subject: |
|
|
| tomoe_uehara wrote: | | Are there any better packer we could use... |
(English note: "Are there" should be "Is there" {or "Are there any better packers" to make it plural}) ...No, UPX is the best packer I know of, it's just really annoying that it gets flagged as a virus soo much...
| tomoe_uehara wrote: | | ...to convert ahk to exe? |
...UPX doesn't turn ahk into an exe, ahk2exe does that, then UPX makes the exe smaller...UPX has nothing to do with AutoHotkey, other than we use it to make exe's smaller...UPX can be used to make any exe smaller...
I vote for a checkbox & maybe even turning UPX off by default, but I don't support removing it...if we do that, then the Anti-Virus Companies, with their false postives, have won... |
|
| Back to top |
|
 |
PhiLho
Joined: 27 Dec 2005 Posts: 6836 Location: France (near Paris)
|
Posted: Sat Jan 23, 2010 11:04 am Post subject: |
|
|
One question could be: is UPX still needed, in days were a 10MB install file is said to be "small"?
I love small but efficient software, but UPX is only a kind of "cheat", and I was never convinced of its usefulness, particularly for software like AHK which isn't that big. _________________
vPhiLho := RegExReplace("Philippe Lhoste", "^(\w{3})\w*\s+\b(\w{3})\w*$", "$1$2") |
|
| Back to top |
|
 |
Zaelia
Joined: 31 Oct 2008 Posts: 604 Location: France
|
Posted: Tue Jan 26, 2010 8:15 am Post subject: |
|
|
I think UPX must be an option...
http://www.autohotkey.com/forum/viewtopic.php?t=22975
| Code: |
name.ext = size memory
SCRIPT1.AHK = 2 KB 1716K
script1.exe = 412 KB (noUPX) 1240K
script1.exe = 202 KB 1656K
with embedded ressource (843KB) :
script1.exe = 1220 KB (noUPX) 1240K
script1.exe = 214 KB 2508K
SCRIPT2.AHK = 113 KB 5472K
script2.exe = 429 KB (noUPX) 4620K
script2.exe = 219 KB 4936K
with embedded ressource (5270KB) :
script2.exe = 5836 KB (noUPX) 4620K
script2.exe = 3034 KB 10324K
|
It seems that UPX saves disk space but will use more memory? |
|
| Back to top |
|
 |
engunneer
Joined: 30 Aug 2005 Posts: 8255 Location: Maywood, IL
|
Posted: Fri Jan 29, 2010 10:54 pm Post subject: |
|
|
I have to agree with PhiLho here. the internet is such that 10MB files are not a /huge/ deal to send anymore, though on my crappy cell phone internet in Germany, it would take me a few minutes for 10MB.
since typical AHK scripts (without fancy stuff embedded) are less than 0.5MB without UPX, I would vote for removing it entirely from the install. I think it will help dissociate AHK from the stigma UPX has. _________________
(Common Answers) |
|
| Back to top |
|
 |
SoLong&Thx4AllTheFish
Joined: 27 May 2007 Posts: 4999
|
|
| Back to top |
|
 |
tomoe_uehara
Joined: 05 Sep 2009 Posts: 1591 Location: Somewhere near you
|
|
| Back to top |
|
 |
|