I in another Thread/Question I tried deploying Firefox in german language (successfiully). Now I want to add some configuration files to the package.
so the steps should be:
- install Firefox without "Mozilla Maintenance service" using commandline switches and Config Script (unattend.ini)
- copy the config files "local-settings.js", "mozilla.cfg" and "override.ini" to the correct Folder under the Firefox Installation Folder ("C:\Programs\Mozilla Firefox" on 32bit Win 7 or "C:\Programs (x32)\Mozilla Firefox" on 64bit Win 7)
What I tried:
- Copy the solarwinds package for "Mozilla Firefox 24.5.0 ESR"
- Modified it like the 24.4.0 package, which deploys properly
- changed Package Title and description
- changed support url
- changed Prerequisite Rule (to: Windows Language Language=German)
- changed Download URL to german firefox installer location
- changed Binary Langage from English to "English (United States)" --> don't know if neccessary
- Edit package again to add config files and installation modifier
- added " /INI=unattend.ini" to the "Command Line (silent install)" on the "Select Package" page
- enabled "Use the Package Boot Helper [...]"
- removed all default content
- added under "Before ...":
- "Terminate firefox.exe" and Continue if this action fails (in test i closed firefox and checked if all firefox processes has been terminated)
- Stop MozillaMaintenance service and Continue if this action fails
- Uninstall MSI {B5C3F652-D205-430F-827B-9D4F15FADF30} (the old firefox version) and Continue if this action fails
- checked "apply package" --> Program name ok (but contains the default spaces), comand-line parameters ok (-ms /ini=unattend.ini)
- added under "After...":
- Run cmd.exe --> Run as program with parameters: /c copy %MODULEPATH%\local-settings.js defaults\pref\ and Determine program location from "HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\Mozilla Firefox\24.5.0 (de)\Main" Key:"Install Directory" ("32-bit only" checked)
- Run cmd.exe --> Run as program with parameters: /c copy %MODULEPATH%\override.ini .\ and Determine program location from "HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\Mozilla Firefox\24.5.0 (de)\Main" Key:"Install Directory" ("32-bit only" checked)
- Run cmd.exe --> Run as program with parameters: /c copy %MODULEPATH%\mozilla.cfg .\ and Determine program location from "HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\Mozilla Firefox\24.5.0 (de)\Main" Key:"Install Directory" ("32-bit only" checked)
- enabled "Include additional files [...]"
- added needed preconfigured files: local-settings.js, mozilla.cfg, override.ini and unattend.ini
Problem:
Mozilla is installed (the Return code says "Failed"), the unattend.ini is NOT used and the files are not copied. What should be modified? And what I have to do to correctly publish the again modified package?