I am creating a service installer for various platforms (Windows and Linux/Unix for start). The install is pretty simple, just copy/unpack some files to chosen path, rewrite some settings text files, copy the service and start it. (Uninstall process is the reverse). A problem I'm having is in determining .NET Core version.
For Windows, using Inno Setup I did it by executing a commandLine command (dotnet --version), saving the result to a temp-file, reading it to a variable and deleting the temp-file.
I am aware, that similar approach could work for the Linux installer, but I'd like to do it a little cleaner than this. I'd like to use free IzPack, but I'm also considering to grab BitRock or Install4J, so advice about those could help me decide. The paid ones seem to only support determining .NET Framework version, not .NET Core.
Thanks