Results 1 to 9 of 9

Thread: combining an exe file in my vbp...

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2000
    Location
    I'm right here!
    Posts
    849

    combining an exe file in my vbp...

    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

    Dekel C.

  2. #2
    Frenzied Member sciguyryan's Avatar
    Join Date
    Sep 2003
    Location
    Wales
    Posts
    1,763

    Re: combining an exe file in my vbp...

    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
    My Blog.

    Ryan Jones.

  3. #3
    PowerPoster RhinoBull's Avatar
    Join Date
    Mar 2004
    Location
    New Amsterdam
    Posts
    24,132

    Re: combining an exe file in my vbp...

    It should be included automatically for you.

  4. #4
    Frenzied Member sciguyryan's Avatar
    Join Date
    Sep 2003
    Location
    Wales
    Posts
    1,763

    Re: combining an exe file in my vbp...

    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
    My Blog.

    Ryan Jones.

  5. #5
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: combining an exe file in my vbp...

    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.

  6. #6
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    Re: combining an exe file in my vbp...

    Quote Originally Posted by Hack
    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.

  7. #7

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2000
    Location
    I'm right here!
    Posts
    849

    Re: combining an exe file in my vbp...

    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...
    Dekel C.

  8. #8
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    Re: combining an exe file in my vbp...

    Quote Originally Posted by dekelc
    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...

  9. #9
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: combining an exe file in my vbp...

    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 ********** combined with Inno Setup

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width