Results 1 to 7 of 7

Thread: [RESOLVED] [1.0/1.1] Packaging the Framework when creating a Setup File

  1. #1

    Thread Starter
    Hyperactive Member drattansingh's Avatar
    Join Date
    Sep 2005
    Posts
    395

    Resolved [RESOLVED] [1.0/1.1] Packaging the Framework when creating a Setup File

    Hi. I'm creating a setup file and I originally thought that the framework was packaged when creating the setup file. But I found out that the framework is not packaged and if you try to install your application on a computer that does not have the framework, a prompt is given to the user to install the framework and the installation quits. The installation will not continue.

    My question is, is there any way I could package the framework in the setup file when creating a setup for a c sharp application? I want to know this since I'm thinking if a user does not have the framework installed on their machine it could somehow be contained in the setup file that will install the framework. Could this be done?

    Jennifer

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

    Re: [1.0/1.1] Packaging the Framework when creating a Setup File


  3. #3

    Thread Starter
    Hyperactive Member drattansingh's Avatar
    Join Date
    Sep 2005
    Posts
    395

    Re: [1.0/1.1] Packaging the Framework when creating a Setup File

    Thank you

  4. #4
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: [RESOLVED] [1.0/1.1] Packaging the Framework when creating a Setup File

    I couldn't see a direct link on the page Hack linked to so I've provided one to the VS.NET 2003 bootstrapper plug-in. Install that and your setup projects will bootstrap the Framework by default.

    http://www.microsoft.com/downloads/d...3-72f9c370bd19
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  5. #5
    Fanatic Member Wen Lie's Avatar
    Join Date
    Jul 1999
    Location
    Singapore
    Posts
    524

    Question Re: [RESOLVED] [1.0/1.1] Packaging the Framework when creating a Setup File

    Hello...

    I understand that this is a resolved topic. But I need to ask something related with C# packaging file installer...

    I've download and installed the bootstrapper on my system, but it seems nothing change on my .NET studio, or even on my START menu. Where do the bootstrapper put its menu ?
    And I also have no idea how to use the bootstrapper....

    I'm using Studio .NET 2005. Do I still need the bootstrapper ?
    Can't I use the "Publish" menu ?

    Regards,
    ~WJ~

  6. #6
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: [RESOLVED] [1.0/1.1] Packaging the Framework when creating a Setup File

    Quote Originally Posted by Wen Lie
    Hello...

    I understand that this is a resolved topic. But I need to ask something related with C# packaging file installer...

    I've download and installed the bootstrapper on my system, but it seems nothing change on my .NET studio, or even on my START menu. Where do the bootstrapper put its menu ?
    And I also have no idea how to use the bootstrapper....

    I'm using Studio .NET 2005. Do I still need the bootstrapper ?
    Can't I use the "Publish" menu ?

    Regards,
    ~WJ~
    That plug-in is for VS.NET 2003/.NET 1.1, as it says repeatedly on that download page. VS 2005 already has the bootstrapper built in. By default a VS 2005 installer, whether MSI or ClickOnce, will only download the Framework if and when it's needed, i.e. when the user tries to install on a system that doesn't already have it. If you want to distribute the Framework with your installer then you do that from the Prerequisites dialogue, which is accessible from the Publish tab of the project properties.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  7. #7
    Fanatic Member Wen Lie's Avatar
    Join Date
    Jul 1999
    Location
    Singapore
    Posts
    524

    Question Re: [RESOLVED] [1.0/1.1] Packaging the Framework when creating a Setup File

    Thanks...
    I'll give it a try...

    But, do you mean that I should put the Framework Installer when I create the "Publish" project ?

    Regards,
    ~WJ~

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