Difference between revisions of "SeaMonkey"
From WPKG | Open Source Software Deployment and Distribution
(old versions removed, settings for default mail client added) |
(→Default mail client) |
||
Line 70: | Line 70: | ||
</package> | </package> | ||
</packages> | </packages> | ||
+ | </source lang="xml"> | ||
+ | where HKLM_mailclient.reg is | ||
+ | <source lang="xml"> | ||
+ | Windows Registry Editor Version 5.00 | ||
+ | |||
+ | [HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail] | ||
+ | @="SeaMonkey" | ||
+ | </source lang="xml"> | ||
[[category:Silent Installers]] | [[category:Silent Installers]] |
Revision as of 13:41, 26 June 2012
This is a silent installer for the SeaMonkey Suite, the successor of the Mozilla suite.
Seamonkey 2.x
<packages>
<package
id="seamonkey2"
name="Seamonkey 2.10"
revision="2100"
reboot="false"
priority="2">
<variable name="version" value="2.10" />
<check type="uninstall" condition="exists" path="SeaMonkey (%version%)" />
<install cmd='cmd /C "%SOFTWARE%\seamonkey2\SeaMonkey Setup %version%.exe" -ms -ira'/>
<install cmd='cmd /c if exist "%AllUsersProfile%\Desktop\Seamonkey.lnk" del /s /q "%AllUsersProfile%\Desktop\Seamonkey.lnk"' />
<upgrade cmd='cmd /C "%SOFTWARE%\seamonkey2\SeaMonkey Setup %version%.exe" -ms -ira'/>
<upgrade cmd='cmd /c if exist "%AllUsersProfile%\Desktop\Seamonkey.lnk" del /s /q "%AllUsersProfile%\Desktop\Seamonkey.lnk"' />
<remove cmd='cmd /c "%PROGRAMFILES%\SeaMonkey\uninstall\helper.exe /S"' />
</package>
</packages>
Seamonkey 2.1 Addons
Seamonkey 2.1 does not support any more the global installation of Addons from a local file.
Example: Lightning Get the latest localized version from http://releases.mozilla.org/pub/mozilla.org/calendar/lightning/releases/?C=M;O=A
Extract it to a folder called like the <em:id> in the global part of file install.rdf in the extracted files, here: <em:id>{e2fda1a4-762b-4020-b5ad-a41df1933103}</em:id>
Installation is a simple copy of the files to the extensions-folder.
<packages>
<package
id="lightning"
name="Lightning 1.5"
revision="15"
reboot="false"
priority="0">
<check type="file" condition="exists" path="%PROGRAMFILES%\SeaMonkey\extensions\{e2fda1a4-762b-4020-b5ad-a41df1933103}\application.ini" />
<install cmd='cmd /c if exist "%programfiles%\Seamonkey\extensions\{e2fda1a4-762b-4020-b5ad-a41df1933103}\chrome\lightning-de.jar" rmdir /S /Q "%programfiles%\Seamonkey\extensions\{e2fda1a4-762b-4020-b5ad-a41df1933103}\"' />
<install cmd='cmd /C xcopy /Q /I /E /Y "%SOFTWARE%\seamonkey2\extensions\sm2.10\lightning\{e2fda1a4-762b-4020-b5ad-a41df1933103}" "%programfiles%\Seamonkey\extensions\{e2fda1a4-762b-4020-b5ad-a41df1933103}\"' />
<upgrade cmd='cmd /c if exist "%programfiles%\Seamonkey\extensions\{e2fda1a4-762b-4020-b5ad-a41df1933103}\chrome\lightning-de.jar" rmdir /S /Q "%programfiles%\Seamonkey\extensions\{e2fda1a4-762b-4020-b5ad-a41df1933103}\"' />
<upgrade cmd='cmd /C xcopy /Q /I /E /Y "%SOFTWARE%\seamonkey2\extensions\sm2.10\lightning\{e2fda1a4-762b-4020-b5ad-a41df1933103}" "%programfiles%\Seamonkey\extensions\{e2fda1a4-762b-4020-b5ad-a41df1933103}\"' />
</package>
</packages>
Default mail client
If you want to make SeaMonkey the default mail client use a package like this:
<packages>
<package id="mailclient"
name="mailclient"
revision="1"
reboot="false"
priority="0">
<check type="registry" condition="equals" path="HKLM\Software\Clients\Mail" value="SeaMonkey" />
<install cmd='%comspec% /c regedit /s "%software%\registry\HKLM_mailclient.reg "' />
<exit code = "any" />
</package>
</packages>
</source lang="xml">
where HKLM_mailclient.reg is
<source lang="xml">
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail]
@="SeaMonkey"
</source lang="xml">
[[category:Silent Installers]]