Squirrel.Windows | update framework for Windows desktop apps | DevOps library
kandi X-RAY | Squirrel.Windows Summary
kandi X-RAY | Squirrel.Windows Summary
Squirrel is both a set of tools and a library, to completely manage both installation and updating your Desktop Windows application, written in either C# or any other language (i.e., Squirrel can manage native C++ applications). Squirrel uses NuGet packages to create installation and update packages, which means that you probably already know most of what you need to create an installer.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of Squirrel.Windows
Squirrel.Windows Key Features
Squirrel.Windows Examples and Code Snippets
Community Discussions
Trending Discussions on Squirrel.Windows
QUESTION
I'm using electron-forge
and Squirrel.Windows
, if I set a Chinese name in package.json
, such as "name": "测试"
, it warns:
ANSWER
Answered 2021-Aug-12 at 10:12Given that you're using electron-forge
and Squirrel.Windows
, you can set a Chinese productName
in package.json
to achieve a Chinese app name, in your case: "productName": "测试"
.
QUESTION
I'm trying to better understand the proper use of .NET Framework version targeting in the project's NuSpec file, as relates to Squirrel.
For example:
...ANSWER
Answered 2020-Aug-26 at 23:03The behavior by NuGet is driven by the compatibility map of the frameworks. .NET Framework is mostly backwards compatible, so NuGet has built on top of that, when your package declares that it targets net472, net48 as the next evolution is acceptable. NuGet will allow this package to be consumed in .NET Framework 4.8 projects.
See more for .NET Framework version compatibility.
See more on cross platform targeting libraries, which talks about the multi targeting concept.
QUESTION
I am trying to publish an Electron App on arc=x64 and platform=win32 built with Electron-Forge in Squirrel.Windows format, but Windows shows a lot of errors, like: ,, Microsoft Defender Smart Screen prevented an unrecognized app from starting ", windows defender waiting for accept.
Is there a way to avoid those errors without having to buy a certificate which costs 300-400$?
And the app should be distributed just with app.exe or should i zip all 3 files together: .nupkg, .exe and RELEASES? Thank you!
Should i use WiX MSI ?
...ANSWER
Answered 2020-Aug-18 at 19:50SmartScreen uses reputation algorithmn. It block executables with bad reputation. Young and new applications have zero reputation and blocked by default.
It takes several hundred installs to convince smartscreen that it is legitimate. So, just repeatedly install it manually on various test/dev machines or convince your users to ignore/passthrough smartscreen warning.
We had this problem. We ended buying EV certification (~1K$, but can find cheaper)
QUESTION
I'm getting an "Access is denied" error right out of the box.
Here's my .iss
file:
ANSWER
Answered 2020-Jul-12 at 05:58Your installer has CreateAppDir
set to no
, in that case according to the documentation:
If the uninstall feature is enabled when
CreateAppDir
isno
, the uninstall data files are created in the system's Windows directory.
To solve the problem:
If you need the uninstaller, you have to store it somewhere. If your installer does not need Administrator privileges for anything (and hence you cannot write to system directory), you will have to create folder for the uninstaller files. So do not set the
CreateAppDir
tono
. You can useDefaultDirName
to customize the installation folder to use a folder, where you do not need the administrator privileges. The best practice is to use{autopf}
constant.
QUESTION
I have a C# Console application(.Net Framework) that I want to update using Squirrel. I have my program on Azure DevOps, which has an integrated Nuget feed in the Artifacts section.
Squirrel uses nuget packages to update the application. Is there a way that I can upload the packages that Squirrel generates as Artifacts in order for my program to use them?
It's ok if the program needs to download those packages in the local machine and then let Squirrel do its work with the file in the computer. In my head, it seems to be the only workaround. Any suggestion?
This is my first question so if it's hard to understand please tell me and I will try to write it better.
...ANSWER
Answered 2020-Mar-31 at 08:38Is there a way that I can upload the packages that Squirrel generates as Artifacts in order for my program to use them?
If the packages that Squirrel generates
indicates the nuget packages ending with .nupkg
, of course you can upload them to Azure Devops feed. See Publish a feed. But the Azure Devops nuget feed can only host nuget packages, if you want to host other files like xx.exe
or xx.msi
, you should use the Universal Package.
But if you want to use the package hosted in Azure Devops Artifact feed for auto-updating, I think it's not supported, see this: To consume packages from Private Azure Devops feed, you have to complete authentication. And I think this will impact normal Squirrel updating process. So in my opinion, you can't use Artifact for your Squirrel updating.
Hope it helps and if I misunderstand anything, feel free to correct me :)
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install Squirrel.Windows
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page