=WPKG Installers=
Latest Thunerbird installer location [ftphttps://releaseswww.mozillathunderbird.orgnet/pub/mozilla.orgen-US/thunderbird/releasesall/latest/win32/ ftp://releasesthunderbird.mozilla.org/pub/mozilla.org/thunderbird/releases/latest/win32/net]
Alternative installer location [http://www.mozilla.org/en-US/thunderbird/all.html http://www.mozilla.org/en-US/thunderbird/all.html] == Thunderbird 5268.8.0 x86 and higher x64 versions ==
<source lang="xml">
<package
id="thunderbird" name="Mozilla Thunderbird" revision="%versionPKG_VERSION%" reboot="false" priority="10"> <variable name="versionPKG_VERSION" value="5268.8.0" /> <variable name="filePKG_LOCALE" value="52ru" /> <variable name="PKG_ARCHITECTURE" value="x86" architecture="x86" /> <variable name="PKG_ARCHITECTURE" value="x64" architecture="x64" /> <variable name="PKG_SOURCE" value="%SOFTWARE%\Mozilla\Thunderbird" /> <variable name="PKG_NAME" value="Thunderbird Setup %PKG_VERSION%.8exe" /> <variable name="PKG_INSTALL_SWITCH" value="-ms /INI=%PKG_SOURCE%\config.0.6710ini" /> <variable name="PKG_REMOVE_SWITCH" value="-ms" /> <variable name="PKG_DESTINATION" value="%PROGRAMFILES%\Mozilla Thunderbird" />
<check type="logical" condition="or">
<check type="file" condition="versiongreaterorequal" path="%PROGRAMFILES%\Mozilla Thunderbird\thunderbird.exe" value="%version%" />
<check type="file" condition="versiongreaterorequal" path="%PROGRAMFILES(x86)%\Mozilla Thunderbird\thunderbird.exe" value="%version%" />
<check type="file" condition="versiongreaterorequal" path="%PROGRAMFILES%\Mozilla Thunderbird\thunderbird.exe" value="%file%" />
<check type="file" condition="versiongreaterorequal" path="%PROGRAMFILES(x86)%\Mozilla Thunderbird\thunderbird.exe" value="%file%" />
</check>
<install cmdcheck type='"uninstall" condition="exists" path="Mozilla Thunderbird %SOFTWAREPKG_VERSION%\Thunderbird\Thunderbird Setup (%versionPKG_ARCHITECTURE%.exe%PKG_LOCALE%)" -ms' /> <upgrade install cmd='"taskkill /F /IM thunderbirdThunderbird.exe'"> <exit code="0" /> <exit code="-1073741515" /> <exit code="128" /> </upgradeinstall> <upgrade install cmd='"%SOFTWAREPKG_SOURCE%\Thunderbird%PKG_ARCHITECTURE%\%PKG_NAME%" %PKG_INSTALL_SWITCH%' /> <!-- Thunderbird Setup als Standard - Email Programm setzen--> <install cmd='cscript %versionPKG_SOURCE%\setdefault.exejs' /> <install cmd='%COMSPEC% /C copy /Y /V " %PKG_SOURCE%\settings\lencor-msprefs.js" "%PKG_DESTINATION%\defaults\pref\"' /> <install cmd='%COMSPEC% /C copy /Y /V "%PKG_SOURCE%\settings\lencor-prefs.cfg" "%PKG_DESTINATION%\"' /> <upgrade include="remove" /> <upgrade include="install" /> <remove cmd='taskkill /F /IM thunderbird.exe'> <exit code="0" /> <exit code="128" /> <exit code="-1073741515" /> </remove>
<!-- for 32bit and 64bit System --> <remove cmd='%COMSPEC% /C if exist "%PROGRAMFILESPKG_DESTINATION%\Mozilla Thunderbird\uninstall\helper.exe" "%PROGRAMFILESPKG_DESTINATION%\Mozilla Thunderbird\uninstall\helper.exe" -ms%PKG_REMOVE_SWITCH%' /> <!-- for 64bit Systems with old 32bit Thunderbird --> <remove cmd='%COMSPEC% /C if exist "%PROGRAMFILES(x86)%\Mozilla Thunderbird\uninstall\helper.exe" "%PROGRAMFILES(x86)%\Mozilla Thunderbird\uninstall\helper.exe" -ms%PKG_REMOVE_SWITCH%'> <exit code='any' /> </remove> </package>
</source>