Building Personalized Actions with .NET - An Intuitive Guide
Building Personalized Actions with .NET - An Intuitive Guide
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.
IDotNetCustomAction
Declaration
IDotNetCustomAction : ICustomAction
Overview
This is a custom action that launches a .NET Assembly. The assembly must have a class that inherits the Installer class with the RunInstaller attribute set to true.
Properties
IFile AssemblyFile - Gets or sets the .net assembly file to the custom action executable file that will be launched with the specified parameters.
String ConfigFilePath - Get or sets the path that represents the location where the .NetCustActLauncher will create the assembly’s configuration file. The configuration file contains the .NetFramework required version..
Array
Methods
AddParameter(String aName, String aValue) returns INetParameter - Creates and adds new parameter to custom action parameters collection.
RemoveParameter(INetParameter aParameter) - Removes and destroys the specified parameter.
Examples
$advinst = new-object -com AdvancedInstaller
$project = $advinst.CreateProjectS(“architect”)
$dllFile = $project.FilesComponent.AddFileS(“appdir”, “D:\DotNetCustomAction.dll”)
$custActs = $project.CustomActionsComponent.NewLaunchInstalledFile($dllFile)
There are 2 custom actions because “DotNetCustomAction.dll” is build for “Any CPU” platform
$custActs[0].ConfigFilePath = “[TempFolder]DotNetCustomAction.dll_Config.xml”
$custActs[0].AddParameter(“new parameter”, “parameter value”)
$custActs[1].ConfigFilePath = “[TempFolder]DotNetCustomAction.dll_Config.xml”
$custActs[1].AddParameter(“new parameter”, “parameter value”)
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:
- [New] Craft Your Ideal Video Experience on Vimeo Through Plan Selection
- [New] Exploring CamStudio's Impact on Video Capture - 2023 Edition
- [New] In 2024, Elevating Your Channel Maximizing AdSense on YouTube
- [New] Leading Streaming Programs for Live Content
- [New] Navigating the Mobile Journey to Launch a YouTube Channel
- [Updated] In 2024, Non-Vimeo Powerhouses for Video Content Creation
- 1. Expert Guide: Seamlessly Streaming Your iPhone Screen Onto Your Television
- 2024 Approved Transform Overload Into Order with Skillful TikTok Saves Edits
- Advanced IIS Settings Configuration Panel
- Comprehensive Guide Free & Paid Tools for Noise Reduction for 2024
- Defending Your Messages: A Comprehensive Guide to Safeguard WhatsApp Against Unauthorized Access
- Downloading and Installing SteelSeries Arctis 5 Headset Drivers Easily
- Mastering the Capture of Your Roblox Adventures - Compatible with Windows, Mac, iPad and More
- Navigating Group License Agreements: Streamlined Solutions for Teams
- Retrieve Lost Correspondence: A Step-by-Step Guide to Restoring Deleted Messages in Microsoft Outlook
- The Best 2022 Software Solutions for Professional Passport Picture Edits
- TinyTake Screen Recorder Review and Alternative
- Top Picks for Enhancing Your Images with Perfect Backgrounds - Online Guides
- Understanding Condition-Based Prompting in User Interfaces
- Title: Building Personalized Actions with .NET - An Intuitive Guide
- Author: Charles
- Created at : 2024-10-08 18:49:47
- Updated at : 2024-10-10 17:20:49
- Link: https://fox-tips.techidaily.com/building-personalized-actions-with-net-an-intuitive-guide/
- License: This work is licensed under CC BY-NC-SA 4.0.