Not a valid Win32 application

Hi experts,

i created a very small program, with no extra components, created an exe
and some people now downloaded it.
Some of them (not many) get the error message when they try to run it: not a valid Win32 application.

This exe is only 88 KB in size.
If i use Installshield to create an installation package it grows to over 5 MB in size, which is pretty much unacceptable for such a small program.
(in redistributables in Installshield:
- Microsoft component category manager library <--> can not be unchecked)
- Microsoft OLE 2.40 for windows NT and Windows 95 <--> can not be unchecked)
- Microsoft Visual basic Virtual Machine 6.0 <--> can be unchecked)

Components that are checked in Visual Basic: None...
- Visual basic for applications
- Visual basic runtime obects and procedures
- Visual basic objects and procedures
- OLE Automation

Pretty much lost here....

LVL 12
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Guy Hengel [angelIII / a3]Billing EngineerCommented:
did they download the app with binary mode?
which platform are you on (Alpha, Intel)?

>If i use Installshield to create an installation package it grows to over 5 MB in size,
the problem is that VB's runtime dll is over 3 MB and actually contains all the things that are NOT in the .exe.

if you want a smaller exe without runtime dll's, vb is the wrong product, C/C++ etc will be better suited.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
PaurthsAuthor Commented:
thanx for the respons, angelIII,
i'm using intel-platform

this makes me wonder why it is that some people get the error (a minority) and others don't...

These are in fact about 2 exe files, different ones.
program 1: a few people got the error (filesize was OK --> some even got the error when installing the setup-file created with installshield...)
program 2: everyone got the error, but it now seems that the exe-file was truncated. Its size was 15KB smaller than the original after downloading it.
I had a similar problem when posting an EXE for a vb app I wrote on my website. Some people it worked for and others it got corrupted when they downloaded. Zipping the file and letting them download the zip instead solved the problem for me.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.