|
|
@ -3,7 +3,7 @@ |
|
|
|
<packages> |
|
|
|
<packages> |
|
|
|
<package id="sogo-addons" |
|
|
|
<package id="sogo-addons" |
|
|
|
name="Addons SOGo" |
|
|
|
name="Addons SOGo" |
|
|
|
revision="2" |
|
|
|
revision="3" |
|
|
|
reboot="false" |
|
|
|
reboot="false" |
|
|
|
priority="10"> |
|
|
|
priority="10"> |
|
|
|
|
|
|
|
|
|
|
@ -17,21 +17,17 @@ |
|
|
|
<depends package-id="lightning" /> |
|
|
|
<depends package-id="lightning" /> |
|
|
|
|
|
|
|
|
|
|
|
<variable name="PKG_VERSION" value="10.0.3" /> |
|
|
|
<variable name="PKG_VERSION" value="10.0.3" /> |
|
|
|
<variable name="STARTUPMASTER_VERSION" value="1.3" /> |
|
|
|
|
|
|
|
<variable architecture="x86" name="INSTALL_PATH" value="%PROGRAMFILES%\Mozilla Thunderbird\distribution\bundles" /> |
|
|
|
<variable architecture="x86" name="INSTALL_PATH" value="%PROGRAMFILES%\Mozilla Thunderbird\distribution\bundles" /> |
|
|
|
<variable architecture="x64" name="INSTALL_PATH" value="%PROGRAMFILES(x86)%\Mozilla Thunderbird\distribution\bundles" /> |
|
|
|
<variable architecture="x64" name="INSTALL_PATH" value="%PROGRAMFILES(x86)%\Mozilla Thunderbird\distribution\bundles" /> |
|
|
|
|
|
|
|
|
|
|
|
<check type="execute" path='%COMSPEC% /C type "%INSTALL_PATH%\sogo-connector\install.rdf" | find /I "em:version=" | find "%PKG_VERSION%"' condition="exitcodeequalto" value="0" /> |
|
|
|
<check type="execute" path='%COMSPEC% /C type "%INSTALL_PATH%\sogo-connector\install.rdf" | find /I "em:version=" | find "%PKG_VERSION%"' condition="exitcodeequalto" value="0" /> |
|
|
|
<check type="execute" path='%COMSPEC% /C type "%INSTALL_PATH%\sogo-integrator\install.rdf" | find /I "em:version=" | find "%PKG_VERSION%"' condition="exitcodeequalto" value="0" /> |
|
|
|
<check type="execute" path='%COMSPEC% /C type "%INSTALL_PATH%\sogo-integrator\install.rdf" | find /I "em:version=" | find "%PKG_VERSION%"' condition="exitcodeequalto" value="0" /> |
|
|
|
<check type="execute" path='%COMSPEC% /C type "%INSTALL_PATH%\startupmaster\install.rdf" | find /I "<em:version>%STARTUPMASTER_VERSION%"' condition="exitcodeequalto" value="0" /> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<install include="remove" /> |
|
|
|
<install include="remove" /> |
|
|
|
<install cmd='%COMSPEC% /C if not exist "%INSTALL_PATH%\sogo-connector" mkdir "%INSTALL_PATH%\sogo-connector"' /> |
|
|
|
<install cmd='%COMSPEC% /C if not exist "%INSTALL_PATH%\sogo-connector" mkdir "%INSTALL_PATH%\sogo-connector"' /> |
|
|
|
<install cmd='"%SOFTWARE%\7zip\unzip.bat" "%SOFTWARE%\thunderbird_addons\sogo-connector-%PKG_VERSION%.xpi" "%INSTALL_PATH%\sogo-connector"' /> |
|
|
|
<install cmd='"%SOFTWARE%\7zip\unzip.bat" "%SOFTWARE%\thunderbird_addons\sogo-connector-%PKG_VERSION%.xpi" "%INSTALL_PATH%\sogo-connector"' /> |
|
|
|
<install cmd='%COMSPEC% /C if not exist "%INSTALL_PATH%\sogo-integrator" mkdir "%INSTALL_PATH%\sogo-integrator"' /> |
|
|
|
<install cmd='%COMSPEC% /C if not exist "%INSTALL_PATH%\sogo-integrator" mkdir "%INSTALL_PATH%\sogo-integrator"' /> |
|
|
|
<install cmd='"%SOFTWARE%\7zip\unzip.bat" "%SOFTWARE%\thunderbird_addons\sogo-integrator.xpi" "%INSTALL_PATH%\sogo-integrator"' /> |
|
|
|
<install cmd='"%SOFTWARE%\7zip\unzip.bat" "%SOFTWARE%\thunderbird_addons\sogo-integrator.xpi" "%INSTALL_PATH%\sogo-integrator"' /> |
|
|
|
<install cmd='%COMSPEC% /C if not exist "%INSTALL_PATH%\startupmaster" mkdir "%INSTALL_PATH%\startupmaster"' /> |
|
|
|
|
|
|
|
<install cmd='"%SOFTWARE%\7zip\unzip.bat" "%SOFTWARE%\thunderbird_addons\startupmaster-%STARTUPMASTER_VERSION%-fx+tb.xpi" "%INSTALL_PATH%\startupmaster"' /> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<upgrade include="install" /> |
|
|
|
<upgrade include="install" /> |
|
|
|
|
|
|
|
|
|
|
@ -43,7 +39,6 @@ |
|
|
|
</remove> |
|
|
|
</remove> |
|
|
|
<remove cmd='%COMSPEC% /C if exist "%INSTALL_PATH%\sogo-connector" del /Q /F "%INSTALL_PATH%\sogo-connector"' /> |
|
|
|
<remove cmd='%COMSPEC% /C if exist "%INSTALL_PATH%\sogo-connector" del /Q /F "%INSTALL_PATH%\sogo-connector"' /> |
|
|
|
<remove cmd='%COMSPEC% /C if exist "%INSTALL_PATH%\sogo-integrator" del /Q /F "%INSTALL_PATH%\sogo-integrator"' /> |
|
|
|
<remove cmd='%COMSPEC% /C if exist "%INSTALL_PATH%\sogo-integrator" del /Q /F "%INSTALL_PATH%\sogo-integrator"' /> |
|
|
|
<remove cmd='%COMSPEC% /C if exist "%INSTALL_PATH%\startupmaster" del /Q /F "%INSTALL_PATH%\startupmaster"' /> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</package> |
|
|
|
</package> |
|
|
|
</packages> |
|
|
|
</packages> |
|
|
|