Click to See Complete Forum and Search --> : combining an exe file in my vbp...
dekelc
Apr 27th, 2005, 11:18 AM
hello,
I am creating a setup app to go with all my created programs...
all is fine, but how can I put an exe file in my app so that I can copy it
during the setup process?
thanks
:wave:
sciguyryan
Apr 27th, 2005, 11:20 AM
You know that VB comes with an application that can do this called Package & Deployment Wizard.
Also, you could try putting them in a .cab file and including that with your file. Then have your file extract and copy that :)
Cheers,
RyanJ
RhinoBull
Apr 27th, 2005, 11:21 AM
It should be included automatically for you.
sciguyryan
Apr 27th, 2005, 11:37 AM
Wait, if you are using the Package and Deployment Wizard then you'll need to include the file when it asks you what files you wish to include (And there should be all the DLL's and OCX files used by your application) you'll need to add it there :)
Cheers,
RyanJ
Hack
Apr 27th, 2005, 12:08 PM
Also, when you have your complete installation package made, you should test it on a machine that does not have the application or VB installed before you ship it out to your customers.
kleinma
Apr 27th, 2005, 12:46 PM
Also, when you have your complete installation package made, you should test it on a machine that does not have the application or VB installed before you ship it out to your customers.
just to add to what Hack has said, you REALLY want to test it on all OS that you are looking to target, as it may work fine on XP, but totally bomb out when installed on 98 or ME...
I have a testing environment setup with 95,98,ME,2000,XP,XPSP1,XPSP2 for testing (sometimes I install SPs on 2000 for testing when needed though)
2000 and XP come with the VB6 runtimes already, while older systems do not.
dekelc
Apr 27th, 2005, 02:57 PM
the point is that I want to make the setup app by myself...
that is why I want to combine my exe's in my setup vbp...
kleinma
Apr 27th, 2005, 03:03 PM
the point is that I want to make the setup app by myself...
that is why I want to combine my exe's in my setup vbp...
are you aware that your setup app you write yourself will not run on a PC that doesn't have VB runtimes (which is what an installer installs aside from your app itself)
installers are generally written in a C type language and install VB runtimes as well as your application....
what you COULD do, is take a look at the project that is included with VB6 located at
C:\Program Files\Microsoft Visual Studio\VB98\Wizards\PDWizard\Setup1
it is the full source code of the setup app that the PDW uses for installing... since the PDW uses 2 exes, setup and setup1 it functions like this:
setup.exe is a C exe that installs the VB runtimes on the system, and then executes setup1.exe which is the actual installer.. since the runtimes are now there it can run properly...
randem
Apr 27th, 2005, 03:39 PM
dekelc,
Just curious... Why would you want to create a setup app when there are so many good ones available and some are even free?????
Try ********** (http://www.**********.com) combined with Inno Setup (http://www.jrsoftware.org)
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.