In organizations with many EasyMorph users (tens and hundreds) it might be necessary to perform EasyMorph Desktop installation and configuration in an automated (scripted) way. Here is how you can do it.
- Make a clean install of EasyMorph Desktop (e.g. under a temporary Windows user account). The free edition would suffice.
- Configure Server Link as follows:
- Connect to EasyMorph Server
- Add one or more spaces (the ones that users will need to access). Make sure that in the space settings on the Server the option for accessing the space’s repository from Desktops is enabled (it’s disabled by default).
- Configure it to use the Server-hosted repository of that space
- Configure it to use a license from Server
- Make a copy of
EasyMorph.config.xml
located in the installation folder (C:\Users\<account name>\AppData\Local\EasyMorph
) and then uninstall the temporary EasyMorph copy as it’s no longer needed. - Create a script to silently install and configure EasyMorph as follows:
- Run the EasyMorph Desktop installer from the command line with option
/SILENT
or/VERYSILENT
(more command line options are explained here) - After installation, replace in the installation folder the file
EasyMorph.config.xml
with the one configured above
- Run the EasyMorph Desktop installer from the command line with option
- On EasyMorph Server, add Windows user accounts in the tab Licensing (you need to have a license key with Dynamic licensing).
Now, when you run the script on a user’s machine, it will silently install EasyMorph with configured Server Link, and on the first launch, it will automatically lease a license from EasyMorph Server.