Silent install import for addons configuration before installing the addons
-
If I follow these steps:
- Install Veyon silently, for example, using the following command:
veyon-x.y.z-win64-setup.exe /S /ApplyConfig=%cd%\MyConfig.json - Install Veyon Add-ons silently.
If MyConfig.json already contains some configurations for the add-ons, will they be applied correctly?
- Install Veyon silently, for example, using the following command:
-
Hi,
I don't have the answer, but... I'm pretty sure it's more simple and quick to simply test that by yourself than post here and wait for an answer, no ?
To help you, though (I guess you're using a script) : I think you should separate things in your installation process: Install Veyon, configure, then install addons, and configure them, one by one. It allows you to modifiy things more simply if you need it (upgrades, configuration changes...), than by modifying the json conf file.
I use a global configuration file, at veyon installation, to provide basic conf (the part that won't probably change in the future), and then, I use veyon-cli commands to set options I need.Regards
E.T. -
Yeah, but in this moment I don't have a machine at home with windows OS.
I have written some scripts for my school to automate the installation process of many programs, between these, Veyon.
Since my configurations does not change over time it seemed to me the easiest way, without involving the veyon-cli. But ok I guess I'll try it next week on a school machine and if it does not work I'll add a veyon-cli part.
I'll write it back here for the others who will have the same doubt as me.
Thank you again. -
Ok, here is my update.
The short answer is "Yes, it works, the configs are applied correctly".The long answer is, this is how I have done it for my specific case:
- check the lines in this bat file for the silent installation phase: https://github.com/danielemaddaluno/chocobuzzi/blob/d6dea35148e6a4c59f85cb6f087c50c0610495bf/installer_informatics.bat#L98C1-L107C63
- then you can find the "install_veyon_*.bat" files inside of this folder: https://github.com/danielemaddaluno/chocobuzzi/tree/d6dea35148e6a4c59f85cb6f087c50c0610495bf/nochoco