| View previous topic :: View next topic |
| Author |
Message |
RobOtter
Joined: 30 Jan 2005 Posts: 125 Location: Darmstadt, Germany
|
Posted: Fri Apr 04, 2008 7:51 am Post subject: Compiled script: "exe corrupted" on Windows Server |
|
|
Hi,
I installed Windows Server 2008 (Standard Edition, 32bit, 60-day trial) in VirtualBox VM.
I tried to run a compiled script which works flawlessly under 2k, XP, Vista a.s.o.
If I run it under WS2k8, a Windows error message pops up saying "exe corrupted". Is there a known limitation in AHK with respect to this very new OS or have I done something wrong? I have not yet tested to install AHK and run the script uncompiled with AHK itself (this is not what I intend to end up with).
Regards,
Rob |
|
| Back to top |
|
 |
k3ph
Joined: 21 Jul 2006 Posts: 123
|
Posted: Fri Apr 04, 2008 12:43 pm Post subject: |
|
|
try to compile it disabling upx.
it seems not a ahk problem but a compression one.
for compiling without upx, go to \AutoHotkey\Compiler folder and rename upx.exe to anything (eg: upx.exe.backup) |
|
| Back to top |
|
 |
RobOtter
Joined: 30 Jan 2005 Posts: 125 Location: Darmstadt, Germany
|
Posted: Fri Apr 04, 2008 6:50 pm Post subject: |
|
|
Thanks for the hint, but it doesn´t work. Although the file is nearly doubled in size (proof that UPX packer is not used), the message stays the same.
But I finally found the problem. It was only because I tried to start the app from the shared folder I had defined within VirtualBox. After simply copying it to a local folder inside the virtually running Windows Server 2008, everything worked fine.
Interesting side note: the OS is identified as "WIN_VISTA"...
For my purposes, this is ok since the relevant files (keyboard drivers in this case) are the same in both Vista and Server 2008. |
|
| Back to top |
|
 |
|