Custom Interactive Actions for Enhanced User Experience
Custom Interactive Actions for Enhanced User Experience
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.
ICustomAction
Declaration
ICustomAction : IDispatch
Overview
This is meant to edit base custom action object.
Properties
String Name - Gets or sets the name.
Bool RunUnderLocalSystemAccount - Gets or sets Run under the LocalSystem account with full privileges (no impersonation) flag.
Bool WaitToFinish - Gets or sets the property of a custom action to execute asynchronous.
Bool FailInstallationIfReturnsError - Gets or sets the property of a custom action to cause installation fail on execution error.
String ExecutionTime - Gets or sets the installation execution time. Supported values are: “Immediate”, “Deferred”, “Rollback”, “Commit”.
ICustomActionSequence UiSequenceCondition - Gets the object that ease editing condition for execution on the “Dialogs Stage”.
ICustomActionSequence ExecuteSequenceCondition - Gets the object that ease editing condition for execution on the execution on the “Install Execution Stage”.
Methods
CreateUiSequence(String aActionName) - Add sequence in the “Dialogs Stage” for execution after a specified action name.
RemoveUiSequence() - Removes UI sequence.
CreateExecuteSequence(String aActionName) - Add sequence in the “Install Execution Stage” for execution after a specified action name.
RemoveExecuteSequence() - Removes execution sequence.
Example
$advinst = new-object -com AdvancedInstaller
$project = $advinst.CreateProjectS(“architect”)
$appFile = $project.FilesComponent.AddFileS(“appdir”, “D:\MyApp.exe”)
$custAct = $project.CustomActionsComponent.NewLaunchInstalledFile($appFile)
$custAct.WaitToFinish = $true
$custAct.RunUnderLocalSystemAccount = $true
$custAct.CommandLine = “/RegServer”
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] 2024 Approved Direct Route Uploading From YouTube to Dailymotion
- [Updated] 2024 Approved How to Extract Audio From Tweets and Save as MP3s
- [Updated] In 2024, Innovative Techniques for Engaging IGTV Thumbnails
- [Updated] In 2024, Pioneers in the Realm of Multimedia Synergy
- A Comprehensive Guide to the Top 5 Online Collage Tools – Both Gratis and Subscription-Based Options
- Building a Personalized Docker Repackaging Container Image Guide
- Comprehensive Product Overview: Essential Details Unveiled
- Effortless Methods to Incorporate Images Into Videos: A Three-Step Guide
- Exploring How IMsixDriver Relies on Supportive Components: A Detailed Guide
- How Can I Determine If Someone Has Accessed My Gmail Account Illegally? Discover the Signs & Follow Our Step-by-Step Guide!
- Huawei P30's Top 4 Display Sharing Software Alternatives to Enhance Your Experience
- In 2024, How to Migrate Android Data From Nokia C300 to New Android Phone? | Dr.fone
- Master the Art of Reducing Personalized Marketing Efforts Online
- Navigating the LunaPic Interface Like a Pro
- Preparation to Beat Giovani in Pokemon Go For Itel A60s | Dr.fone
- Quick Download: HP ENVY 5055 Laptop Drivers – Get Them Fast
- Seamless Transfer: Moving Your iPhone Contacts Over to a Mac
- Troubleshooting the Detected Security Violation in Gaming Applications
- Ultimate Selection of Windows 11'S Best Screen Mirroring Software Reviewed
- Title: Custom Interactive Actions for Enhanced User Experience
- Author: Joseph
- Created at : 2024-10-06 22:19:14
- Updated at : 2024-10-11 03:52:29
- Link: https://fox-sure.techidaily.com/custom-interactive-actions-for-enhanced-user-experience/
- License: This work is licensed under CC BY-NC-SA 4.0.