Silent install switches?

Users and developers helping users with generic and technical Pale Moon issues on all operating systems.

Moderator: trava90

Forum rules
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
Stellaluna

Silent install switches?

Post by Stellaluna » 2011-12-13, 00:05

I am in the process of making a Pale Moon add-on (v3.6.27) to use with an nLite installation of Windows XP. My question is if the silent install switches for Pale Moon are the same as those for Firefox.

Basically an nLite addon is just a .zip, .cab, .rar, or .7z file with the installer program (8.3-named, in a folder "svcpack") along with an .ini settings file packed inside (the .ini at the root of the archive), named in the format "ENTRIES_ProgramName.ini" (minus quotes). The .ini contains an optional description of the program (name, release date, version, etc.), along with the silent install switches to be called. Since Pale Moon is so close in code base and development to Firefox, I'm basing mine off Firefox's .ini file:

Code: Select all

[general]
builddate=08/11/2011
description=Firefox
language=English
version=3.6.24
website=http://www.mozilla.com/

[EditFile]
I386\SVCPACK.INF,SetupHotfixesToRun,AddProgram

[AddProgram]
Firefox3.exe -ms
Firefox3.exe -ms is the silent switch for the Firefox3.exe installer. According to the description at wpkg.org,
Firefox 3.6 series: The silent install switch -ms is no longer considered deprecated. ... In [Firefox 3.5 series] the silent install command line switch must be "-ms" because "/S" is broken (bug #506867, except for the uninstall, it seems), even though Installer:Command_Line_Arguments says "-ms" is deprecated.
So if I'm making a Pale Moon add-on in the same format, I'm guessing that -ms is the silent switch for Pale Moon 3.6.x (apparently the last of the 3.6 series?) as it is for Firefox 3.6.x. "Firefox3.exe" would just be "PaleMoon.exe" with the same arguments. But I just want to be sure. :think:

More info about nLite add-ons and downloads of several of them (including the Firefox one I found, last updated at v3.6.15) are at http://www.winaddons.com/nlite-addons. Thanks in advance :) I'm loving the program so far :D