Enhancing Your Workflow: Understanding the 'AttachScript' Custom Action Feature
Enhancing Your Workflow: Understanding the ‘AttachScript’ Custom Action Feature
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.
IAttachedScriptFileCustomAction
Declaration
IAttachedScriptFileCustomAction: ICustomAction
Overview
This interface facilitates editing custom action for launching attached script file.
Properties
String AttachedSourceFile - Gets or sets the source path to the custom action executable file.
String ScriptType - Get or sets the script type. Supported values are: javascript, javascript64, vbscript, vbscript64.
String FunctionName - Gets or sets the name of a function JavaScript or VBScript type.
String ActionData - Gets or sets the value of the CustomActionData property. This property can be retrieved as a regular property inside Deferred custom actions and it is available only for DLL, JScript and VBScript custom actions. A common usage scenario is to use the CustomActionData property in Rollback Custom Actions since they are also deferred.
Examples
$advinst = new-object -com AdvancedInstaller
$project = $advinst.CreateProjectS(“architect”)
$custAct = $project.CustomActionsComponent.NewLaunchAttachedScriptFile(“D:\my_script.vbs”)
$custAct.FunctionName = “MyFunction”
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] Free Screen Recorder for Android's Seamless Use for 2024
- [New] The Comprehensible Guide to DJI Inspire 2
- [New] The Essential Guide to Understanding YouTube's Earnings Mechanics (CPM)
- [Updated] 2024 Approved Noble Nine Top DVD Creation Tools, Sierra Edition
- [Updated] The Complete Guide to Upgrading MP4 With Premium SRT Sound
- 2024 Approved Leading 8 Tools for Subtitle-SRT Format Switching
- Can You Trust Pornhub? Essential Tips for Securely Exploring Adult Websites
- Enhancing Visual Content: Mastering the Art of IPatchTarget Imagery
- Hidden Gems in the World of Google Podcasts for 2024
- How to Transfer Text Messages from Samsung Galaxy A54 5G to New Phone | Dr.fone
- Intel Xeon's New Era: Micron Launches High-Capacity 256GB DDR5-8800 MRDIMMs
- Key Characteristics of Components
- Step-by-Step Guide: Uncovering Stealthy Keylogging Threats on Your Windows Machine via Keylogger Scanning Software
- Understanding AppID Configuration: Navigating the AppProperties Tab
- User-Defined Initialization Options Panel for Custom Application Deployment
- Title: Enhancing Your Workflow: Understanding the 'AttachScript' Custom Action Feature
- Author: David
- Created at : 2024-10-04 01:24:00
- Updated at : 2024-10-10 18:00:43
- Link: https://fox-zaraz.techidaily.com/enhancing-your-workflow-understanding-the-attachscript-custom-action-feature/
- License: This work is licensed under CC BY-NC-SA 4.0.