Chris Smith - Generic Bootstrapper in Visual Studio 2005

Sign in to queue

Description

We gave a camcorder to Mike Sampson who went over to his coworker, Chris Smith, a software developer/test on the Visual Basic team, and asked him all about the generic bootstrapper that's in Visual Studio 2005.

Embed

Download

Download this episode

The Discussion

  • User profile image
    littleguru
    This bootstrapper is a nice feature. Is there also away to have the prerequisites build into the setup.exe? I saw that it was lying in subdir, but can I also bundle all together to have one file to ship?
  • User profile image
    leighsword
    the world's greatest bootstrapper(or click once) is a simple application that's able to download their depends(a file list) at runtime.

    "it's just going to... crashed.", funny, never mind.
  • User profile image
    Steve411
    I love it when it crashes! Nice video!
  • User profile image
    Manip
    So Microsoft has ripped off 'make' and are calling it a highly confusing (and conflicting) name just for kicks. I mean a bootstrapper is already a thing, you can't re-define it!
  • User profile image
    Sampy
    littleguru wrote:
    This bootstrapper is a nice feature. Is there also away to have the prerequisites build into the setup.exe? I saw that it was lying in subdir, but can I also bundle all together to have one file to ship?


    You can't build the redists into setup.exe but you can still just ship one file if you use the homesite feature (download the pre-reqs from the package author location) or a components URL (put all the packages in a seperate location from the bootstrapper). With these, all you have to do is ship the bootstrapper and it will dowload all the prerequisites it needs.
  • User profile image
    Sampy
    Manip wrote:
    So Microsoft has ripped off 'make' and are calling it a highly confusing (and conflicting) name just for kicks. I mean a bootstrapper is already a thing, you can't re-define it!


    How is this like make at all? Make is a build script tool. Sure people have overloaded it to install after building but it doesn't download and install prerquisite packages before installing.

    Am I missing something?
  • User profile image
    dotnetjunkie
    This is very nice!

    Should have been available a few years ago already though... Man, sure would have made life much easier! Smiley

    @Orbit86: stop bugging us with your Longhorn obsession please, there are far more important things with higher priority now.
  • User profile image
    littleguru
    Sampy wrote:
    littleguru wrote: This bootstrapper is a nice feature. Is there also away to have the prerequisites build into the setup.exe? I saw that it was lying in subdir, but can I also bundle all together to have one file to ship?


    You can't build the redists into setup.exe but you can still just ship one file if you use the homesite feature (download the pre-reqs from the package author location) or a components URL (put all the packages in a seperate location from the bootstrapper). With these, all you have to do is ship the bootstrapper and it will dowload all the prerequisites it needs.


    You should include a feature where all the stuff can be bundled into one file. I mean all the prerequisits are bundled with the setup in one file.

    That's required very often. There is people (and companies) out there not letting setup go to the internet and download some files from somewhere.

    But the tool is quite cool. I like the possibility to create own setup bootstrapper.
  • User profile image
    Mr. Smith
    Steve411 wrote:
    I love it when it crashes! Nice video!


    We thought about editing the video, but figured the more 'candid' demo would be best.  Note however that that bug is already fixed in the latest CTP release.
  • User profile image
    Mr. Smith
    Just as a completely shameless plug, if you are interested in learing more about the VS 2005 Generic Bootstrapper you might want to check out the following:

    My MSDN blog. This isn't totally dedicated to the Generic Bootstrapper, but if you have a question about some odd corner case or are interested in learning about what goes on behind the scenes check it out:
    https://blogs.msdn.com/chrsmith

    A GotDotNet workspace devoted to housing custom packages for Microsoft packages which aren't shipping with VS 2005, like the 1.1 FX.
    http://www.gotdotnet.com/workspaces/workspace.aspx?id=7e8e8cbd-b447-4a9d-a984-9379d1a0c190


    The Bootstrapper Manifest Generator GotDotNet project. This app should help you create even the most complex manifests.
    http://www.gotdotnet.com/workspaces/workspace.aspx?id=ddb4f08c-7d7c-4f44-a009-ea19fc812545
  • User profile image
    Pimp Daddy
    Question - I keep hearing 'Kaboose' mentioned in this video. What the hell does it mean?
  • User profile image
    Minh
    Oy, I need my dramamine. Sorry, if I missed this in the video, but how do you create the packages? How do you packaged up the components that your app require -- so that the bootstrapper can load & run it.
  • User profile image
    Mr. Smith
    Pimp Daddy wrote:
    Question - I keep hearing 'Kaboose' mentioned in this video. What the hell does it mean?


    When the Bootstrapper is done installing all of your application's prereqs, it then installs your application- which we refer to as the caboose since it is the last thing the Bootstrapper touches.

    Usually it will be an MSI or clickOnce .application file, but if you use MSBuild to generate your Bootstrapper the caboose could be anything, from a .BAT file to a text file.
  • User profile image
    staceyw
    "And this VS bootstrap video looks an aweful lot like URPMI, up2date and yum. Deja-Vu. The kicker is that we've had this type of dependancy filling on linux for a long time and you're just now starting to develop it on windows."

    Bud Light, (speaking as someone who started out on ATT System V) who really cares what unix had or has and for how long.  I mean you really waste too much gray matter making comments like that.  I think that is a great little tool and should really help developers and the users.  Lets give people some credit for their hard work instead of making wise cracks all the time.
  • User profile image
    MikeGoatly

    I didn't realise the lead singer from Weezer worked at Microsoft! Wink

  • User profile image
    jonm
    ClickOnce and the Generic boot strapper rocks!  I just need one to install the Report Processing libraries.  When I embed a Report and deploy the app via clickonce, I get a crash on a system that doesn't have the ReportViewer libraries.  The SQL Reporting people tell me it will be a shipping ClickOnce Package at RTM.  Otherwise, this is great!  In order to do this in the past we would have to use an expensive third party installer (InstallShield, Wise, or others).
  • User profile image
    ehuna
    Great feature and great video!

    Just one thing: Chris Smith speaks like Todd from www.oddtodd.com.

    "So I wake up and get some cooofeee... I then run the booostrapppper....".  Smiley

Add Your 2 Cents