Jump to content

Beta Compile Error


Recommended Posts

Sure, make sure that it is a VALID ico file, not just a renamed bmp file.

#)

EDIT: If you are asking how, look here: http://www.autoitscript.com/forum/index.ph...ndpost&p=160636

Edited by nfwu
Link to comment
Share on other sites

  • Moderators

How are you compiling it?

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to comment
Share on other sites

  • Developers

You have probably selected an alternate Icon before which doesn't exists anymore.

Aut2Exe will always use the last used icon as default Icon for compiles

Run this script to reset the registry:

$icon = RegRead("HKCU\Software\AutoIt v3\Aut2Exe","lastIcon")
$icondir = RegRead("HKCU\Software\AutoIt v3\Aut2Exe","lastIcondir")
If Not FileExists($icondir & "\" & $icon) Then 
    ConsoleWrite('! Last used ICON not found: ' & $icondir & "\" & $icon & ', resetting registry entry.' & @lf)
    RegWrite("HKCU\Software\AutoIt v3\Aut2Exe","lastIcon","REG_SZ","")
EndIf
If Not FileExists($icondir) Then 
    ConsoleWrite('! Last used ICON directory not found: ' & $icondir  & ', resetting registry entry.' & @lf)
    RegWrite("HKCU\Software\AutoIt v3\Aut2Exe","lastIconDir","REG_SZ","")
EndIf
Edited by JdeB

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

  • Developers

Thanks... still no go... will try a couple of things. Thanks for all the help so far!

:) You are getting a MSGBOX from aut2exe ...right ?

If so try running aut2exe manually and click for the ICON on the Default button...

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

  • Developers

I have... it still gives me an error... and this is on multiple computers too. :)

So you:

- started AUT2EXE.

- Selected a script to convert

- clicked on Default for the ICON

- clicked Convert button and then you get this error ?

Edited by JdeB

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

So you:

- started AUT2EXE.

- Selected a script to convert

- clicked on Default for the ICON

- clicked Convert button and then you get this error ?

okies... here is what I did....

- started AUT2EXE (in the beta folder)

- Selected my script

- Selected/Saved my Destination

- Clicked on the Default button for the icon

- Clicked on Convert...... now....

Error: Unable to execute upx.exe to compress stub file.

I am running the latest beta... I ran the Toggle AU3 Beta script to switch over to the beta (I got the pop-up message telling me I am running the latest beta)... and now I am stuck.

Link to comment
Share on other sites

  • Developers

okies... here is what I did....

- started AUT2EXE (in the beta folder)

- Selected my script

- Selected/Saved my Destination

- Clicked on the Default button for the icon

- Clicked on Convert...... now....

Error: Unable to execute upx.exe to compress stub file.

I am running the latest beta... I ran the Toggle AU3 Beta script to switch over to the beta (I got the pop-up message telling me I am running the latest beta)... and now I am stuck.

Which directory are you running the aut2exe from ? need to do this from AutoIt3\Beta\aut2exe

I never use the Toggle Beta script because you can select which version use from within SciTE ...

Edited by JdeB

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

Which directory are you running the aut2exe from ? need to do this from AutoIt3\Beta\aut2exe

I never use the Toggle Beta script because you can select which version use from within SciTE ...

yeah... just found how to do it in SciTE... also... yes... I am running it from AutoIt3\Beta\AUT2EXE

Link to comment
Share on other sites

  • Developers

Do you have these 3 files in the AutoIt3\Beta\AUT2EXE directory?:

AUT2EXE.exe

upx.exe

AutoitSC.bin

Edited by JdeB

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

Do you have these 3 files in the AutoIt3\Beta\AUT2EXE directory?:

AUT2EXE.exe

upx.exe

AutoitSC.bin

yes... it is all there... I ran a windows update, a SciTE update, removed all AutoIt 3 stuff and re-installed, ran some registry tools.... just wierd.

Edited by xwinterx
Link to comment
Share on other sites

  • Developers

yes... should I just remove all my SciTE and AutoIT3 stuff then reinstall just the beta? I dunno.

No need to remove SciTE.

Can you (re)install the latest AutoIt3 Beta version and try to run aut2exe from the Beta directory again to see what it says ?

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

No need to remove SciTE.

Can you (re)install the latest AutoIt3 Beta version and try to run aut2exe from the Beta directory again to see what it says ?

Yeah... I did that on both computers... and still get the error regarding UPX.EXE and the stub file. It appears that for whatever reason, the Icon issue has been resolved, but now it can't get past the UPX thing.

Link to comment
Share on other sites

  • Developers

Yeah... I did that on both computers... and still get the error regarding UPX.EXE and the stub file. It appears that for whatever reason, the Icon issue has been resolved, but now it can't get past the UPX thing.

I can only get this error when i rename upx.exe to something else.

These are the file specs in my directory ... are yours the same?

03/26/2006 10:17 AM 101,888 Aut2exe.exe

03/31/2006 03:04 PM 396,288 AutoitSC.bin

06/30/2004 12:13 AM 126,464 upx.exe

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

I can only get this error when i rename upx.exe to something else.

These are the file specs in my directory ... are yours the same?

03/26/2006 10:17 AM 101,888 Aut2exe.exe

03/31/2006 03:04 PM 396,288 AutoitSC.bin

06/30/2004 12:13 AM 126,464 upx.exe

March 26, 2006, 1:17:28 AM aut2exe.exe 101,888 bytes

March 31, 2006, 6:04:06 AM autoitsc.bin 396,288 bytes

June 29, 2004, 3:13:24 PM upx.exe 126,464 bytes

my times are off, but the sizes are the same.

Link to comment
Share on other sites

  • Developers

March 26, 2006, 1:17:28 AM aut2exe.exe 101,888 bytes

March 31, 2006, 6:04:06 AM autoitsc.bin 396,288 bytes

June 29, 2004, 3:13:24 PM upx.exe 126,464 bytes

my times are off, but the sizes are the same.

Just did some more testing and also am able to get the error when i don't have all the security rights on target directory...

When Modify is missing this error will also pop up......

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...