Need a stand-alone executable.

I would like to compile a VB app to a stand-alone exe file. I don't want to have to distribute any supporting files, or overwrite any system files on the target PC's. Is this possible?

The reason I want to do this is so that I can write a custom installation program to distribute my other applications on CD. Therefore, I can't run an installation on the installation program. I have gotten around this in the past by including the support files on the root of the CD.  However, this doesn't seem to work for VB6.  An error reports that I need a newer version of OLEAUT32.DLL.  Any alternatives would be appreciated.
kkennedy65Asked:
Who is Participating?
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.

cymbolicCommented:
You can make a bootstrap install program in Quick Basic or c that makes a stand alone exe.  You really are only dealing with files and folders anyway, and you don't need all that windows crap code to do that. I've made install prgrams with Quick Basic and the PDQ library that are about 10K in size!  

Also, hey no reason you can't still use VB5 for your install program. Despite the Micrswuft claims, bigger is not always better!
0
TimCotteeHead of Software ServicesCommented:
You cannot as I understand it create a completely stand-alone executable with Visual Basic. There are ways in which the support files can be installed from the Microsoft Website rather than being included in your package, but obviously you cannot always guarantee that the internet is available to your end user.
0
mikeTmikeCommented:
It is not possible to do that in VB but I have ritten a program in Pascal that will either execute an install file if the extra files have not been installed or run the program.  I decined it so I could put software on the autorun of a cd.

If you would like this please give me an address to ware I can upload the file to.
0

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
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
Visual Basic Classic

From novice to tech pro — start learning today.