Questions tagged [squirrel.windows]

Squirrel.Windows is an installation and update framework for Windows desktop apps.

Squirrel.Windows is an installation and update framework for Windows desktop apps.

Squirrel is both a set of tools and a library, to completely manage both installation and updating of your Desktop Windows application, written in either C# or any other language (i.e. Squirrel can manage native C++ applications).

108 questions
0
votes
1 answer

Using node-cmd module while handling Squirrel Events function

I'm building a desktop app for Windows using electron-packager and electron-squirrel-startup, I would like to execute some Windows cmd commands during the installation of my application. To do so I was planning to use node-cmd node module, but I…
madasionka
  • 812
  • 2
  • 10
  • 29
0
votes
1 answer

How to install node module in end users pc globally while installing electron app?

I need a node module 'html-pdf' for converting html to pdf for my electron app. Since I am using ASAR to pack my code, if i pack html-pdf in asar, i am unable to create pdf because html-pdf does some write operation within it and ASAR package is…
Ishwar Rimal
  • 1,071
  • 11
  • 19
0
votes
1 answer

Update.exe doesn't create start menu shortcuts when passing in process-start-args

I'm using electron-squirrel-startup to create start menu shortcuts but I need to pass in arguments to the shortcut, right now I'm editing the index.js in node_modules/electron-squirrel-startup like this: run(['--createShortcut=' + target + '…
Joshua
  • 5,032
  • 2
  • 29
  • 45
0
votes
1 answer

config transforms for squirrel.windows apps built in teamcity and deployed via octopus deploy not being updated

I've got a build process using a cake script that is executed from TeamCity. In my build script, I build a web api, a db (dacpac) project, and also a WPF app. One of the tasks in the script is to create a Squirrel.Windows release package for the…
Thiago Silva
  • 14,183
  • 3
  • 36
  • 46
0
votes
1 answer

public class inaccessible due to protection level

I'm using Squirrel.Windows as an update framework for my application and I upgraded from 1.4.4 to the latest version 1.5.2 and after upgrading via NuGet the UpdateManager class became inaccessible due to it's protection level. I created a sample…
SomeInternetGuy
  • 1,007
  • 12
  • 19
0
votes
2 answers

Removing uninstall entry without removing the app in Squirrel.Windows installer

I am using Squirrel installer inside an MSI installer. MSI installer invokes the Squirrel installer. Since MSI installer will have the entry in Add/Remove programs, I want to remove (or not create) the entry created by the Squirrel installer. What I…
skjoshi
  • 2,493
  • 2
  • 27
  • 38
0
votes
1 answer

Squirrel.Windows and Octopus Deploy: Error while signing application

I am trying to sign my application using the -n option on Squirrel.exe from Octopus deploy.ps1 script I keep getting the following error: System.AggregateException: One or more errors occurred. ---> System.Exception: Failed to sign, command invoked…
0
votes
1 answer

Unable to update app from squirrel nuts server

So I have setup a squirrel nuts server (https://github.com/GitbookIO/nuts) for my electron app and everything is up and running, but when it checked the feed url for an update, it doesn't find it. The update-available event never fires. The feed url…
codephobia
  • 1,580
  • 2
  • 17
  • 42
0
votes
1 answer

Deploy Squirrel applications with Octopus

I'm interested if someone has managed to deploy a Squirrel installer (https://github.com/Squirrel/Squirrel.Windows) with the Octopus workflow. I've had a ClickOnce deployment running just fine with it, but with Squirrel I need access to the nupkg,…
cmdel
  • 250
  • 1
  • 4
  • 17
0
votes
1 answer

Howto determine if all threads are done C#

I have a WPF application that is updating itself on the background (via Squirrel.Windows) this is done by the following code: var restartApp = false; using (var mgr = new UpdateManager(@"http://wintst01:8282/unidealoffice/starter")) { var re =…
Jordy van Eijk
  • 2,718
  • 2
  • 19
  • 37
0
votes
1 answer

Get AssemblyVersion number from AssemblyInfo.cs in Command Line

I am trying to automate a job in Jenkins to build and deploy a visual studio solution. We can already get Jenkins to build the project. I have created a batch file that Jenkins runs after the project build that deploys a Squirrel package but I…
Seraph812
  • 397
  • 3
  • 7
  • 17
0
votes
1 answer

Electron Squirrel createShortcut not working with options

I'm trying to pass --createShortcut -l="StartMenu" to squirrel's Update.exe but it doesn't seem to work. Once I remove the -l option it succeeds. I am using electron for the main app and node's spawnSync to create it.
Husayn Versee
  • 340
  • 6
  • 13
0
votes
1 answer

Unhandled exception: System.IO.IOException: The process cannot access the file 'xxx.nupkg' because it is being used by another process

I am trying to use squirrel for windows (version 1.0.0.0) and there is no way to get rid of that error. I have done everything to be sure that file is, indeed, not in use. The following steps reproduce the error on my PC. Create the nuget package…
Juan M. Elosegui
  • 6,471
  • 5
  • 35
  • 48
0
votes
1 answer

Manage update in Application Exit

Using Squirrel.Windows, I wanted to handle the update process in the Application Exit handler of my WPF application using this code: Task.Run(async () => { using (var mgr = new UpdateManager(Settings.Default.UpdatePath)) { var release =…
Matthieu
  • 4,605
  • 4
  • 40
  • 60
0
votes
1 answer

Squirrel for Windows drops everything in the Publisher Name after a comma

I've discovered that when using Squirrel for Windows installation framework, the program's Publisher name, as seen in the Programs and Features of Windows, is specified by the Authors field of the Package Metadata in the .nuspec file. However, when…
Feckmore
  • 4,322
  • 6
  • 43
  • 51