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"