"is not a vaild Win32 application" large standalone exe - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

zhahaman2001
Posts: 1
Joined: Sun Mar 31, 2013 12:21 am

"is not a vaild Win32 application" large standalone exe

I have a very large package installer I am working on that has about 8.5 GB worth of files to install. The exe installer with files next to it works just fine but I was really looking for a way to package everything into a standalone exe. When I do try the option for a standalone exe (with LMZA2) advanced installer says it successfully created the setup file but when i go to run it i get the windows error "Setup.exe is not a vaild Win32 application". (Im running windows 7 x64 on NTFS)

The standalone exe that advanced installer creates looks like a normal exe about 6.5 GB, its got a icon, description, ect. The only thing that is differnt is its missing the windows security icon thats placed over the exe files icon (indicating that windows is going to run it as an administrator). So theres no windows security popup asking you to run the file it just goes straight to the error.

Weird thing is when I create the exe on different partition on my harddrive (same NTFS format) it creates a runable exe!!! The only problem is if I try to move it it becomes an exe that errors out again...

any ideas of whats going on here?
whats the largest standalone exe file advanced installer can successfully create?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: "is not a vaild Win32 application" large standalone exe

Hello and welcome to Advanced Installer forums,

Thank you for your interest in Advanced Installer.

I'm afraid this is a Windows OS limitation. Windows OS doesn't support EXE files larger than 2 GB. So, in order to achieve what you want you should build your installation package as an "EXE setup with resources next to it".

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”