Understanding Component Features and Attributes
Understanding Component Features and Attributes
Table of Contents
- Introduction
- Registration
- Using Advanced Installer
- GUI
- Working with Projects
- Installer Project
* Product Information
* Resources
* Package Definition
* Install Parameters
* Organization
* Search Pane
* Feature Properties
* Component Properties
* Edit Qualified Component And Group Dialog
* Edit Component Policies Dialog
* Feature Picker Dialog
* Builds
* Analytics
* SCCM
* ActiveSync
* Requirements
* User Interface
* System Changes
* Server
* Custom Behavior - Patch Project
- Merge Module Project
- Updates Configuration Project
- Windows Store App Project
- Modification Package Project
- Optional Package Project
- Windows Mobile CAB Projects
- Visual Studio Extension Project
- Software Installer Wizards - Advanced Installer
- Visual Studio integration
- Alternative to AdminStudio/Wise
- Replace Wise
- Migrating from Visual Studio Installer
- Keyboard Shortcuts
- Shell Integration
- Command Line
- Advanced Installer PowerShell Automation Interfaces
- Features and Functionality
- Tutorials
- Samples
- How-tos
- FAQs
- Windows Installer
- Deployment Technologies
- IT Pro
- MSIX
- Video Tutorials
- Advanced Installer Blog
- 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.
Component Properties
General Properties
- GUID
A globally unique ID for this component, version, and language. Every component gets a default GUID at its creation, but you can change it anytime. - Do not register this component with Windows Installer
If this option is selected the component will have an empty GUID, and thus it will not be registered. This means that the component cannot be removed, repaired or patched by the installer. This might be useful if you intend to service/uninstall the component yourself (using a custom action, for instance). - Directory
This is the directory where the component will install. You can change the directory of a component by using the [… ] button, but it must only contain empty folders or registries. - Condition
A Windows Installer condition which is evaluated and the result determines the component’s installation. If the condition is null or is evaluated to false, the component is not installed. Use the [… ] button to edit the conditional statement.
Attributes
- Run From Source Only
The component can only be run from source. - Optional
The component can run locally or from source. - Shared DLL Reference Count
Windows Installer increments the reference count in the shared DLL registry of the component’s key file. - Permanent
This component is not removed during an uninstall. - Transitive
Windows Installer reevaluates the statement from the Condition field after a reinstall. - Never Overwrite
The component is not installed or reinstalled if a key path file or a key path registry entry for the component already exists. This affects only future installers which try to overwrite the component key path; it doesn’t affect already installed resources. - 64-bit Component
This component is marked as a 64-bit component. - Disable registry reflection
This option applies only to 64-bit systems with Windows Installer 4.0. If this option is not enabled for a component, Windows Installer makes the associated registry changes in both 64 and 32-bit registry views. - Uninstall on supersedence (Windows Installer 4.5 or higher)
The installation of a superseding patch can leave behind an unused component on the computer. To avoid this behavior, you can set this option. The same effect can be obtained for all components by setting the MSIUNINSTALLSUPERSEDEDCOMPONENTS property to “1”. - Shared amongst packages (Windows Installer 4.5 or higher)
This option marks the component as shared among multiple packages. In doing so, if a package containing this component is uninstalled, the highest version of it (installed by other packages) will still be shared by Windows Installer. It is enough to mark the component as shared in one package for it to become shared among multiple packages. If the_DisableSharedComponent_ policy is set to “1”, this flag is ignored for all components.
Shared components must have the same component GUID and the same key path resource. Also, their resources must be installed under the same location.
If registry reflection is disabled the changes are performed only in the targeted view.
Additional space
This section allows you to reserve an amount of disk space in any directory that depends on the installation state of a component.
Folder
Specify the destination directory.
Run Local
The number of bytes of disk space to be reserved if the selected component is installed to run locally.
From Source
The number of bytes of disk space to be reserved if the selected component is installed to run from source.
Qualified Components Groups
This section allows you to add the current component to a category of qualified components.
For example, let’s say you have several components that contain resource DLLs with the localized strings for your application. You can group these components into a single category, using the qualified components feature.
Adding the current component to a category.
Use the [New ] button, the “New” list context menu item or press the Insert key while the list control is focused. TheEdit Qualified Component And Group Dialog will be displayed allowing you qualify this component.
Editing the qualified properties
Use the [Edit ] button, the “Edit” list context menu item or press the Space key while the list control is focused. TheEdit Qualified Component And Group Dialog will be displayed allowing you to edit the qualified properties for the current component.
Removing the component from a category
Use the [Remove ] button, the “Remove” list context menu item or press the Delete key while the list control is focused.
Isolated Components
When creating an install package, you can specify if the installer should copy some files used by a certain application, in the application’s folder rather than in a shared location.
Using Isolated Components have the following advantages:
- The application will always use the original files(the files it was installed with).
- Installing other applications that use the same files, but with a higher version, will ensure that the original files are not overwritten.
Isolating a component
Use the [Add… ] button, the “Add…” list context menu item or press the Insert key while the list control is focused. The Component Picker will be displayed allowing you to select a component. The selected component will be isolated with the current one.
Removing an isolated component
Use the [Remove ] button, the “Remove” list context menu item or press the Delete key while the list control is focused.
Topics
- Edit Qualified Component And Group Dialog
Add a component to a group of qualified components. - Edit Component Policies Dialog
Modify the Component Policies
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:
- [New] In 2024, The Insider's Look at Facebook Sharing for YouTube Creators
- Competing to the Best Substitutes for Samsung's Gear 360 for 2024
- Easy Ways to Edit Text Within a PDF Document Using Adobe Acrobat
- Effective SQL Query Substitution Interfaces: Enhancing Data Management
- Explore the Versatile World of IComponents in Software Design
- In 2024, How To Remove iCloud From Apple iPhone SE Smoothly
- Introducing the New Copilot+ PC: Microsoft's Answer to Apple's Powerful M3 MacBooks - Insights From ZDNet
- iSpoofer is not working On Vivo S18 Pro? Fixed | Dr.fone
- Protecting Your Email: A Five-Step Guide to Thwart Gmail Hackers and Enhance Privacy with MalwareFox Insights
- The Ultimate Guide to Choosing a Google Nest Doorbell (Battery) – Expert Reviews
- Title: Understanding Component Features and Attributes
- Author: Steven
- Created at : 2024-10-07 22:54:59
- Updated at : 2024-10-11 00:23:07
- Link: https://fox-zero.techidaily.com/understanding-component-features-and-attributes/
- License: This work is licensed under CC BY-NC-SA 4.0.