Custom File Handling Actions: Mastering IAttachedFile

Custom File Handling Actions: Mastering IAttachedFile

Michael Lv8

Custom File Handling Actions: Mastering IAttachedFile

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.

IAttachedFileCustomAction

https://techidaily.com

Declaration

IAttachedFileCustomAction : ICustomAction

https://techidaily.com

Overview

This interface facilitates editing custom action for launching attached executable file.

https://techidaily.com

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.

https://techidaily.com

Examples

$advinst = new-object -com AdvancedInstaller
$project = $advinst.CreateProjectS(“architect”)
$custAct = $project.CustomActionsComponent.NewLaunchAttachedFile(“D:\my_tool.exe”)
$custAct.CommandLine = “command line arguments”

Copy

See also

ICustomActionsComponent

ICustomAction

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:

  • Title: Custom File Handling Actions: Mastering IAttachedFile
  • Author: Michael
  • Created at : 2024-10-27 20:20:07
  • Updated at : 2024-10-28 18:46:12
  • Link: https://fox-where.techidaily.com/custom-file-handling-actions-mastering-iattachedfile/
  • License: This work is licensed under CC BY-NC-SA 4.0.