About running the installer non-interactively, here the documentation I followed: http://doc.qt.io/qtinstallerframework/noninteractive.html. I combined that resource with the example from the first answer of the following StackOverflow topic that gives an “almost-working” solution with Natron’s installer: https://stackoverflow.com/questions/25105269/silent-install-qt-run-installer-on-ubuntu-server. Basically you write a Qt script and you run the installer using the “–script \path\to\script.qs” argument.
But as I said earlier, this solution works well on a local host, but not when deploying Natron from a server onto remote hosts (at least, I could not make it work entirely).
In the end, I ended up creating a GPO with the following settings (I should mention that using GPOs is something I learned by myself, so my solution might not be approved by professionals! ^^’):
- “Computer Configuration > Policies > Script > Startup” for which I wrote a batch-script file that uses “robocopy” to copy the content of the folder containing portable installation of Natron stored on our server to “%PROGRAMFILES%\INRIA\Natron-2.3.11”;
- “Computer Configuration > Preferences > Windows Settings > Files” that copies the “opengl32.dll” from our server to “%PROGRAMFILES%\INRIA\Natron-2.3.11\bin”;
- “User Configuration > Preferences > Windows Settings > Shortcuts” (twice) that creates a shortcut both on the desktop and in the start menu to run “%PROGRAMFILES%\INRIA\Natron-2.3.11\bin\Natron.exe” in “%PROGRAMFILES%\INRIA\Natron-2.3.11” using “%PROGRAMFILES%\INRIA\Natron-2.3.11\bin\Natron.exe” as icon.
This seems to do the trick.