I am trying to use Squirrel to Autoupdate my WPF application. It is installing the application in %LocalAppData%
folder. I want to change this to C:\Program Files (x86)
or Path choose by user.
I haven't found any doc related to this on their repo.So how can I ask for installation path while using Squirrel foe WPF application.
Is there any other better mechanism for update my wpf app with out downloading new .exe
file from webpage manually by user ?.
public static async void CheckUpdate()
{
Environment.SetEnvironmentVariable("squirrel_temp", @"C:\Program Files (x86)");
using (var mgr = new UpdateManager(@"C:\Users\jk\Documents\Visual Studio 2015\Projects\WpfApplication1\Releases"))
{
await mgr.UpdateApp();
}
}