Results 1 to 6 of 6

Thread: Necessary files to run?????

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Dec 2005
    Posts
    112

    Question Necessary files to run?????

    i want to make my own setup program in vb6. this program will also required
    some necessary files to run on another machine tell me what have i do???

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

    Re: Necessary files to run?????

    Quote Originally Posted by Nida
    i want to make my own setup program in vb6. ...
    Not sure what that means - do you want to package your program or you want to write new utility to build distribution packages?

    - if first then use Package & Deployment Wizard (aka P&DW) that comes shipped with VB for ages (or whatever else you might have)
    - if second then take a look at Setup1.vbp sample project (comes with VB as well) - P&DW is based on it; default location is as follows:

    C:\Program Files\Microsoft Visual Studio\VB98\Wizards\PDWizard\Setup1

  3. #3
    Frenzied Member the182guy's Avatar
    Join Date
    Nov 2005
    Location
    Cheshire, UK
    Posts
    1,473

    Re: Necessary files to run?????

    you wil have to pack all of the files into your setup app which is difficult, it would be much easier to use the 'Package and deployment wizard' which you can build a setup application which will unpack all of the files, and its very fast and easy to use.
    Chris

  4. #4
    Former Admin/Moderator MartinLiss's Avatar
    Join Date
    Sep 1999
    Location
    San Jose, CA
    Posts
    33,431

    Re: Necessary files to run?????

    And you may not realize it but the Package & Deployment Wizard is a VB program and so you can modify it however you see fit. You can find the project in

    C:\Program Files\Microsoft Visual Studio\VB98\Wizards\PDWizard\Setup1\Setup1.vbp

  5. #5
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: Necessary files to run?????

    The P&D Wizard uses a primer (setup.exe), presumably written in C, that installs the VB runtime and does the actual unpacking of installation files. It then loads Setup1.exe which allows for customisation of the installation process.

    If you were to write your own installer from scratch in VB it would require the VB runtime files and so would not be able to install on computers lacking the runtime library.

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

    Re: Necessary files to run?????

    Nida,

    Why would you want to re-invent the wheel when there are several good wheels around???? (A Round...LOL).

    http://www.vbforums.com/showthread.php?t=315829

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