Difference between revisions of "SeaMonkey"
From WPKG | Open Source Software Deployment and Distribution
m (Updated to version 2.0.10) |
|||
Line 1: | Line 1: | ||
This is a silent installer for the [http://www.mozilla.org/projects/seamonkey/ SeaMonkey Suite], the successor of the Mozilla suite. | This is a silent installer for the [http://www.mozilla.org/projects/seamonkey/ SeaMonkey Suite], the successor of the Mozilla suite. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Seamonkey 2 == | == Seamonkey 2 == | ||
Line 87: | Line 47: | ||
</packages> | </packages> | ||
</source> | </source> | ||
+ | |||
+ | |||
+ | ==Seamonkey 1.1.x== | ||
+ | |||
+ | <source lang="xml"> | ||
+ | <package | ||
+ | id="seamonkey" | ||
+ | name="Seamonkey Suite" | ||
+ | revision="1.1.17.001" | ||
+ | reboot="false" | ||
+ | execute="once" | ||
+ | priority="10"> | ||
+ | <check type="file" condition="exists" path="%PROGRAMFILES%\mozilla.org\SeaMonkey\seamonkey.exe" /> | ||
+ | <install cmd="taskkill /F /IM Seamonkey.exe"> | ||
+ | <exit code="0" /> | ||
+ | <exit code="128" /> | ||
+ | </install> | ||
+ | <install cmd='"%SOFTWARE%\SeaMonkey\seamonkey-1.1.17.pl-PL.win32.installer.exe" -ms -ira' /> | ||
+ | <upgrade cmd="taskkill /F /IM Seamonkey.exe"> | ||
+ | <exit code="0" /> | ||
+ | <exit code="128" /> | ||
+ | </upgrade> | ||
+ | <upgrade cmd='"%SOFTWARE%\SeaMonkey\seamonkey-1.1.17.pl-PL.win32.installer.exe" -ms -ira' /> | ||
+ | <remove cmd='"%SYSTEMROOT%\SeaMonkeyUninstall.exe" /S /ua "1.1.17 (pl)"' /> | ||
+ | </package> | ||
+ | </source> | ||
+ | |||
+ | If you want to make SeaMonkey the standard browser include an additional install command in the package definition: | ||
+ | |||
+ | <source lang="xml"> | ||
+ | <install cmd='%SOFTWARE%\mozilla.org\SeaMonkey\Set_Seamonkey_as_default.cmd' /> | ||
+ | </source> | ||
+ | |||
+ | Where <code>Set_Seamonkey_as_default.cmd</code> is : | ||
+ | |||
+ | <source lang="dos"> | ||
+ | "%ProgramFiles%\mozilla.org\SeaMonkey\seamonkey.exe" -CreateProfile default | ||
+ | "%ProgramFiles%\mozilla.org\SeaMonkey\seamonkey.exe" -setDefaultBrowser -silent | ||
+ | </source> | ||
+ | |||
+ | This will of course create a SeaMonkey dummy profile in the systems account windows profile, but I can live with that. | ||
+ | |||
+ | |||
+ | |||
[[category:Silent Installers]] | [[category:Silent Installers]] |
Revision as of 16:54, 6 January 2011
This is a silent installer for the SeaMonkey Suite, the successor of the Mozilla suite.
Seamonkey 2
Similar Package to V. 1.x.x, remove cmd has changed.
<packages>
<package
id="seamonkey2"
name="Seamonkey 2.0"
revision="1"
reboot="false"
priority="2">
<check type="uninstall" condition="exists" path="SeaMonkey (2.0.10)" />
<install cmd='cmd /C "%SOFTWARE%\seamonkey2\SeaMonkey Setup 2.0.10.exe" -ms -ira'/>
<install cmd='cmd /c del /s /q "%AllUsersProfile%\Desktop\Seamonkey.lnk"' />
<upgrade cmd='cmd /C "%SOFTWARE%\seamonkey2\SeaMonkey Setup 2.0.10.exe" -ms -ira'/>
<upgrade cmd='cmd /c del /s /q "%AllUsersProfile%\Desktop\Seamonkey.lnk"' />
<remove cmd='"%PROGRAMFILES%\SeaMonkey\uninstall\helper.exe" /S' />
</package>
</packages>
Seamonkey 2 Addons
Seamonkey 2 now supports the global Installation of Addons from a local file similar to Firefox
Example: Enigmail
<packages>
<package
id="enigmail"
name="enigmail"
revision="1"
reboot="false"
priority="1">
<check type="file" condition="exists" path="%PROGRAMFILES%\SeaMonkey\extensions\{847b3a00-7ab1-11d4-8f02-006008948af5}\chrome\enigmail.jar" />
<install cmd='cmd /C copy /Y "%SOFTWARE%\seamonkey2\extensions\enigmail-trunk-tb-win32-trunk.xpi" c:\Temp' />
<install cmd='"%PROGRAMFILES%\Seamonkey\seamonkey.EXE" -install-global-extension c:\temp\enigmail-trunk-tb-win32-trunk.xpi' />
<upgrade cmd='cmd /C copy /Y "%SOFTWARE%\seamonkey2\extensions\enigmail-trunk-tb-win32-trunk.xpi" c:\Temp' />
<upgrade cmd='"%PROGRAMFILES%\Seamonkey\seamonkey.EXE" -install-global-extension c:\temp\enigmail-trunk-tb-win32-trunk.xpi' />
</package>
</packages>
Seamonkey 1.1.x
<package
id="seamonkey"
name="Seamonkey Suite"
revision="1.1.17.001"
reboot="false"
execute="once"
priority="10">
<check type="file" condition="exists" path="%PROGRAMFILES%\mozilla.org\SeaMonkey\seamonkey.exe" />
<install cmd="taskkill /F /IM Seamonkey.exe">
<exit code="0" />
<exit code="128" />
</install>
<install cmd='"%SOFTWARE%\SeaMonkey\seamonkey-1.1.17.pl-PL.win32.installer.exe" -ms -ira' />
<upgrade cmd="taskkill /F /IM Seamonkey.exe">
<exit code="0" />
<exit code="128" />
</upgrade>
<upgrade cmd='"%SOFTWARE%\SeaMonkey\seamonkey-1.1.17.pl-PL.win32.installer.exe" -ms -ira' />
<remove cmd='"%SYSTEMROOT%\SeaMonkeyUninstall.exe" /S /ua "1.1.17 (pl)"' />
</package>
If you want to make SeaMonkey the standard browser include an additional install command in the package definition:
<install cmd='%SOFTWARE%\mozilla.org\SeaMonkey\Set_Seamonkey_as_default.cmd' />
Where Set_Seamonkey_as_default.cmd
is :
"%ProgramFiles%\mozilla.org\SeaMonkey\seamonkey.exe" -CreateProfile default
"%ProgramFiles%\mozilla.org\SeaMonkey\seamonkey.exe" -setDefaultBrowser -silent
This will of course create a SeaMonkey dummy profile in the systems account windows profile, but I can live with that.