Difference between revisions of "SeaMonkey"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m (Fix Remove of version 2)
m (Updated to version 2.0.10)
Line 53: Line 53:
 
reboot="false"
 
reboot="false"
 
priority="2">
 
priority="2">
<check type="uninstall" condition="exists" path="SeaMonkey (2.0)" />
+
<check type="uninstall" condition="exists" path="SeaMonkey (2.0.10)" />
<install cmd='cmd /C "%SOFTWARE%\seamonkey2\SeaMonkey Setup 2.0.exe" -ms -ira'/>
+
<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"' />  
 
<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 "%SOFTWARE%\seamonkey2\SeaMonkey Setup 2.0.10.exe" -ms -ira'/>
 
<upgrade cmd='cmd /c del /s /q "%AllUsersProfile%\Desktop\Seamonkey.lnk"' />  
 
<upgrade cmd='cmd /c del /s /q "%AllUsersProfile%\Desktop\Seamonkey.lnk"' />  
 
 

Revision as of 22:53, 30 October 2010

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 live 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.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>