Automated Deployment - Assistant and Soft Phone

Discussion in 'Windows' started by H1gster, Oct 27, 2009.

Thread Status:
Not open for further replies.
  1. H1gster

    Joined:
    Oct 14, 2009
    Messages:
    1
    Likes Received:
    0
    Hi,

    I am trying to work out how to automate the deployment of V8.0 of the Assistant and Softphone. Although installation is relatively easy for users, there are quite a few configuration steps required. I would like to deploy the software with all of the configuration complete if possible.

    Any suggestions very welcome
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. hades

    Joined:
    Oct 31, 2009
    Messages:
    33
    Likes Received:
    0
    I too would be interested in this.
     
  3. LeonidasG

    LeonidasG Support Team
    Staff Member 3CX Support

    Joined:
    Nov 19, 2008
    Messages:
    1,475
    Likes Received:
    94
    Double Clicking on the Assistant / Phone Executable and pressing NEXT NEXT NEXT and filling out a couple of boxes is as Automated as it gets.

    If you need to Automatically install 50 or more assistants / clients, you're gonna have to rely on some sort of script on your side that fills all the fields for you.
    I actually have something that does that, i'll need to find it before sharing it with you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. hades

    Joined:
    Oct 31, 2009
    Messages:
    33
    Likes Received:
    0
    What about for companies that want to use the PBX with different settings from the default?

    For example, our company uses a different tunnel port for external extensions when people are working from home with the soft-phone. The ability to give them a pre-configured installer would be great as they are not all the most technical of people.
     
  5. LeonidasG

    LeonidasG Support Team
    Staff Member 3CX Support

    Joined:
    Nov 19, 2008
    Messages:
    1,475
    Likes Received:
    94
    If we started giving more and more options to the user during the installation wizard, in the End it would be so complex that you would be better off using Asterisk's PBX.
    The only ways i see to do what you are asking is:

    1) Either make a small guide for them.

    2) Wait till i can modify that script of mine to do exactly what you want to do.
    They install the Voip Phone / Assistant with all their Default settings, and all they need to do next is just double click on this script and that's it. it will even fill up their Extension settings and Pins automatically.

    It cant get easier than that. If you want an even easier solution.... There isn't one :p
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. hades

    Joined:
    Oct 31, 2009
    Messages:
    33
    Likes Received:
    0
    Ok.... now take a look at something for system admins.

    How about an install-builder script in a similar style to how Nullsoft Scripts work?

    Basically, allow a zip download of the soft-phone/assistant that includes a couple of ini files and an additional exe. I could edit the ini files with my custom port settings (and even personalise them for each softphone user with their login details) and then I run the exe which would package it all up as an installer.

    I give that installer to the end user to take home and install on their PC... They run it, it automatically installs with all the settings I configured in the ini file and the user is ready to go with zero configuration required on their end.


    I could even write a .net web-app into our own corporate intranet to allow end users with softphone access to download their own custom version and (by accessing the PBX database) customise and build their personal installer programatically on the intranet server. Writing ini files and executing applications is fairly simple.
     
  7. bcsinfo.co.uk

    Joined:
    Nov 24, 2008
    Messages:
    11
    Likes Received:
    0
    How about an MSI along with .ini file.

    I have other software which installs like this. You configure server info, ports ect. into the .ini file, then when you deploy the MSI file via Active Directory - Group Policy, it reads the ini file in the same directory as the msi file itself.
     
  8. cloidhamer

    Joined:
    Jan 30, 2009
    Messages:
    27
    Likes Received:
    0
    The msi file is created in your Temp folder in a sub folder that is the last 4 digits of the Assistant's version. So currently the version is v8.9924. So when you launch the exe it creates a folder 9924 in your temp directory that you can then copy the files from. Simple as that. I'm sure there is some command line to extract via msiexec, but this works. You do however have to apply the transform (.mst) for it to install. So from the command line you would need to type

    msiexec.exe /i "E:\9924\3CXAssistantSetup8_9924.msi" TRANSFORMS="E:\9924\3CXAssistantSetup8_9924.mst"

    Also to deploy via Group policy you will need to edit the msi in ORCA and Apply the Transform (.mst) then Save Transformed as a msi file that you will then use in GP. One last thing is that for the setup to be complete an Admin has to log into the computer, until they do the Assistant will throw errors.

    Craig
     
  9. Nick Galea

    Nick Galea Site Admin

    Joined:
    Jun 6, 2006
    Messages:
    1,926
    Likes Received:
    243
    Thank you for this feedback. A guide how to do a zero touch install would indeed be easy and will be something we will write in the near future.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. hannontech

    Joined:
    Sep 24, 2010
    Messages:
    1
    Likes Received:
    0
    @cloidhamer This is EXTREMELY helpful. It would also be helpful to mention how to grab the MSI and MST: 3CXAssistantSetup9.exe /extract:c:\example

    @admin A switch to do this silently would be even better.
     
Thread Status:
Not open for further replies.