Compile Exe File VS deployment package VB6
Hi,
I know how to create exe file (File menu -> create exe.file)
and I know how to deploy the package to make a setup.exe file (install it in the every user workstation)
However,
what is the different between them?
Just create exe file, every user can use it and run it, doesn't need to install anything.
if I deploy the package, and then every user need to intall it on their workstation, and then run it.
They work same thing.
What is the advantage for deployment the package?
Thanks.
Re: Compile Exe File VS deployment package VB6
If you use the default control shown in the toolbox, There is no need to install the software in the client machine.If you use any OCX,DLL then you have to create package to install in the client machine.The choosen OCX and DLL are to be copied to the client machine and properly registered
Re: Compile Exe File VS deployment package VB6
Welcome to VBForums accessman2! :wave:
I'm afraid you are both wrong.. no matter how simple your VB program is, you need to install it to make it work.
The executable file that is created by compiling your program (.exe/.dll/...) has several extra files that are needed (such as the VB runtimes), and they must be installed in order for your program to work.
Old versions of some of these files are included with newer versions of Windows (like XP), or have been installed by other VB programs, but it is not a good idea to rely on them.. If an old version of any of the files is installed (say SP2 when you are using SP6) then your program will seem to work, but you are likely to have 'random' bugs.