Understanding IRegistryKey: The Key Concepts You Need to Know
Understanding IRegistryKey: The Key Concepts You Need to Know
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.
IRegistryKey
This interface is used to navigate the keys added in a project, modifies key properties and adds or deletes values.
Declaration
IRegistryKey : IDispatch
Properties
String FullPath - Gets the full path of the registry key.
String Name - Gets or sets the registry key name.
String RootName - Gets the registry key root name.
IRegistryKey ParentKey - Gets the parent key of the current registry key.
Array<**IRegistryKey **> - Gets all child keys of the registry key.
Array<**IRegistryValue **>Values - Gets all values from registry key.
Bool CreateIfAbsentAtInstall - Gets or sets the flag “Create if(absent) at install”
Bool DeleteIfPresentAtUninstall - Gets or sets the flag “Delete (if present) at uninstall”.
Methods
CreateKey(String name) returns IRegistryKey
This method creates a new key with the specified name.
$b.RegistryComponent.CurrentUserOrLocalMachine.FullPath
$b.RegistryComponent.CurrentUserOrLocalMachine.CreateKey(“test”)
Copy
**CreateValueStringPrepend(String name, String data = “”)**returns IRegistryValue
This method creates a new value with the specified name. The data can be specified or the default value is added. The data will be prepended.
CreateValueStringAppend(String path) returns IRegistryValue
This method creates a new value with the specified name. The data can be specified or the default value is added. The data will be appended.
CreateValueStringReplace(String path, Bool is64Bit) returns IRegistryValue
This method creates a new value with the specified name. The data can be specified or the default value is added. The data will be replaced.
**CreateValueExpandableString(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.
CreateValueInteger(String path, String data) returnsIRegistryValue
This method creates a new value at the specified path. The data has to be specified, there is no default value.
CreateValueInteger(String path, String data) returnsIRegistryValue
This method creates a new value at the specified path. The data has to be specified, there is no default value.
**CreateValueBinary(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.
DeleteValue(IRegistryValue valueToDelete)
This method deletes the specified registry value.
DeleteKey(IRegistryKey keyToDelete)
This method deletes the specified registry key.
**DeleteAllValues()**This method deletes all values.
DeleteAllKeys()
This method deletes all keys.
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] 2024 Approved Top 10 Most Subscribed YouTuber in the World
- [New] GameBoy Advance Mastered Android Emulator Selection
- [New] Quick Cover Art Crafting for Fighting Games
- [Updated] Subscriber-Led Achievement Awards in Content Space
- Comprehensive Overview of Item Features & Attributes
- Distinguishing Features in Top-Tier Services
- Download & Update Intel's NVMe Drivers in Minutes: Expert Tips
- Eliminating Unwanted Default Search Changes: A Tutorial with MalwareFox Solutions
- Ensure Safe Entry: The Basics of Effective Authentication Methods
- Fix: Guide to Troubleshoot Function Keys in Win 11
- In 2024, Bringing Vision to Life The Art of Post-Color Enhancement
- In 2024, How To Leave a Life360 Group On Nubia Red Magic 9 Pro+ Without Anyone Knowing? | Dr.fone
- In 2024, Unlocking the Power of Smart Lock A Beginners Guide for Samsung Galaxy S23 Ultra Users
- Intelligent Mobile Browsing with Bing - Elevate Your Android and iOS Experience Through AI Innovation!
- Managing Short-Term File Tasks on Windows Explorer's Directory Pages
- Quick Guide: How to Effortlessly Add Audio Content to macOS iTunes
- Save Your Footage! How to Retrieve Deleted Content From Sony Handycam
- Step-by-Step Tutorial: Implementing a USB Flash Drive Antivirus Solution
- Tab Configuration Files: Setup Guidelines
- Title: Understanding IRegistryKey: The Key Concepts You Need to Know
- Author: Jason
- Created at : 2024-10-08 16:55:07
- Updated at : 2024-10-11 01:05:06
- Link: https://fox-useful.techidaily.com/understanding-iregistrykey-the-key-concepts-you-need-to-know/
- License: This work is licensed under CC BY-NC-SA 4.0.