Difference between revisions of "SeaMonkey"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
Line 38: Line 38:
  
 
This will of course create a SeaMonkey dummy profile in the systems account windows profile, but I can life with that.
 
This will of course create a SeaMonkey dummy profile in the systems account windows profile, but I can life with that.
 +
 +
 +
 +
== Seamonkey 2 ==
 +
 +
Similar Package to V. 1.x.x, remove cmd has changed.
 +
 +
<source lang="xml">
 +
<packages>
 +
<package
 +
id="seamonkey2"
 +
name="Seamonkey 2.0"
 +
revision="1"
 +
reboot="false"
 +
priority="2">
 +
<check type="uninstall" condition="exists" path="SeaMonkey (2.0)" />
 +
<install cmd='cmd /C "%SOFTWARE%\seamonkey2\SeaMonkey Setup 2.0.exe" -ms -ira'/>
 +
<install cmd='cmd /c del /s /q "%AllUsersProfile%\Desktop\Seamonkey.lnk"' />
 +
 +
<upgrade cmd='cmd /C "%SOFTWARE%\seamonkey2\SeaMonkey Setup 2.0.exe" -ms -ira'/>
 +
<upgrade cmd='cmd /c del /s /q "%AllUsersProfile%\Desktop\Seamonkey.lnk"' />
 +
 +
<remove cmd='"%PROGRAMFILES%\SeaMonkey\uninstall\helper.exe /S"' />
 +
</package>
 +
</packages>
 +
</source>
  
  
Line 58: Line 84:
 
<upgrade cmd='cmd /C copy /Y "%SOFTWARE%\seamonkey2\extensions\enigmail-trunk-tb-win32-trunk.xpi" c:\Temp' />
 
<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' />
 
<upgrade cmd='"%PROGRAMFILES%\Seamonkey\seamonkey.EXE" -install-global-extension c:\temp\enigmail-trunk-tb-win32-trunk.xpi' />
</package>
 
</packages>
 
</source>
 
 
 
'''Alternative Method'''
 
 
Unzip the seamonkey-1.x.x.de-AT.win32.installer.exe with a tool like 7-zip to a folder.
 
In this folder edit the config.ini for your needs, especially the sections [General] and [Component Navigator]
 
<source lang="ini">
 
[General]
 
; Run Mode values:
 
Run Mode=Silent
 
[Component Navigator]
 
Attributes=SELECTED|FORCE_UPGRADE
 
</source>
 
 
Adjust the foldername of "seamonkey_extracted" and "c:\temp" to use a package like the one below, which also speeds up installing and upgrading.
 
<source lang="xml">
 
<packages>
 
<package
 
  id="seamonkey"
 
  name="Seamonkey 1.1.8"
 
  revision="5"
 
  reboot="false"
 
  priority="3">
 
  <check type="uninstall" condition="exists" path="SeaMonkey (1.1.8)" />
 
  <install cmd='cmd /C xcopy "%SOFTWARE%\seamonkey_extracted" c:\temp /S /Y'/>
 
  <install cmd='cmd /C c:\temp\setup.exe'/>
 
  <upgrade cmd='cmd /C xcopy "%SOFTWARE%\seamonkey_extracted" c:\temp /S /Y'/>
 
  <upgrade cmd='cmd /C c:\temp\setup.exe'/>
 
  <remove cmd='%SYSTEMROOT%\SeaMonkeyUninstall.exe -ms' />
 
 
</package>
 
</package>
 
</packages>
 
</packages>

Revision as of 16:30, 29 October 2009

This is a silent installer for the SeaMonkey Suite, the successor of the Mozilla suite.

<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 life with that.


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)" />
	<install cmd='cmd /C "%SOFTWARE%\seamonkey2\SeaMonkey Setup 2.0.exe" -ms -ira'/>	
	<install cmd='cmd /c del /s /q "%AllUsersProfile%\Desktop\Seamonkey.lnk"' /> 
	
	<upgrade cmd='cmd /C "%SOFTWARE%\seamonkey2\SeaMonkey Setup 2.0.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>