Using Express Install in the wrapper

The recommended method of ensuring that Flash Player can run the application on the client is to use Express Install. With Express Install, you can detect when users do not have the latest version of Flash Player, and you can initiate an update process that installs the latest version of the player. The updated Player can be installed from the Adobe website or from a local intranet site. When the installation is complete, users are directed back your website, where they can run your application.

Express Install runs a SWF file in the existing Flash Player to upgrade users to the latest version of the player. As a result, Express Install requires that Flash Player already be installed on the client, and that it be version 6.0.65 or later. The Express Install feature also relies on JavaScript detection logic in the browser to ensure that the player required to start the process exists. As a result, the browser must have JavaScript enabled for Express Install to work. If the player on the client is not new enough to support Express Install, you can display alternate content, redirect the user to the Flash Player download page, or initiate another type of Flash Player upgrade experience.

By default, Express Install is enabled in the wrapper generated by Flash Builder.

To enable or disable Express Install in Flash Builder:

  1. Select Project > Properties.

  2. Select Flex Compiler from the list on the left of the Project Properties dialog box.

  3. Select the Use Express Install option to enable Express Install. Deselect the option to disable Express Install.

  4. Click OK to save your changes.

When you deploy an application with a wrapper that supports Express Install, you must also deploy the playerProductInstall.swf file. This file is located in the /templates/swfobject directory.