Mastering IComponents: The Building Blocks of Modern Applications
Mastering IComponents: The Building Blocks of Modern Applications
Table of Contents
- Introduction
- Registration
- Using Advanced Installer
- GUI
- Working with Projects
- Installer Project
- 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
* IAdvancedInstaller
* IAdvinstProject
* IProductDetails
* IFolder
* ILaunchConditionsComponent
* IFilesComponent
* IIniFilesComponent
* IShortcut
* ITempFile
* IXmlFile
* IDirectoryMember
* IRegistryComponent
* IInstallParameters
* IBuildComponent
* ITextFileUpdatesComponent
* ITextUpdateFile
* ITextUpdateAppendOrCreate
* ITextUpdateReplace
* IFileAssociations
* IDefaultProgramFA
* IExtensionFA
* IProgIdFA
* IVerbFA
* IEnvironment
* IEnvironmentVariable
* IProductCode
* IUpgradeCode
* IMergeModulesComponent
* IMergeModule
* IDigitalSignature
* ICustomActionsComponent
* ITranslationsComponent
* IDriversComponent
* ISearch
* IServices
* IOrganizationComponent
* IComponent
* IFeature
* IComComponent
* IRemoveFilesComponent
* IRemoveFile
* IUpdatesProject
* IUpdaterComponent
* IPatchProject
* IPropertyComponent
* IProperty
* IPathVariable
* IMsixComponent
* IMsixDependencies
* IMsixDriverDependency
* IMsixDriverConstraint
* IMsixExternalDependency
* IMsixPackageDependency
- 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.
IComponent
Declaration
IComponent: IDispatch
Overview
This interface is meant to change properties of a component.
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.
See also
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] Easy Routines Keeping a Transcript of Google Voice Calls for 2024
- [Updated] 2024 Approved Academic Avenue Leading Educators on YouTube
- [Updated] Unleash Creativity Discover the Top 11 Grading Techniques for Video Editors
- 2024 Approved PickU's Prowess in Android Photo Editing A Thorough Examination
- A Guide to Adjusting Your File Folders' Characteristics via the Properties Panel
- A Guide to Designing Professional Quote Graphics
- Buy Subscribers Wisely, Watch Your Numbers Soar, In 2024
- Comprehensive Analysis of the Oculus Quest 2 Elite Strap & Accessories Set – A Game Changer
- Prank Your Friends! Easy Ways to Fake and Share Google Maps Location On Oppo Reno 10 Pro 5G | Dr.fone
- Sync Your Files with Ease: The Ultimate Guide to Seamless Folder Sync
- The Ultimate List of Top 5 Essential Live Streaming Platforms
- Transform Your Home Networking Game with the Amplifi HD Wireless Mesh Solution – Zero Dead Zones
- Ultimate Strategy: Tips and Tricks for Excelling at Boom Beach on Windows and Mac
- フリーオンライン・ビデオオブジェクトモジュール(VOB)からAudacity形式への移行 - ムヴァヴィ
- Title: Mastering IComponents: The Building Blocks of Modern Applications
- Author: Michael
- Created at : 2024-10-08 04:57:37
- Updated at : 2024-10-10 16:56:21
- Link: https://fox-web3.techidaily.com/mastering-icomponents-the-building-blocks-of-modern-applications/
- License: This work is licensed under CC BY-NC-SA 4.0.