I would like to create one silent install that includes settings such as the path where the .mdb file of the database is present.
In previous versions of RDM i used to simply copy the RemoteDesktopManager.cfg file to C:\Program Files\Devolutions\RemoteDesktopManager.
In newer versions however, this file is now placed in the user profile, in C:\Users\username\AppData\Local\Devolutions\RemoteDesktopManager.
This makes it very difficult (impossible for me) to deploy those settings along with the silent install.
Is there a workaround possible?
If there is not, would it be possible to make RDM always use RemoteDesktopManager.cfg from C:\Program Files\Devolutions\RemoteDesktopManager if it is present there and then ignore any RemoteDesktopManager.cfg file from C:\Users\username\AppData\Local\Devolutions\RemoteDesktopManager?
What would be even better if it would be possible to make it possible to put global settings, such as the database path, in a cfg file in C:\Program Files\Devolutions\RemoteDesktopManager and settings that are really user related in a cfg file in C:\Users\username\AppData\Local\Devolutions\RemoteDesktopManager.
Hi,
Sorry for the delay. I took some note for the global settings and it's a good idea. For now the only work around I have for you is to create a file Override.cfg and put the path or empty to use the installation path. You need the beta version for that.
David Hervieux
Hi dhervieux,
that override.cfg workaround sounds pretty interesting already.
Where should i place the override.cfg file, in C:\Program Files\Devolutions\RemoteDesktopManager?
The config file i would like to use is "C:\Program Files\Devolutions\RemoteDesktopManager\RemoteDesktopManager.cfg"
The latest beta version is 5.9.0.9 right?
Hi,
Create the file in the installation path. the latest beta is 5.9.0.18
David Hervieux
Hi,
what exactly should i put in the override.cfg? Just the path or the complete contents or my existing RemoteDesktopManager.cfg?
if i just copy my remotedesktopmanager.cfg to the installation dir, the file is moved to the user-directory, if i rename the cfg, to override.cfg i get an error.
Also, i don't want to override the local sessions, i just want to use a cfg at the install dir as default
@ Xanacas,
same here, i've just tested your method (renaming the existing remotedesktopmanager.cfg to override.cfg) and i get an error as well.
Is that a bug?
Hi guys,
Don't rename it to override.cfg. Just put the path where you want to store it. For example: the content could be something like this:
C:\RDMData
RDM read the first line only, if it contains a path, it used it, if it's empty, RDM use the installation path.
I hope this help
David Hervieux
is there a solution for using the config only as default? if i start rdm the first time, rdm should read my config from the installation dir, and if the user changes sth it s will be saved at the user dir - just copy the rdm.cfg instead of moving the rdm.cfg to the userdirectory
Hi,
If I remember correctly, that the behavior of the beta. If RDM can't find the cfg in the user directory, it will copy the one from the installation path.
David Hervieux
it moves the config from the installation path...
You mean that it does not copy ? I will look at it.
David Hervieux
yes i mean
The override.cfg file works for me now. I've created a folder named config in the installation dir of RDM. Then i placed the RemoteDesktopManager.cfg in C:\Program Files\Devolutions\RemoteDesktopManager\Config.
edited by ruudboek on 2/3/2011
Hi all,
I'm trying to understand the override.cfg. Do I create this file ? or download it from your website? If I have to create it manually, what should I put in it and where should I put this file?
the other thing that I understood is to copy the actually cfg file into the config folder under RDM folder?
will the cfg file contain DB settings and license info? Cheers
1. Close your RDM.
2. Go to C:\Program Files\Devolutions\RemoteDesktopManager.
3. Create a file with the name override.cfg.
4. Edit override.cfg with notepad en put in the following text:
C:\Program Files\Devolutions\RemoteDesktopManager\Config
5. Create the following folder:
"C:\Program Files\Devolutions\RemoteDesktopManager\Config"
6. Copy your existing C:\Users\username\AppData\Local\Devolutions\RemoteDesktopManager\RemoteDesktopManager.cfg to "C:\Program Files\Devolutions\RemoteDesktopManager\Config".
7. Start and close RDM, you should now see that the date modified of "C:\Program Files\Devolutions\RemoteDesktopManager\Config\RemoteDesktopManager.cfg" has changed, hence it works.
thanks ruudboek.
All is working now. Cheers
Hi,
Thank you guys for helping Jonathan, as soon as we release the version 6.0, like it was suggested, I will write a nice FAQ about this.
David Hervieux
Hello @David
Sorry for replying to such an old thread, but I could not find anything newer related to this topic.
I would too like to centrally manage some settings of RDM for all our users.
Is the FAQ you mentioned already finished?
Hello,
I'm not sure if this is what you are looking for, but we have this:
https://docs.devolutions.net/rdm/installation/client/configuration-file-location/#default-configuration-for-remote-desktop-services-environment
And also this about the custom installer:
https://docs.devolutions.net/rdm/installation/client/custom-installer-service/
Regards
David Hervieux