Shoretel Communicator

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search

Shoretel Communicator

Shoretel Communicator is desktop software used for controlling Shoretel IP phones. You can get the installer from http://<your shoretel server>/ShoreWareResources/ClientInstall/ or http://<your shoretel server>/shorewaredirector/clientinstall. It is known not to install if Copernic Desktop Search or Microsoft Outlook are running so you will need to add lines below to close these.

WPKG Package

<package id="communicator" 
 	name="Shoretel Communicator" 
 	revision="%version%" 
 	priority="0" 
 	reboot="false">

	<variable name="version" value="11.1" />
 		
	<check type="uninstall" condition="exists" path="ShoreTel Communicator"/>
		
	<install cmd='"%SOFTWARE%\communicator\ShoretelCommunicatorSetup_%version%.exe" /v/qn /V/norestart' >
		<exit code="3010" />
		<exit code="0" />
	</install>

	<install cmd='regedit /s "%SOFTWARE%\communicator\ClientRegistrySettings.reg"' />
 
	<upgrade cmd="taskkill /F /IM agent.exe /IM shoretel.exe">
		<exit code="0" />
		<exit code="-1073741515" />
		<exit code="128" />
	</upgrade>

	<upgrade cmd='"%SOFTWARE%\communicator\ShoretelCommunicatorSetup_%version%.exe" /v/qn /V/norestart' >
		<exit code="3010" />
		<exit code="0" />
	</upgrade>

	<downgrade cmd="taskkill /F /IM agent.exe /IM shoretel.exe">
		<exit code="0" />
		<exit code="-1073741515" />
		<exit code="128" />
	</downgrade> 		

	<downgrade cmd='"%SOFTWARE%\communicator\ShoretelCommunicatorSetup_%version%.exe" /v/qn /V/norestart' >
		<exit code="3010" />
		<exit code="0" />
	</downgrade>
		
	<remove cmd="taskkill /F /IM agent.exe /IM shoretel.exe">
		<exit code="0" />
		<exit code="-1073741515" />
		<exit code="128" />
	</remove>

	<remove cmd='MsiExec.exe /qn /X {1525BCD6-E7E7-4F2F-BCF6-5692443898C7}'/>
</package>

Configurable settings

The program isn't really amenable to many defaults being set. What is available is shown in the registry keys below and discussed on the Shoretel forums.

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Shoreline Teleworks]

[HKEY_CURRENT_USER\Software\Shoreline Teleworks\ShoreWare Client]
@="ShoreWare Client"
"Server"="YourShoreTelServerName"

[HKEY_CURRENT_USER\Software\Microsoft\Office\Outlook\Addins]

[HKEY_CURRENT_USER\Software\Microsoft\Office\Outlook\Addins\ShoreTel.CASConnHostAddIn]
"LoadBehavior"=dword:00000003
"RequiresCASConnAddIn"=dword:00000000

[HKEY_CURRENT_USER\Software\Microsoft\Office\Outlook\Addins\ShoreTel.CHMAddIn]
"LoadBehavior"=dword:00000003
"RequiresCASConnAddIn"=dword:00000001