Game Development Reference
In-Depth Information
Figure 46.8
Screenshot of the file types editor.
The Name property is used to describe the file type within the file types editor. The
Command property specifies what application is launched when this file type is
opened from the file system. The Description property is just what it says, a
description of the file type within the file types editor. The Extensions property is
the most important because it describes which extensions are associated with this
file type registration. The Icon property is used to specify which icon is given to
applications sporting the registered extensions. Finally, the MIME property is used
to describe which mime type is associated with the file mapping. A file mapping
has actions (Open is the action used in this example) which represent verbs that
are passed into the opening arguments along with the file path so that the appli-
cation can handle the file appropriately.
Another useful editor is the registry editor that allows you to manipulate registry
entries on the target computer. This editor can add entries into the Windows reg-
istry from directly within the installer.
To add a key, simply right-click on the node you want to create under and select
New>Key. You can add values such as strings, environment strings, binary values,
and DWORDs.
Caution
Beware of what you manipulate within the Windows registry; this can be very dangerous. Make
sure you give your keys a distinct grouping and naming.
The registry editor is shown in Figure 46.9.
 
Search Nedrilad ::




Custom Search