NOTE: If you installed version 1.18.5 using the previous installer, it is recommended to uninstall it before installing 1.18.6 or newer. (This is due to the improved way that Setup sets up the Syncthing configuration at install time.)
Yes indeed, very nice!
And not just because it feels nice to be on the other side of the request for once, but also a genuine feature I’d use: I’d be awesome if one could choose to install with synctrayzor too
The “synctrazor” supports only current user (not Windows service), so its design goal is somewhat incompatible with this installer. (It also requires .NET which makes the installer prerequisite validation, if done correctly, more complicated, but that’s a different story.)
Its not possible to test it for now, because I use the MSI package and some parameters are overlapping, e.g. service name Syncthing is the same.
So, at first I prepare my test computer for that, need to make a backup and uninstall MSI and to install the EXE. But in that current condition there is no possibility to install in parallel, maybe to run more than one instance for local syncs and so on.
The installer design doesn’t currently support specifying the service name at runtime. You can work around this by changing the preprocessor directive (as noted previously) and compiling a new setup executable.
German localization of SetSyncthingConfig.js will be required for the script to work.
Near top of script, you will need to change this line:
var LOCALSERVICE_APPDATA_PATH = "ServiceProfiles\\LocalService\\AppData\\Local";
To:
var LOCALSERVICE_APPDATA_PATH = "ServiceProfiles\\LocalService\\path";
Where path is the AppData\Local directory name in German (with two \\ between directories, like in the original line).
I’ll look into this to see if we can get the correct localized directory name without having to localize the script.
In the next version, I will probably switch to creating a config directory inside the install directory and just add --home to the command line so that there aren’t any localization issues. Thanks for testing!