## Step 5: Configure Media |

| Media files are the final output of install4j: single installer files that are used to distribute your application to your users. The creation of a media file has platform dependent options, so for each platform, you have to define a media file. It also makes sense to define several media files for one platform in case you wish to distribute different subsets of your distribution tree, or if you distribute your application with and without a bundled JRE.

| To define a new media file, you double-click on the new media file entry in the list of defined media files or choose Media->New media file from install4j's main menu. The first step of the media wizard will then be displayed. The subsequent steps depend on your choice of the media file type in this first step. Once you have completed all steps of the media wizard and clicked [OK] in the final step, a new media file entry will be displayed in the list of media files.

| In the list of media files, you can Reorder media file definitions Media file definitions are reordered by dragging them with the mouse to the desired location. While dragging, the insertion bar shows you where the media file definition would be dropped. The order of media files determines the order in which the media files are generated. Reordering is mainly provided for the purpose of letting you arrange the media file definitions according to your personal preferences. Copy media file definitions Media file definitions can be copied by copy-dragging a media file definition or using the corresponding tool bar button or menu entry. The name of the copied media file definition will be prefixed with "Copy of". Rename media file definitions Media file definitions can be renamed by using the corresponding tool bar button or menu entry. An input dialog will be displayed where the current name can be edited. Please note that except for the `%SETNAME%` variable used in the media file options, the name of the media file is not used in the distribution but is for your own information only. Delete media files definitions Media file definitions can be deleted by hitting the `DEL` key or using the corresponding tool bar button or menu entry. Edit a media file definition Media file definitions can be edited by hitting the `ENTER` key or using the corresponding tool bar button or menu entry. The appropriate media wizard will be displayed for the selected media file definition. Note that you can directly access any step in the wizard by clicking on it in the index.

| Each media file definitions has an ID which can be used to select certain media files when building the project from the command line. To show all IDs, choose Media->Show media file IDs from the main menu. The IDs will then be shown in square brackets next to the names of the media file definitions.