Skip to content

fbprogmbh/xFirefox

 
 

Repository files navigation

Build status

xFirefox

The xFirefox module contains the MSFT_xFirefox composite resource which allows you to install the Firefox web browser

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Contributing

Please check out common DSC Resources contributing guidelines.

Resources

MSFT_xFirefox

  • Language: Specify the language of the browser to be installed. The default value is English.
  • VersionNumber: Specify the version number of the browser to be installed. By default, the latest version is installed.
  • OS: Specify the operating system on which the browser is to be installed. By default, the operating system is Windows.
  • MachineBits: Specifies the machine's operating system bit number. The default is x86.
  • LocalPath: The local path on the machine where the installation file should be downloaded.

MSFT_xFirefoxPreference

  • PreferenceType: Specify the type of Preference { Pref | lockPref | defaultPref | unlockPref | clearPref } Specifies the preference type of the Firefox Preference to be configured
  • PreferenceName: Specify the name of the Preference. Specifies the name of the Firefox Preference to be configured
  • PreferenceValue: Specify the value of the Preference. Specifies value of the Firefox Preference to be configured
  • InstallDirectory: Specifies the location where Mozilla Firefox is installed. Specifies the directory where Firefox is installed

Versions

Unreleased

  • Fixed bug where Firefox cannot read files with UTF-16 LE encoding
  • Updated resource to create local-settings file instead of autoconfig

1.3.0.0

  • Update appveyor.yml to use the default template.
  • Added default template files .codecov.yml, .gitattributes, and .gitignore, and .vscode folder.
  • The module manifest now contains the correct PowerShell version.
  • Added xFirefoxPreference Resource to automate Firefox Preference Configuration

1.2.0.0

  • Added logic to download installer with correct machine bits
  • Added dependency on xPSDesiredStateConfiguration

1.1.0.0

  • Updated MFST_xFireFox to pull latest version by default and use HTTPS

1.0.0.0

  • Initial release with the following resources
    • MSFT_xFirefox

Examples

Install the Firefox browser

Configuration Sample_InstallFirefoxBrowser
{
    param
    (

    [Parameter(Mandatory)]
    $VersionNumber,

    [Parameter(Mandatory)]
    $Language,

    [Parameter(Mandatory)]
    $OS,

    [Parameter(Mandatory)]
    $LocalPath

    )

    Import-DscResource -module xFirefox

    MSFT_xFirefox Firefox
    {
    VersionNumber = $VersionNumber
    Language = $Language
    OS = $OS
    LocalPath = $LocalPath
    }
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PowerShell 100.0%