Jump to content

Recommended Posts

Posted

I have small AutoIT script but 4GB of files to attach. I zipped the files into a self executing exe so I have only about 5 files to actually compile. I continually get the error below when trying to compile (takes about 5 minutes to get). I have installed AutoIT on a 64bit Win7 with 8GB of RAM and get the same thing. No matter if I get select to continue compiling or stop. The resulting file, although it looks to be the right size (about 4.25GB), will not run saying it is not a win32 exe. Any advice? Thanks.

Error: EndUpdateResource: Returncode = 0 - LastError:87:The operation completed successfully.

Posted (edited)

Advice?

Yes don't try and put such extraordinarily large data into the resource table, it simply cannot handle it.

Why not use FileInstall() function?

Either way your task is going to take quite some time.

Ed:

Assumption was incorrect.

Edited by Mobius

wtfpl-badge-1.png

Posted

The first thing is that you cant execute files larger then 4GB on x86 system "not run saying it is not a win32 exe". Second thing, do You really need to have all those files in 1 .exe file? Not better add some .cab files to the package ?

Posted

I am using FileInstall. I did remove some files to get it below 4GB and it did finally work. It went through a lot of different errors but it did finish. I found I had to remove wrapper data at the top of the au3 file also. thanks.

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
  • Recently Browsing   0 members

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