Difference between revisions of "SeaMonkey"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
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.
  
<pre>
+
<source lang="xml">
 
<package
 
<package
 
     id="seamonkey"
 
     id="seamonkey"
Line 12: Line 12:
 
     <remove cmd='%SYSTEMROOT%\SeaMonkeyUninstall.exe -ms' />
 
     <remove cmd='%SYSTEMROOT%\SeaMonkeyUninstall.exe -ms' />
 
</package>
 
</package>
</pre>
+
</source>
  
 
Please note that I use execute="once" instead of any uninstall check. Perhaps you might want to use this instead:
 
Please note that I use execute="once" instead of any uninstall check. Perhaps you might want to use this instead:
Line 49: Line 49:
  
 
Adjust the foldername of "seamonkey_extracted" and "c:\temp" to use a package like the one below, which also speeds up installing and upgrading.
 
Adjust the foldername of "seamonkey_extracted" and "c:\temp" to use a package like the one below, which also speeds up installing and upgrading.
<pre>
+
<source lang="xml">
 
<packages>
 
<packages>
 
<package
 
<package
id="seamonkey"
+
  id="seamonkey"
name="Seamonkey 1.1.8"
+
  name="Seamonkey 1.1.8"
revision="5"
+
  revision="5"
reboot="false"
+
  reboot="false"
priority="3">
+
  priority="3">
<check type="uninstall" condition="exists" path="SeaMonkey (1.1.8)" />
+
  <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 xcopy "%SOFTWARE%\seamonkey_extracted" c:\temp /S /Y'/>
<install cmd='cmd /C c:\temp\setup.exe'/>
+
  <install cmd='cmd /C c:\temp\setup.exe'/>
<upgrade cmd='cmd /C xcopy "%SOFTWARE%\seamonkey_extracted" c:\temp /S /Y'/>
+
  <upgrade cmd='cmd /C xcopy "%SOFTWARE%\seamonkey_extracted" c:\temp /S /Y'/>
<upgrade cmd='cmd /C c:\temp\setup.exe'/>
+
  <upgrade cmd='cmd /C c:\temp\setup.exe'/>
<remove cmd='%SYSTEMROOT%\SeaMonkeyUninstall.exe -ms' />
+
  <remove cmd='%SYSTEMROOT%\SeaMonkeyUninstall.exe -ms' />
 
</package>
 
</package>
 
</packages>
 
</packages>
</pre>
+
</source>
  
 
[[category:Silent Installers]]
 
[[category:Silent Installers]]

Revision as of 11:54, 6 March 2008

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

<package
    id="seamonkey"
    name="Seamonkey Suite"
    revision="101"
    reboot="false"
    execute="once"
    priority="10">
    <install cmd='"%SOFTWARE%\SeaMonkey\seamonkey-1.0.1.de-AT.win32.installer.exe" -ms -ira' />
    <remove cmd='%SYSTEMROOT%\SeaMonkeyUninstall.exe -ms' />
</package>

Please note that I use execute="once" instead of any uninstall check. Perhaps you might want to use this instead:

<check type="uninstall" condition="exists" path="Mozilla SeaMonkey" />

If you want to make SeaMonkey the standard browser include an additional install command in the package definition:

<install cmd='%SOFTWARE%\SeaMonkey\Set_Seamonkey_as_default.cmd' />

Where Set_Seamonkey_as_default.cmd is :

"%ProgramFiles%\SeaMonkey\seamonkey.exe" -CreateProfile default
"%ProgramFiles%\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>