Vyhľadajte odpoveď

Vyhnite sa podvodom s podporou. Nikdy vás nebudeme žiadať, aby ste zavolali alebo poslali SMS na telefónne číslo alebo zdieľali osobné informácie. Nahláste prosím podozrivú aktivitu použitím voľby “Nahlásiť zneužitie”.

Ďalšie informácie

Win7 Pro batch file: START "" ".\Archive\Firefox Setup 56.0.2-EME.exe "/INI=%~dp0Archive\FF-Installer.ini" <== Why does the installer ignore the ini file?

  • 2 odpovede
  • 1 má tento problém
  • 12 zobrazení
  • Posledná odpoveď od OS2User

more options

Every search result shows the FF installer can be started in quiet mode with defaults defined in the FF ini file. However, when calling Firefox Setup 56.0.2-EME.exe from within my batch file, either it complains about not finding the specified ini file - which is utter bollocks, since it is right there with the specified name - or it simply ignores it completely and does its normal thing. Why is that and how do I get it to work as intended?

Contents of FF-Installer.ini: [Install]

As of Firefox 4.0 StartMenuDirectoryName is ignored due to the removal of the start menu directory for Firefox and the creation of a start menu shortcut in the root of the start menu (see bug 598779).
Configuration ini file: https://wiki.mozilla.org/Installer:Command_Line_Arguments
<path to setup executable> path to configuration ini file> developer.mozilla.org/en-US/docs/Mozilla/Command_Line_Options
.\Firefox Setup 55.0-EME.exe /INI=.\FF-Installer.ini
=========
Remove the semicolon (;) to un-comment a line.
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 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.
InstallDirectoryPath=c:\firefox\
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 (not available with
Firefox 4.0 and above - see note below).
note: if StartMenuShortcuts=false is specified then this will be ignored.
StartMenuDirectoryName=Mozilla Firefox
The MozillaMaintenance service is used for silent updates and may be used
for other maintenance related tasks. It is an optional component.
This option can be used in Firefox 16 or later to skip installing the service.
MaintenanceService=false
Every search result shows the FF installer can be started in quiet mode with defaults defined in the FF ini file. However, when calling Firefox Setup 56.0.2-EME.exe from within my batch file, either it complains about not finding the specified ini file - which is utter bollocks, since it is right there with the specified name - or it simply ignores it completely and does its normal thing. Why is that and how do I get it to work as intended? Contents of FF-Installer.ini: [Install] ; ; As of Firefox 4.0 StartMenuDirectoryName is ignored due to the removal of the start menu directory for Firefox and the creation of a start menu shortcut in the root of the start menu (see bug 598779). ; Configuration ini file: https://wiki.mozilla.org/Installer:Command_Line_Arguments ; <path to setup executable> [/INI=<full path to configuration ini file>] developer.mozilla.org/en-US/docs/Mozilla/Command_Line_Options ; .\Firefox Setup 55.0-EME.exe /INI=.\FF-Installer.ini ; ; ========= ; ; Remove the semicolon (;) to un-comment a line. ; ; 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 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. ; InstallDirectoryPath=c:\firefox\ ; 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 (not available with ; Firefox 4.0 and above - see note below). ; note: if StartMenuShortcuts=false is specified then this will be ignored. ; StartMenuDirectoryName=Mozilla Firefox ; The MozillaMaintenance service is used for silent updates and may be used ; for other maintenance related tasks. It is an optional component. ; This option can be used in Firefox 16 or later to skip installing the service. ; MaintenanceService=false

Všetky odpovede (2)

more options

Hi OS2User :-) (love the moniker, i used cp/m and rsx-11mplus and vms as well as linux, mac os x , windows and every other popular OS but not OS/2 )

  1. Probably silly question, but why not simply Remove the check mark next to Play DRM-controlled content in Firefox Tools->Options->General ?
  2. Is it because you are in an enterprise environment? If so please join the enterprise list and ask the question there! You can subscribe using the form on this page: https://www.mozilla.org/en-US/firefox/organizations/faq/ or directly here: https://mail.mozilla.org/listinfo/enterprise
  3. Otherwise you have stumped me and maybe some other fellow employee or volunteer can help !

Cheers!

...Roland

more options

Hi Roland,

well, to be honest, for the last some 3 years I pretty much stopped using my trusted old OS/2 box and am using Linux Mint on my own devices.

Well, using the EME version saves me to have to take care of "Remove the check mark next to Play DRM-controlled content in Firefox Tools->Options->General ? " each and every time, I have to use a Windows box, running my own FF version and profile from a USB Flash drive. And so far, I haven't found any indication anywhere, that the EME version including installer, would behave any different from the "regular", non-EME one. As long as EME ones are available, I am gonna use them, if only to express my disgust with proprietary DRM nonsense.

And I see, that this site's script removed all the [;] semi colons in my posted .ini script :-(