AutoHotkey Community

It is currently May 26th, 2012, 5:16 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: April 4th, 2008, 7:51 am 
Offline

Joined: January 30th, 2005, 11:18 pm
Posts: 133
Location: Darmstadt, Germany
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 4th, 2008, 12:43 pm 
Offline

Joined: July 21st, 2006, 12:26 am
Posts: 223
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)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 4th, 2008, 6:50 pm 
Offline

Joined: January 30th, 2005, 11:18 pm
Posts: 133
Location: Darmstadt, Germany
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.


Report this post
Top
 Profile  
Reply with quote  
PostPosted: May 27th, 2009, 2:15 pm 
I also got this error when the script I was trying to run was in a folder the user had no permissions for. Add permissions, and it worked (compressed, too).


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Alpha Bravo, Google [Bot], mrhobbeys, oldbrother, poserpro, rbrtryn and 70 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group