Installer:Command Line Arguments: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
m (fixed typo)
(Remove all content and have people go elsewhere.)
 
(35 intermediate revisions by 7 users not shown)
Line 1: Line 1:
''Please comment in the Talk page (use the Discussion tab above)''
This documentation has moved to https://firefox-source-docs.mozilla.org/browser/installer/windows/installer/FullConfig.html.
 
&lt;path to setup executable&gt; [/S] | [/D=&lt;path to installation directory&gt;]<br>
&lt;path to setup executable&gt; [/INI=&lt;path to configuration ini file&gt;]<br>
&lt;path to setup executable&gt; [-ms]
 
Silent installation:<br>
<tt>/S</tt> or <tt>-ms</tt><br>
<tt>-ms</tt> is deprecated
 
Installation directory:<br>
<tt>/D=&lt;full path to install directory&gt;</tt>
 
Configuration ini file:<br>
When specifying a configuration ini file the installer will always run silently. When specifying a Configuration ini file other command line switches should not be specified and may have unexpected results<br>
/INI=<full path to configuration ini file>
 
Configuration ini file syntax:
<pre>[Install]
; The name of the directory where the application will be installed in the
; system's program files directory. The security
; context the installer is running in must have write access to the
; installation directory. Also, the directory must not exist or if it exists
; it must be a directory and not a file. If any of these conditions are not met
; the installer will abort the installation with an error level of 2. If this
; value is specified then InstallDirectoryPath will be ignored.
; InstallDirectoryName=Mozilla Firefox
 
; The full path to the directory to install the application. The security
; context the installer in running in must have write access to the
; installation directory. Also, the directory must not exist or if it exists
; it must be a directory and not a file. If any of these conditions are not met
; the installer will abort the installation with an error level of 2.
; InstallDirectoryPath=c:\firefox\
 
; Close the application without prompting the user when installing into a
; location where the application is already installed and the file is in use
; (e.g. it is already running). If this value is not specified the installer
; will prompt the user to close the application.
; CloseAppNoPrompt=true
 
; By default all of the following shortcuts are created. To prevent the
; creation of a shortcut specify false for the shortcut you don't want created.
;
; Create a shortcut for the application in the current user's QuickLaunch
; directory.
; QuickLaunchShortcut=false
;
; Create a shortcut for the application on the desktop. This will create the
; shortcut in the All Users Desktop directory and if that fails this will
; attempt to create the shortcuts in the current user's Start Menu directory.
; DesktopShortcut=false
;
; Create shortcuts for the application in the Start Menu. This will create the
; shortcuts in the All Users Start Menu directory and if that fails this will
; attempt to create the shortcuts in the current user's Start Menu directory.
; StartMenuShortcuts=false
 
; The directory name to use for the StartMenu folder.
; note: if StartMenuShortcuts=false is specified then this will be ignored.
; StartMenuDirectoryName=Mozilla Firefox</pre>

Latest revision as of 16:55, 27 August 2020