Explore the Versatile World of IComponents in Software Design

Explore the Versatile World of IComponents in Software Design

Steven Lv8

Explore the Versatile World of IComponents in Software Design

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.

IComponent

https://techidaily.com

Declaration

IComponent: IDispatch

https://techidaily.com

Overview

This interface is meant to change properties of a component.

https://techidaily.com

Properties

String Id
Gets or sets the id.

String GUID
Gets or sets the GUID.

Bool SuppressWindowsInstallerRegistration
Gets or sets the property of the component to be registered with Windows Installer. 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.

IDirectory Directory
Gets or sets the directory where the component will be installed.

String Condition Gets or sets the Windows Installer condition which is evaluated.The result determines the component’s installation.

Bool RunFromSourceOnly
Gets or sets option that allows the component to be run only from the source.

Bool Optional
Gets or sets an option that allows the component to be run locally.

Bool SharedDllReferenceCount
Gets or sets an option that allows Windows Installer to increment the reference count in the shared DLL registry of the component’s key file.

Bool Permanent
Gets or sets an option that specifies the component will not be removed during uninstall.

Bool Transitive
Gets or sets an option that allows Windows Installer to re-evaluate the statement from the “Condition” field after a reinstall.

Bool NeverOverwrite
Gets or sets an option that specifies 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.

Bool Is64Bit
Gets or sets an option that specifies if the component is 64 bit.

Bool DisableRegistryReflection
Gets or sets option that 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.

Bool UninstallOnSupersedence
Gets or sets an option that specifies uninstall mode of a superseding patch. Installation of a superseding patch can leave behind an unused component on the computer. To avoid this behavior, you can set this property to true. The same effect can be obtained for all components by setting the MSIUNINSTALLSUPERSEDEDCOMPONENTS property to “1”.

Bool UninstallOnSupersedence
Gets or sets an option that specifies uninstall mode of a superseding patch. Installation of a superseding patch can leave behind an unused component on the computer. To avoid this behavior, you can set this property to true. The same effect can be obtained for all components by setting the MSIUNINSTALLSUPERSEDEDCOMPONENTS property to “1”.

Bool SharedAmongstPackages
Gets or sets an option that 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.

https://techidaily.com

See also

IOrganizationComponent

IAdvinstProjectTypes

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: Explore the Versatile World of IComponents in Software Design
  • Author: Steven
  • Created at : 2024-10-08 19:32:04
  • Updated at : 2024-10-11 02:23:28
  • Link: https://fox-zero.techidaily.com/explore-the-versatile-world-of-icomponents-in-software-design/
  • License: This work is licensed under CC BY-NC-SA 4.0.
On this page
Explore the Versatile World of IComponents in Software Design