Run Commands Within Specific Folder Paths - Advanced Workflow Setup
Run Commands Within Specific Folder Paths - Advanced Workflow Setup
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.
IExeWithWorkingDirectoryCustomAction
Declaration
IExeWithWorkingDirectoryCustomAction : ICustomAction
Overview
This interface facilitates editing custom action for launching existing executable file on the disk. The file has a designated folder as Working Directory .
Properties
String FilePath - Gets or sets the path to the executable file.
String CommandLine - Get or sets the command line arguments for launching executable file.
IFolder WorkingDirectory - Get or sets the working directory for launching executable file.
Examples
$advinst = new-object -com AdvancedInstaller
$project = $advinst.CreateProjectS(“architect”)
$project.FilesComponent.AddFileS(“appdir”, “D:\MyApp.exe”)
$dir = $project.FoldersComponent.FindFolderByPath(“appdir”)
$custAct = $project.CustomActionsComponent.NewLaunchExeWithWorkingDirectory($dir)
$custAct.FilePath = “[#MyApp.exe]”
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:
- [Updated] Professionally Recording Every Aspect of Your PPT Presentations
- Clear-Cut Strategies Transferring Your iMovie Work to Vimeo for 2024
- Comprehensive User Manual for Behringer USB Audio Driver Software - Available for Free
- In 2024, Mastering Content Creation Essential Tips for Snapchat Success
- In 2024, Vocal Vanishing Act How to Seamlessly Remove Singers Voice From an Audio Track Using Audacity Tools
- Optimize Your Website: Mastering the Art of Effective Search Engine Strategies
- Sophisticated Strategies for Dynamic Conversational Contexts
- Understanding the Functionality of Contextual Dropdown Menus: A Guide
- Viewing the Epic Arena of Valor Showdown on Your Television Setup
- Title: Run Commands Within Specific Folder Paths - Advanced Workflow Setup
- Author: Jason
- Created at : 2024-10-06 01:00:57
- Updated at : 2024-10-11 05:11:40
- Link: https://fox-useful.techidaily.com/run-commands-within-specific-folder-paths-advanced-workflow-setup/
- License: This work is licensed under CC BY-NC-SA 4.0.