Results 1 to 16 of 16

Thread: Creating an installation file

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Dec 2004
    Posts
    610

    Creating an installation file

    hey guyz...
    how do you create an installation file?

  2. #2
    Hyperactive Member Kirun's Avatar
    Join Date
    Oct 2001
    Location
    Karachi , Pakistan
    Posts
    333

    Re: Creating an installation file

    pasted from MSDN ,i assume you are talking about this

    Note The Setup Wizard is not available in the Standard Edition of Visual Basic .NET. For more information, see Visual Basic Standard Edition Features.
    To access the Setup Wizard, on the File menu, point to Add Project, then click New Project. In the Add New Project dialog box, click the Setup and Deployment Projects node, and then click Setup Wizard.

    Choose a project type
    Specifies the type of deployment project that will be created. You can create a setup (Windows Installer) project for a Windows or Web application, create a merge module to be shared by other applications, or package files in a Cab file.
    Choose project outputs to include
    Specifies project outputs to be added to the deployment project. You can select one or more outputs from the list of all outputs available in the solution. When an output is selected, the Description field displays a description of that output.
    Choose files to include
    Specifies additional files to be included for deployment. Use the Add button to browse for additional files, or use the Remove button to remove files from the list.
    Summary
    Provides a summary of the options selected for the deployment project.

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Dec 2004
    Posts
    610

    Re: Creating an installation file

    hey
    i did that already
    but i cannot find the setup file in the folder that i specified....

  4. #4
    Frenzied Member tr333's Avatar
    Join Date
    Nov 2004
    Location
    /dev/st0
    Posts
    1,605

    Re: Creating an installation file

    if you want to create a setup .exe (like InstallShield installer) then try InnoSetup.
    CSS layout comes in to the 21st century with flexbox!
    Just another Perl hacker,

  5. #5

    Thread Starter
    Fanatic Member
    Join Date
    Dec 2004
    Posts
    610

    Re: Creating an installation file

    visual studio doesn't provide an installer?
    kinda wierd...

  6. #6

    Thread Starter
    Fanatic Member
    Join Date
    Dec 2004
    Posts
    610

    Re: Creating an installation file

    any idea?

  7. #7

    Thread Starter
    Fanatic Member
    Join Date
    Dec 2004
    Posts
    610

    Re: Creating an installation file

    help

  8. #8

    Thread Starter
    Fanatic Member
    Join Date
    Dec 2004
    Posts
    610

    Re: Creating an installation file

    i want to create an installer.. like the packaging thing that can be found in vb 6
    Last edited by ryanlum; Mar 18th, 2005 at 10:23 AM.

  9. #9
    Lively Member
    Join Date
    Dec 2004
    Posts
    121

    Re: Creating an installation file

    Did you look in the bin directory where your project resides? That should be where your setup.exe files are.
    Last edited by Malim; Mar 18th, 2005 at 01:35 PM.

  10. #10
    Lively Member
    Join Date
    Dec 2004
    Posts
    121

    Re: Creating an installation file

    Oops, I goofed. It shouldn't be in the bin directory. That's where your .exe file is. But, it should be in the setup file that your setup project created. In the debug directory. You should see Setup.exe, Setup.ini and Setup*.msi.

    Did you look there for your setup.exe?

  11. #11

    Thread Starter
    Fanatic Member
    Join Date
    Dec 2004
    Posts
    610

    Re: Creating an installation file

    yiah i did.. but i cannot find the exe file.. just the files that i choose to copy during the setup process..
    i am suppose to create exe file somewhere else?

  12. #12
    Lively Member
    Join Date
    Dec 2004
    Posts
    121

    Re: Creating an installation file

    Can you give more information about what you did?

    Did you add a setup project to your solution? If so, you woud have walked through pointing to your application.exe in the bin folder and then setting up the dependencies and the target customization in terms of whether users would have a icon on their desktop to start the app, whether the setup needed to check for the .net framework and mdac, etc.?

    If you went through this process .net created a seperate project that should be in the same directory as your project solution. The VB.net default directory's name is Setup1. Within the Setup1 directory there are some sub directories one of which is the debug directory. Your setup.exe should be in there if this is how you did your set up.

    You can look in solution explorer and see if you have a setup project associated with your project. If not, then you either did it another way. It should be at the bottom of your solution explorer window.

    If you want to create a setup.exe file in vb.net this is an easy way to do it.

  13. #13

    Thread Starter
    Fanatic Member
    Join Date
    Dec 2004
    Posts
    610

    Re: Creating an installation file

    hey.. i did not make an exe file for my entire program.. how do i do that... and when i created the setup file.. after installing it.. it just included all the files that i selected but not the entire project...


    is there a way to create an executable? so that if i double click on it it will run the entire program?

  14. #14
    Lively Member
    Join Date
    Dec 2004
    Posts
    121

    Re: Creating an installation file

    When you build your project, it automatically makes an executable file in the bin directory. In fact, any time you start your project to step through your code it automatically makes an executable. I'm not at work so I don't have VS, this might not be exactly right, there is a Build option on the menu select it, and click build. You can find it. (But, you probably already have an executable in your bin directory if you've completed development and thoroughly debugged your code.)

    Let's say you have a project named Project1. Look in the project1 directory, then in the bin folder, and your .exe should be there.

    If you created a setup file from the using the VS setup project, and you didn't point to your exe then, your setup project won't work. Because it won't have an application to install.

  15. #15

    Thread Starter
    Fanatic Member
    Join Date
    Dec 2004
    Posts
    610

    Re: Creating an installation file

    hey.. when we select the files to put in... do we need to sleect all the forms and all?
    then do we need to select all the folders thata re inside also?

  16. #16
    Lively Member
    Join Date
    Dec 2004
    Posts
    121

    Re: Creating an installation file

    No - you need to select the .exe. file though. And, any dependencies. Like, if you have an app that has Crystal reports you have to select all the Crystal Reports merge modules.

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