Menu
Amazon WorkSpaces Application Manager
Administration Guide

Packaging Mozilla Firefox Using Amazon WAM

To create a package, launch a packaging instance and a validating instance on Amazon EC2 and then create and validate a new package. For more information, see the following topics:

Important

This procedure shows how disable automatic updates. You will need to manually update the version. To create a version update, see Updating an Application.

To create a package

To create a new package, use Windows Remote Desktop to connect to your package instance and then use Amazon WorkSpaces Application Manager Studio to create the package. For more information, see Connecting to Your Windows Instance Using RDP.

  1. Start Internet Explorer and download the Windows installer for Firefox Extended Support Release at Download Firefox Extended Support Release in your language.

  2. Double-click the desktop shortcut to start Amazon WorkSpaces Application Manager Studio.

  3. On the Amazon WorkSpaces Application Manager Studio Dashboard, choose New.

  4. In 1. Application settings, do the following:

    • For Title, enter the name of the application. This text appears on the Dashboard tab and in the Amazon WorkSpaces Application Manager Studio to identify this application.

    • For Description, enter a short description for the application.

  5. In 2. Application installation, select an operating system and choose Install.

  6. In the Capture Application Installation dialog box, do the following:

    • For Installer path, enter the path to the Firefox installer.

    • For Command line parameter, type -ms to do a silent install.

    • For Capture file and registry activity for the following processes, select Installer process and sub-processes only.

    • Select Ignore changes under the Installer path specified above.

    • For After capturing is complete, do the following actions during the merge, select Replace short path names with long ones in the registry.

    • Choose Launch.

    The installer for Firefox starts after you choose Launch.

  7. On the desktop of the packaging instance, start Notepad, and then do the following to create a configuration file that disables the auto-update feature and sets the homepage and a script file to use the configuration file:

    • Copy the following code into Notepad and save the file as C:\Program Files (x86)\Mozilla Firefox\mozilla.cfg:

      Copy
      // Disable automatic updates pref("app.update.enabled", false); pref("app.update.auto", false ); pref("app.update.mode", 0); pref("app.update.service.enabled", false); // Disable the default browser check pref("browser.shell.checkDefaultBrowser", false); pref("browser.startup.homepage_override.mstone", "ignore"); // Set the homepage pref("browser.startup.homepage","https://www.amazon.com");
    • Copy the following code into Notepad and save the file as C:\Program Files (x86)\Mozilla Firefox\defaults\pref\local-settings.js:

      Copy
      // pref("general.config.obscure_value", 0); pref("general.config.filename", "mozilla.cfg");

    Note

    The first line in the configuration and files must be two forward slashes (//).

  8. Choose the Files tab. and then do the following: Open the context (right-click) menu for <ProgramFilesX86>\Mozilla Firefox and then choose Add File. In Source file name on the Add File dialog box, enter C:\Program Files (x86)\Mozilla Firefox\mozilla.cfg, and then choose OK.

    • Open the context (right-click) menu for <ProgramFilesX86>\Mozilla Firefox and then choose Add File. In Source file name on the Add File dialog box, enter C:\Program Files (x86)\Mozilla Firefox\mozilla.cfg, and then choose OK.

    • Open the context (right-click) menu for <ProgramFilesX86>\Mozilla Firefox\defaults\pref and then choose Add File. In Source file name on the Add File dialog box, enter C:\Program Files (x86)\Mozilla Firefox\defaults\pref\local-settings.js, and then choose OK.

  9. Choose the Project tab and then do the following in 4. Package build:

    • For Label, enter a label for the package. This label appears in the Amazon WAM console as the version label.

    • For Command line, choose Launch Settings. In the Application Launch Settings dialog box, enter C:\Program Files (x86)\Mozilla Firefox\firefox.exe. Select Set the working folder to the folder of the command line executable, if any, select Set the icon to the source file of the command line executable, if any, and then choose OK.

  10. Choose Save on the toolbar to save the application package project.

  11. In 5. Package upload, choose Upload and then Close.