- Joined
- Nov 9, 2018
- Messages
- 2
- Reaction score
- 0
Hi all, there is a requirement where I am working to install 3CX onto user end devices but also configure 3CX with the users required settings. I am using the “3CXPhoneforWindows15.msi” to install the program. I’m not having any programs with the installer. The issue is with the “3CXPhone.xml” file.
My script is doing the following tasks.
1: Copy the MSI locally to the device
2: Copy the users 3CXphone.xml file to the device
3: Install the MSI.
4: Copy the 3CXPhone.xml file to the users “AppData\Roaming\3CXPhone for Windows”. The file is renamed during the copying from the “username.3cxconfig” to “3CXPhone.xml”. From what I can see, both files are just XML format.
The installer installs with no issue but if I try to open 3cx. I get warned 3cx isn’t configured yet. If I look in the log I can see the following error: "[1] System.Exception: Accounts element not found in configuration file C:\Users\myUser\AppData\Roaming\3CXPhone for Windows\3CXPhone.xml at _3CXWin8Phone.ProfilesInfo.LoadConfigurationFile(String filename)".
Can any one tell me what the error is and if any one has been able to get 3CX working this way? I have searched the web, but I can’t find any topic about deploying 3CX this way or what the error means.
I have also notice that this file “trusted_certs.pem” gets created when we double click the configuration file (Normal setup). Could the error be related to this certificate file?
Does any one if this type of deployment will work for MAC OS? This will be the next step of my task.
Thanks
My script is doing the following tasks.
1: Copy the MSI locally to the device
2: Copy the users 3CXphone.xml file to the device
3: Install the MSI.
4: Copy the 3CXPhone.xml file to the users “AppData\Roaming\3CXPhone for Windows”. The file is renamed during the copying from the “username.3cxconfig” to “3CXPhone.xml”. From what I can see, both files are just XML format.
The installer installs with no issue but if I try to open 3cx. I get warned 3cx isn’t configured yet. If I look in the log I can see the following error: "[1] System.Exception: Accounts element not found in configuration file C:\Users\myUser\AppData\Roaming\3CXPhone for Windows\3CXPhone.xml at _3CXWin8Phone.ProfilesInfo.LoadConfigurationFile(String filename)".
Can any one tell me what the error is and if any one has been able to get 3CX working this way? I have searched the web, but I can’t find any topic about deploying 3CX this way or what the error means.
I have also notice that this file “trusted_certs.pem” gets created when we double click the configuration file (Normal setup). Could the error be related to this certificate file?
Does any one if this type of deployment will work for MAC OS? This will be the next step of my task.
Thanks