Comprehensive Guide to Utilizing Extension Attributes in Software Development

Comprehensive Guide to Utilizing Extension Attributes in Software Development

David Lv8

Comprehensive Guide to Utilizing Extension Attributes in Software Development

Table of Contents

Disclaimer: This post includes affiliate links

If you click on a link and make a purchase, I may receive a commission at no extra cost to you.

Extension Properties

General

Command

Points the path of the program associated with the extension. You can change the program by using the [Browse… ] button to select another one from the project.

MIME type

Defines the content type of the files with the selected extension. This content type will be used by the browsers to select an application to handle a downloaded file. Leave this field empty if you do not want to register a MIME type for the files with the current extension.

NoteConsult the IANA registry online for a list of assigned MIME Media Types.

https://techidaily.com

Warning!During installation of a MIME type Windows Installer registers the MIME type under the Internet Explorer MIME Database too (“HKEY_CLASSES_ROOT\MIME\Database\Content Type” registry key). Considering the method how Internet Explorer handles MIME Types , it is not recommend to register the “application/octet-stream” MIME type with your application extension. This is because after registering the “application/octet-stream” MIME type with your application extension, Internet Explorer could associate all downloaded files of “application/octet-stream” MIME type with your application extension.

https://techidaily.com https://techidaily.com

Feature

The feature which controls the extension installation. If this feature is not installed, the file associations is not made.

NoteThis combo box shows only features which contains the extension component.

Place extension in a separate feature

When enabling this option a special feature is created for the current extension. Through this feature the extension installation can be controlled.

Installation Behavior

This group allows you to specify when the extension feature is installed:

  • Installed by default - installs the extension feature by default
  • Not installed by default - the extension feature is not installed by default, but the user can still select it for installation through “SetupTypeDlg” dialog
  • Install based on custom condition - installs the extension feature only if the specified condition is true

Show in FileAssociationsDlg dialog

Enabling this option will automatically create for the extension a checkbox on “FileAssociationsDlg” predefined dialog . It will also add the required control events so the checkbox controls the extension feature installation.

Caution!Only one extension should be associated with each ProgID.

https://techidaily.com

Did you find this page useful?

Please give it a rating:

Thanks!

Report a problem on this page

Information is incorrect or missing

Information is unclear or confusing

Something else

Can you tell us what’s wrong?

Send message

Also read:

  • Title: Comprehensive Guide to Utilizing Extension Attributes in Software Development
  • Author: David
  • Created at : 2024-10-09 04:17:24
  • Updated at : 2024-10-10 21:57:14
  • Link: https://fox-zaraz.techidaily.com/comprehensive-guide-to-utilizing-extension-attributes-in-software-development/
  • License: This work is licensed under CC BY-NC-SA 4.0.