Custom DLL Function Call: How to Implement IInstalledDll in Windows
Custom DLL Function Call: How to Implement IInstalledDll in Windows
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
* ICustomAction
* ICustomActionSequence
* IAttachedFileCustomAction
* IAttachedScriptFileCustomAction
* IDotNetCustomAction
* IExeWithWorkingDirectoryCustomAction
* IFileCustomAction
* IInstalledFileCustomAction
* IInstalledScriptFileCustomAction
* IPowershellScriptFile
* IPowershellAttachedScriptFile
* IInstallCertificate
* IUninstallCertificate
* IFileFromPropertyCustomAction
* IScriptFileFromPropertyCustomAction
* IAttachedDllFunctionCallCustomAction
* IInstalledDllFunctionCallCustomAction
* 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.
IInstalledDllFunctionCallCustomAction
Declaration
IInstalledDllFunctionCallCustomAction: ICustomAction
Overview
This interface facilitates editing custom action for calling function from installed native dll .
Properties
IFile InstalledDll - Gets or sets the installed dll file of the custom action.
String FunctionName - Gets or sets the name of a function to call .
String ActionData - Gets or sets the value of the CustomActionData property. This property can be retrieved as a regular property inside Deferred custom actions and it is available only for DLL, JScript and VBScript custom actions. A common usage scenario is to use the CustomActionData property in Rollback Custom Actions since they are also deferred .
Example
$advinst = new-object -com AdvancedInstaller
$project = $advinst.CreateProjectS(“architect”)
$dllFile = $project.FilesComponent.AddFileS(“appdir\my_app”, “D:\test.dll”)
$custAct = $project.CustomActionsComponent.NewInstalledNativeDllFunctionCall($dllFile)
$custAct.FunctionName = “ExecuteTest”
Copy
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:
- [Fixed] Screen Share Problem Between Laptop & TV
- [New] In 2024, Webcam Creation Video Making for Mac Users
- [Updated] Crafting Universal Streams for YouTube & Beyond Networks
- Effortlessly Crafting Editable PDF Forms: No Adobe Required!
- Expert Tips on Adding YT Playlists to Your Website Content
- Exploring the Power of ICOM Classes: Unlocking New Career Opportunities
- Guide to Generating Effective File/Folder Associations for Streamlined Installation Processes
- How to Downgrade iPhone 6 to an Older iOS Version? | Dr.fone
- How to Remove and Reset Face ID on Apple iPhone XS Max
- In 2024, How to Transfer Contacts from OnePlus Ace 2V to Other Android Devices Devices? | Dr.fone
- In 2024, Ignite Interest with Your Own Solo Podcast Series
- Instagram Stories – Mastering the Art of Time Manipulation
- Next-Level Scripting: Unlocking the Full Potential of Installer PowerShell APIs
- Speedy Techniques for Instant Whiteness: Transforming Online Background Colors with Ease
- Step-by-Step Guide: Casting Your Android Screen Onto a Samsung Smart TV
- The Ultimate List of Top Free Photo Editing Tools on Android
- Top 10 Screen Recording Tools for Windows 11: Free and Premium Options Explored
- Top-Rated Free and Premium Background Replacement Apps
- Winning the Battle Against Video TDR Problems and atikmpag.sys on Windows 10: A Comprehensive Guide
- Title: Custom DLL Function Call: How to Implement IInstalledDll in Windows
- Author: Michael
- Created at : 2024-10-05 22:27:28
- Updated at : 2024-10-11 00:34:24
- Link: https://fox-making.techidaily.com/custom-dll-function-call-how-to-implement-iinstalleddll-in-windows/
- License: This work is licensed under CC BY-NC-SA 4.0.