Difference between revisions of "SeaMonkey"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m (Seamonkey 2.1 Addons)
m (Seamonkey 2)
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.x ==
 
+
Similar Package to V. 1.x.x, remove cmd has changed.
+
  
 
<source lang="xml">
 
<source lang="xml">
Line 9: Line 7:
 
<package
 
<package
 
id="seamonkey2"
 
id="seamonkey2"
name="Seamonkey 2.1"
+
name="Seamonkey 2.10"
revision="210"
+
revision="2100"
 
reboot="false"
 
reboot="false"
 
priority="2">
 
priority="2">
<check type="uninstall" condition="exists" path="SeaMonkey (2.1)" />
+
<variable name="version" value="2.10" />
<install cmd='cmd /C "%SOFTWARE%\seamonkey2\SeaMonkey Setup 2.1.exe" -ms -ira'/>
+
<check type="uninstall" condition="exists" path="SeaMonkey (%version%)" />  
<install cmd='cmd /c del /s /q "%AllUsersProfile%\Desktop\Seamonkey.lnk"' />  
+
<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 2.1.exe" -ms -ira'/>
+
<upgrade cmd='cmd /C "%SOFTWARE%\seamonkey2\SeaMonkey Setup %version%.exe" -ms -ira'/>
<upgrade cmd='cmd /c del /s /q "%AllUsersProfile%\Desktop\Seamonkey.lnk"' />  
+
<upgrade cmd='cmd /c if exist "%AllUsersProfile%\Desktop\Seamonkey.lnk" del /s /q "%AllUsersProfile%\Desktop\Seamonkey.lnk"' />  
+
<remove cmd='"%PROGRAMFILES%\SeaMonkey\uninstall\helper.exe" /S' />
+
<remove cmd='cmd /c "%PROGRAMFILES%\SeaMonkey\uninstall\helper.exe /S"' />
 
</package>
 
</package>
 
</packages>
 
</packages>

Revision as of 13:32, 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="lightning1.0b4"
revision="4"
reboot="false"
priority="0">
	<check type="file" condition="exists" path="%PROGRAMFILES%\SeaMonkey\extensions\{e2fda1a4-762b-4020-b5ad-a41df1933103}\application.ini" />
	<install cmd='cmd /C xcopy /Q /I /E /Y "%SOFTWARE%\seamonkey2\extensions\sm2.1\lightning-de\{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.1\lightning-de\{e2fda1a4-762b-4020-b5ad-a41df1933103}" "%PROGRAMFILES%\Seamonkey\extensions\{e2fda1a4-762b-4020-b5ad-a41df1933103}\"' />

<remove 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}\"' />
</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.