AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Adding an "off" item in the compiler's "Compr

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Wish List
View previous topic :: View next topic  
Author Message
meter



Joined: 12 Jul 2006
Posts: 28

PostPosted: Mon May 12, 2008 6:20 pm    Post subject: Adding an "off" item in the compiler's "Compr Reply with quote

I know this has come up before, but I just wanted to add my two-devaluated-U.S.-cents worth.

I think it would be nice to be able to turn off the compiler's UPX compression from the GUI rather than having to rename upx.exe to disable it. A reasonable place for this would be an "off" option in the compiler's "Compression" menu. And if you add a command-line option for this as well, I will give you my first-born kitten.

(In case you're wondering, the UPX issue recently bit me with an update to my anti-virus software -- documented here.)
_________________
-Meter
Back to top
View user's profile Send private message
[VxE]



Joined: 07 Oct 2006
Posts: 926

PostPosted: Mon May 12, 2008 8:39 pm    Post subject: Reply with quote

Add a "compile no UPX" option to shell menu:
Code:
; Modified by [VxE] from code by Yek-Toho-Tua, bragging rights reserved.
Pth := SubStr( A_AHKPath, 1, -14 )
FileCopyDir, %Pth%Compiler, %Pth%Compiler_noUPX
FileDelete, %Pth%Compiler_noUPX\upx.exe
RegWrite, REG_SZ, HKEY_CLASSES_ROOT, AutoHotkeyScript\Shell\Compile_noUPX\, , Compile (No UPX)
RegWrite, REG_SZ, HKCR, AutoHotkeyScript\Shell\Compile_noUPX\Command, , "%Pth%Compiler_noUPX\Ahk2Exe.exe" /in "`%l"


I think I'm just going to start pasting this in every "zomg some AV sez AHk is virus LuLZ!" thread I see.
_________________
My Home Thread
More Common Answers: 1. It's in the FAQ 2. Ternary ( ? : ) guide 3. Post code with [code][/code] tags
Back to top
View user's profile Send private message
meter



Joined: 12 Jul 2006
Posts: 28

PostPosted: Tue May 13, 2008 6:04 am    Post subject: Reply with quote

VxE,

Nice tweak. But you sorta reinforce my point: if the issue comes up often enough, why not make the solution part of the UI?
_________________
-Meter
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Wish List All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group