You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Brendan Forster edited this page Oct 26, 2013
·
3 revisions
As the artifacts from Squirrel are just flat files, you can host them anywhere*
Local Folder
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);
Web Server
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);
Network Share
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.