-
Notifications
You must be signed in to change notification settings - Fork 55
Hosting release artifacts
Brendan Forster edited this page Oct 26, 2013
·
3 revisions
As the artifacts from Squirrel are just flat files, you can host them anywhere*
This is the easiest way to test your updates, but suffers from not being webscale. Put them into some folder on your computer and then point the UpdateManager
at it:
var updateManager = new UpdateManager("C:\\users\\brendanforster\\Desktop\\MyCoolApp\\files\\",
"MyCoolApp",
FrameworkVersion.Net40);
If you have a web server that can serve static files, you can upload the artifacts and host them there. When you use your UpdateManager
to check for updates, ensure that you pass in URL to this folder:
var updateManager = new UpdateManager("http://my-server.com/my-cool-app/files/",
"MyCoolApp",
FrameworkVersion.Net40);
As the UpdateManager will only read files from the folder, you could also host these artifacts on a network share in your environment:
var updateManager = new UpdateManager("\\\\FILESERVER\\Apps\\MyCoolApp\\files\\",
"MyCoolApp",
FrameworkVersion.Net40);
I haven't tested this situation heavily (read: at all) but I don't expect many issues with supporting it.
- Do not host them anywhere