Innovative IRegistry Component Solutions – Streamlining System Configuration and Access Control
Innovative IRegistry Component Solutions – Streamlining System Configuration and Access Control
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
* IRegistryKey
* IRegistryValue
* IInstallParameters
* IBuildComponent
* ITextFileUpdatesComponent
* ITextUpdateFile
* ITextUpdateAppendOrCreate
* ITextUpdateReplace
* IFileAssociations
* IDefaultProgramFA
* IExtensionFA
* IProgIdFA
* IVerbFA
* IEnvironment
* IEnvironmentVariable
* IProductCode
* IUpgradeCode
* IMergeModulesComponent
* IMergeModule
* IDigitalSignature
* ICustomActionsComponent
* ITranslationsComponent
* IDriversComponent
* ISearch
* IServices
* IOrganizationComponent
* 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.
IRegistryComponent
This component gives access to registry keys, imports files and also creates keys and values with the specified path.
Declaration
IRegistryComponent : IDispatch
Properties
IRegistryKey CurrentUserOrLocalMachine - Gets the custom registry hive for current user or local machine.
IRegistryKey HKClassesRoot - Gets the registry hive for classes root.
IRegistryKey HKCurrentUser - Gets the registry hive for current user.
IRegistryKey HKLocalMachine - Gets the registry hive for local machine.
IRegistryKey HKUsers - Gets the registry hive for user.
IRegistryKey HKCurrentConfig - Gets the registry hive for current config.
Methods
$a = New-Object -comobject AdvancedInstaller
$b = $a.CreateProject()
$b.RegistryComponent.CurrentUserOrLocalMachine.Keys
Copy
**FindKeyByPath(String path)**- returns IRegistryKey
This method searches at the specified path and the key is returned if found.
**FindKeyByName(String name)**- returns Array<IRegistryKey >
This method searches for all the keys with the specified name and returns an array containing all the matching keys.
$b.RegistryComponent.FindKeyByName(“[ProductName]”)
Copy
CreateKeyByPath(String path) - returns IRegistryKey
This method creates a new key at the specified path.
ImportRegistryFile(String path, Bool is64Bit)
This method imports a registry file from disk.
**CreateValueStringPrependByPath(String path, String data = “ ”)**- returns IRegistryValue
This method creates a new value at the specified path. The data can be specified or the default value is added. The data will be prepended.
CreateValueStringAppendByPath(String path, String data = “ ”) - returns IRegistryValue
This method creates a new value at the specified path. The data can be specified or the default value is added. The data will be appended.
**CreateValueStringReplaceByPath(String path, String data = “ ”)**- returns IRegistryValue
This method creates a new value at the specified path. The data can be specified or the default value is added. The data will be replaced.
**CreateValueExpandableStringByPath(String path, String data = “ ”)**- returns IRegistryValue
This method creates a new value at the specified path. The data can be specified or the default value is added.
**CreateValueIntegerByPath(String path, String data)**- returns IRegistryValue
This method creates a new value at the specified path. The data has to be specified, there is no default value.
**CreateValueBinaryByPath(String path, String data = “ ”)**- returns IRegistryValue
This method creates a new value at the specified path. The data can be specified or the default value is added.
Topics
- IRegistryKey
Registry Key interface - IRegistryValue
Registry Value interface
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, Strategic Podcast Drop Dates
- [Updated] Engaging in Larger-Than-Life FB Videos
- 「Windows Server 2012における回復環境起動方法 - 最適解説2つ」
- Fast & Efficient Techniques for a Rapid Computer Revamp - The 7 Best Ways!
- Haunted Too | Free Book
- How to Overcome 'Samsung Data Migration Failed to Begin': Effective Strategies & Options
- In 2024, Innovative Approaches to PPT Video Captures
- In 2024, PlaybackQuality Diagnosis
- Metodo Facile per Il Restauro Delle Caratteristiche Del Sistema in Windows Con Meno Spazio
- Social Media Essentials for Digital Age: From Facebook to YouTube
- Update Your PC: Essential Realtek Card Reader Drivers for Windows 11
- Windows 11 Ultimate Guide: How to Clone Your Hard Drive Onto a SanDisk SSD
- パーソナル画像バックアップのための必見5選!: どうするべきか?詳細な用途対比とポジティブ点探究
- Title: Innovative IRegistry Component Solutions – Streamlining System Configuration and Access Control
- Author: Kenneth
- Created at : 2024-11-16 23:06:09
- Updated at : 2024-11-22 04:41:53
- Link: https://fox-sys.techidaily.com/innovative-iregistry-component-solutions-streamlining-system-configuration-and-access-control/
- License: This work is licensed under CC BY-NC-SA 4.0.