You can set the OMessenger Server settings by default while install by following the step give below.
Pass the OMessenger Server IP Address/hostname as a command line argument of the installers.
This action will create the ls.cfg file with the link server IP address in the OMessenger installed folder. OMessenger.exe will use the linkserver setting by default.
You can also use defaultsettings.xml file created using Admin Tool with omessengersetup.exe.