Difference between revisions of "SeaMonkey"
m |
|||
Line 16: | Line 16: | ||
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: | ||
− | < | + | <source lang="xml"> |
<check type="uninstall" condition="exists" path="Mozilla SeaMonkey" /> | <check type="uninstall" condition="exists" path="Mozilla SeaMonkey" /> | ||
− | </ | + | </source> |
If you want to make SeaMonkey the standard browser include an additional install command in the package definition: | If you want to make SeaMonkey the standard browser include an additional install command in the package definition: | ||
− | < | + | <source lang="xml"> |
<install cmd='%SOFTWARE%\SeaMonkey\Set_Seamonkey_as_default.cmd' /> | <install cmd='%SOFTWARE%\SeaMonkey\Set_Seamonkey_as_default.cmd' /> | ||
− | </ | + | </source> |
Where <code>Set_Seamonkey_as_default.cmd</code> is : | Where <code>Set_Seamonkey_as_default.cmd</code> is : | ||
− | < | + | <source lang="dos"> |
"%ProgramFiles%\SeaMonkey\seamonkey.exe" -CreateProfile default | "%ProgramFiles%\SeaMonkey\seamonkey.exe" -CreateProfile default | ||
"%ProgramFiles%\SeaMonkey\seamonkey.exe" -setDefaultBrowser -silent | "%ProgramFiles%\SeaMonkey\seamonkey.exe" -setDefaultBrowser -silent | ||
− | </ | + | </source> |
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. | ||
Line 40: | Line 40: | ||
Unzip the seamonkey-1.x.x.de-AT.win32.installer.exe with a tool like 7-zip to a folder. | 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] | In this folder edit the config.ini for your needs, especially the sections [General] and [Component Navigator] | ||
− | < | + | <source lang="ini"> |
[General] | [General] | ||
; Run Mode values: | ; Run Mode values: | ||
Line 46: | Line 46: | ||
[Component Navigator] | [Component Navigator] | ||
Attributes=SELECTED|FORCE_UPGRADE | 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. | Adjust the foldername of "seamonkey_extracted" and "c:\temp" to use a package like the one below, which also speeds up installing and upgrading. |
Revision as of 17:40, 12 April 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>