Lotus Symphony

This is a silent installer and uninstaller for IBM Lotus Symphony. You can download it from symphony.lotus.com. The default filename is "IBM_Lotus_Symphony_w32.exe" which I've renamed to "IBM_Lotus_Symphony_w32-1.0.exe".

<?xml version="1.0" encoding="UTF-8"?>
<!--
	To control file associations adjust the FILETYPE variable:

		0 - No file type is associated with Lotus Symphony
		1 - ODF file is associated with Lotus Symphony
		2 - OpenOffice.org 1.1 file is associated with Lotus Symphony
		3 - ODF and OpenOffice.org 1.1 are associated with Lotus Symphony

	Default for this script is 0.

	Complete information on installation:
	http://symphony.lotus.com/software/lotus/symphony/themes2/normandy/resources/installguide/en/install_1.0.htm#5239
-->
<packages>
<package
	id="lotus_symphony"
	name="IBM Lotus Symphony"
	revision="200806041"
	reboot="false"
	priority="10">

	<check type="uninstall" condition="exists" path="IBM Lotus Symphony" />

	<install cmd='%SOFTWARE%\lotus_symphony\IBM_Lotus_Symphony_w32-1.0.exe /s /a /s /v"FILETYPE=0 LAUNCH=0 /qn"' />
	<install cmd='cmd /c netsh firewall add allowedprogram program="%ProgramFiles%\IBM\Lotus\Symphony\framework\rcp\eclipse\plugins\com.ibm.rcp.jcl.desktop.win32.x86_6.2.0.200805061024\jre\bin\expeditorw.exe" name="Lotus Expeditor" mode=DISABLE scope=ALL' />
	<install cmd='cmd /c del /q /s "%AllUsersProfile%\Desktop\IBM Lotus Symphony.lnk"' />

	<upgrade cmd='%SOFTWARE%\lotus_symphony\IBM_Lotus_Symphony_w32-1.0.exe /s /a /s /v"FILETYPE=0 LAUNCH=0 /qn"' />
	<upgrade cmd='cmd /c netsh firewall add allowedprogram program="%ProgramFiles%\IBM\Lotus\Symphony\framework\rcp\eclipse\plugins\com.ibm.rcp.jcl.desktop.win32.x86_6.2.0.200805061024\jre\bin\expeditorw.exe" name="Lotus Expeditor" mode=DISABLE scope=ALL' />
	<upgrade cmd='cmd /c del /q /s "%AllUsersProfile%\Desktop\IBM Lotus Symphony.lnk"' />

	<remove cmd='msiexec /qn /x {78ac4716-f51a-46fe-bda0-f5da38f99d6d}' />
</package>
</packages>