Difference between revisions of "SeaMonkey"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m
(updated - version 1.1.17 pl_PL)
Line 5: Line 5:
 
     id="seamonkey"
 
     id="seamonkey"
 
     name="Seamonkey Suite"
 
     name="Seamonkey Suite"
     revision="101"
+
     revision="1.1.17.001"
 
     reboot="false"
 
     reboot="false"
 
     execute="once"
 
     execute="once"
 
     priority="10">
 
     priority="10">
     <install cmd='"%SOFTWARE%\SeaMonkey\seamonkey-1.0.1.de-AT.win32.installer.exe" -ms -ira' />
+
    <check type="file" condition="exists" path="%PROGRAMFILES%\mozilla.org\SeaMonkey\seamonkey.exe" />
     <remove cmd='%SYSTEMROOT%\SeaMonkeyUninstall.exe -ms' />
+
    <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>
 
</package>
</source>
 
 
Please note that I use execute="once" instead of any uninstall check. Perhaps you might want to use this instead:
 
 
<source lang="xml">
 
<check type="uninstall" condition="exists" path="Mozilla SeaMonkey" />
 
 
</source>
 
</source>
  
Line 23: Line 27:
  
 
<source lang="xml">
 
<source lang="xml">
<install cmd='%SOFTWARE%\SeaMonkey\Set_Seamonkey_as_default.cmd' />
+
<install cmd='%SOFTWARE%\mozilla.org\SeaMonkey\Set_Seamonkey_as_default.cmd' />
 
</source>
 
</source>
  
Line 29: Line 33:
  
 
<source lang="dos">
 
<source lang="dos">
"%ProgramFiles%\SeaMonkey\seamonkey.exe" -CreateProfile default
+
"%ProgramFiles%\mozilla.org\SeaMonkey\seamonkey.exe" -CreateProfile default
"%ProgramFiles%\SeaMonkey\seamonkey.exe" -setDefaultBrowser -silent
+
"%ProgramFiles%\mozilla.org\SeaMonkey\seamonkey.exe" -setDefaultBrowser -silent
 
</source>
 
</source>
  

Revision as of 10:22, 9 July 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.


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]

[General]
; Run Mode values:
Run Mode=Silent
[Component Navigator]
Attributes=SELECTED|FORCE_UPGRADE

Adjust the foldername of "seamonkey_extracted" and "c:\temp" to use a package like the one below, which also speeds up installing and upgrading.

<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>
</packages>