Mulberry
From WPKG | Open Source Software Deployment and Distribution
This is a silent installer and uninstaller for Mulberry (Email User Agent). More infos from here.
<package id="mulberry" name="Mulberry (Email User Agent)" revision="1" priority="0" reboot="false">
<check type="uninstall" condition="exists" path="Mulberry" />
<install cmd='%SOFTWARE%\mulberry\3.1.6\mulberrysite2_v3_1_6.exe /silent' />
<install cmd='cmd /c copy %SOFTWARE%\mulberry\3.1.6\Plug-ins\*.* "%ProgramFiles%\mulberry\plug-ins" ' />
<install cmd='cmd /c if not exist "%ProgramFiles%\\Mulberry\\Disconnected" mkdir "%ProgramFiles%\\Mulberry\\Disconnected" ' />
<install cmd='cmd /c if not exist "%ProgramFiles%\\Mulberry\\Temporary Files" mkdir "%ProgramFiles%\\Mulberry\\Temporary Files" ' />
<install cmd='cmd /c if not exist "%ProgramFiles%\\Mulberry\\Certificates" mkdir "%ProgramFiles%\\Mulberry\\Certificates" ' />
<install cmd='cmd /c if not exist "%ProgramFiles%\\Mulberry\\Mailboxes" mkdir "%ProgramFiles%\\Mulberry\\Mailboxes" ' />
<install cmd='cmd /c if not exist "%ProgramFiles%\\Mulberry\\Address Books" mkdir "%ProgramFiles%\\Mulberry\\Address Books" ' />
<install cmd='cmd /c cacls "%ProgramFiles%\\Mulberry\\Disconnected" /T /E /G "CAV_SP\\Domain Users":F' >
<exit code="1332" />
</install>
<install cmd='cmd /c cacls "%ProgramFiles%\\Mulberry\\Address Books" /T /E /G "CAV_SP\\Domain Users":F ' >
<exit code="1332" />
</install>
<install cmd='cmd /c cacls "%ProgramFiles%\\Mulberry\\Mailboxes" /T /E /G "CAV_SP\\Domain Users":W ' >
<exit code="1332" />
</install>
<install cmd='cmd /c cacls "%ProgramFiles%\\Mulberry\\Certificates" /T /E /G "CAV_SP\\Domain Users":C ' >
<exit code="1332" />
</install>
<install cmd='cmd /c cacls "%ProgramFiles%\\Mulberry\\Temporary Files" /T /E /G "CAV_SP\\Domain Users":C ' >
<exit code="1332" />
</install>
<remove cmd="%WINDIR%\unvise32.exe /s C:\Program Files\Mulberry\uninstal.log" />
</package>