Squirrel for Windows - installing .NET apps the way it should be

Sign in to queue

Description

This session will be an intro to using Squirrel for Windows (https://github.com/squirrel/squirrel.windows) to create custom installer and update frameworks for Windows applications. We'll pick an OSS application and live-code an installer for it, including setting up a server for updates.

For more information, check out this course on Microsoft Virtual Academy:

Tag:

.NET

Day:

2

Embed

Download

Download this episode

For more information, check out this course on Microsoft Virtual Academy:

The Discussion

  • User profile image
    Dave Sekula

    Nice Session.

    I actually started using Squirrel this week, so it was cool to see how to handle update releases.
    After some trial and error, I found it easier (and more reliable) to select all the contents from my bin\Release folder in windows explorer, then drag and drop them (including any directories with them) into the lib\net45 folder / treeview inside nuget package explorer.

    When manually adding files, directories selected do not seem to get added.

    Good Job.

  • User profile image
    lordvader19​82

    Um ... is this the right video ?

  • User profile image
    Dave Sekula

    Nope :(
    Been waiting for them to put it up so I can grab a copy for reference.

    This is actually the video for: http://channel9.msdn.com/Events/dotnetConf/2015/ASPNET-5-Project-Scaffolding-with-Yeoman

    (Also a good session)

  • User profile image
    jvs_ca

    The Medium and Low video quality are the right video (Squirrel for Windows - installing .NET apps the way it should be).

    The High video quality is for ASPNET 5.

    FYI: Fixed now.

  • User profile image
    Duli

    Can we use this for windows services?

  • User profile image
    Dave Sekula

    At the moment, I don't think you can.
    Access right elevation is required to install a service, but you cannot use Squirrel to start a process as another user (comamnd line RUNAS for example)

  • User profile image
    issam

    What about installing database servers ?

    common installer requirement is to have differents installations types
    i am using Firebird mainly and i want to have these type of installation:

    -Full install (With database server)
    -Client install (With database Client library)

    is it possible to do that please ?

  • User profile image
    JonDavisBNR

    So since it's packaged as a nuget package, you could use Install.ps1 to add post-install stuff that might go beyond the basics demo'd here right?

  • User profile image
    Paul Betts

    @JonDavisBNR No you can't, but there's a facility to do that:

    https://github.com/Squirrel/Squirrel.Windows/blob/master/docs/squirrel-events.md

  • User profile image
    Shreekantso​mawar

    Nice

  • User profile image
    aneef

    HI Paul,

    Will this work for VSTO Deployment.

    Thanks,

    Aneef

Add Your 2 Cents