• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 237
  • Last Modified:

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.
1 Solution
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!
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.
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.

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now