ben-wallis / Filtration

The Path of Exile loot filter editor
GNU General Public License v2.0
262 stars 61 forks source link

Setup - custom location #98

Closed Xezis closed 5 years ago

Xezis commented 5 years ago

Need option to install at custom location.

ben-wallis commented 5 years ago

Why do you need this? Installing into AppData is pretty common for self-updating applications, Chrome and Discord for example do this.

This behaviour is not going to change I'm afraid as Squirrel (the new installer/updater framework Filtration uses) does not support custom install locations.

GlenCFL commented 5 years ago

Chrome used to install to AppData, but it now uses a service with appropriate permissions to perform updates to protected directories such as Program Files. The downside there is that a service must be installed by the initial installer.

One key question would be whether we're talking about a completely portable installation, where automatic updating wouldn't be expected, or whether we're talking about installing to a custom location and keeping the automatic updating working as-is.

Asymat commented 5 years ago

About Squirrel.Windows: https://github.com/Squirrel/Squirrel.Windows/issues/1002

So the installation is portable but you'll need to do it manually. Updates should still work aswell. @ben-wallis maybe add quick "how to portable" manual in docs.

ben-wallis commented 5 years ago

I'll release Filtration as a zip file alongside the installer from the next release (1.1.0) - Squirrel has no support for custom install directories and it doesn't look like they're planning to add such support (as per the issue you linked).