Difference between revisions of "SeaMonkey"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m
Line 34: Line 34:
  
 
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.
 +
 +
 +
'''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]
 +
<pre>
 +
[General]
 +
; Run Mode values:
 +
Run Mode=Silent
 +
[Component Navigator]
 +
Attributes=SELECTED|FORCE_UPGRADE
 +
</pre>
 +
 +
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>
 +
<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>
 +
</pre>
  
 
[[category:Silent Installers]]
 
[[category:Silent Installers]]

Revision as of 17:43, 3 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>