Closed Rob-Post closed 2 years ago
Hi, thanks for your inquiry! This is unfortunately not currently possible with Squirrel.
Is this something that is planned for a next version or is it not desired?
In general, the architecture and guiding principle of Squirrel is to be fairly opinionated and as simple as possible for developers: "it just works and you can't screw it up". Installing to anywhere other than %localappdata%
can cause problems (eg. apps in roaming make windows logon extremely slow, apps in program files require admin which is not supported and undesirably forces each user on to the same version of an app).
One thing I have considered is allowing the installation location to be configurable by the user at install time, rather than by the developer when you are building packages. Something like YourAppSetup.exe --installLocation C:\path
. This still risks the app being broken if the user installs the app to a privileged directory but it's likely a user using this option would know it's their fault and be savvy enough to know how to fix it.
If this feature ever does become available, that's how it will be implemented.
Hi,
I was wondering if it's possible to change the installation directory? I would like to install my app in %APPDATA% instead of %LOCALAPPDATA%