- 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
- How-tos
- FAQs
- Windows Installer
- Deployment Technologies
- IT Pro
- MSIX
- Video Tutorials
- Advanced Installer Blog
- 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
- How-tos
- FAQs
- Windows Installer
- Deployment Technologies
- IT Pro
- MSIX
- Video Tutorials
- Advanced Installer Blog
- Table of Contents
IAttachedFileCustomAction
Declaration
IAttachedFileCustomAction : ICustomAction
Overview
This interface facilitates editing custom action for launching attached executable file.
Properties
String AttachedSourceFile - Gets or sets the source path to the custom action executable file.
String CommandLine - Get or sets the command line arguments for launching executable file.
Examples
$advinst = new-object -com AdvancedInstaller $project = $advinst.CreateProjectS(“architect”) $custAct = $project.CustomActionsComponent.NewLaunchAttachedFile("D:\my_tool.exe") $custAct.CommandLine = "command line arguments"