Execute Command in Custom Directory - Efficient File Management
Execute Command in Custom Directory - Efficient File Management
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:
- [New] Graphical Grandeur Radeon's Return for 2024
- [New] In 2024, Step-by-Step Process to Create Impressive GoPro Timelapses
- [Updated] Gentle Audio Dimming Methods in OS X/Windows
- [Updated] In 2024, Perfectly Positioned Cards YouTube Embedding Techniques
- Continuous Media Gatherers
- Find Folders Quickly with Smart Search Locator
- In 2024, Unlocking Creativity in YouTube Video Splitting
- Practical Methods for Retrieving Sound From MP4 Videos
- Selecting Secure Queries: Essential Tips for Optimal Account Protection
- Supreme Display Quality #Top 10 Ranking of 4K Screens
- The Ultimate Guide: Alternative Apps to Samsung Kies for Seamless Android File Handling
- Troubleshooting Lag in the Latest 'Avatar: The Game'
- Ultimate Collection of No-Cost Online Music Libraries You Can Trust
- Visual Learning Tips for Video Editing in Schools
- Title: Execute Command in Custom Directory - Efficient File Management
- Author: Michael
- Created at : 2024-10-03 16:58:34
- Updated at : 2024-10-10 22:40:27
- Link: https://fox-web3.techidaily.com/execute-command-in-custom-directory-efficient-file-management/
- License: This work is licensed under CC BY-NC-SA 4.0.