IMergeModulesComponent
Declaration
IMergeModulesComponent : IDispatch
Overview
This interface is meant to add a new merge module, delete or edit the existing ones.
Properties
Array<IMergeModule> MergeModules - Gets the collection of project merge modules.
Methods
AddMergeModule(String aSourcePath) returns IMergeModule
Adds a new merge module from the specified file path on the disk.
The file must be a valid merge module.
RemoveMergeModule(IMergeModule aMergeModule)
Removes a specified merge module from the project.
Example
$advinst = new-object -com AdvancedInstaller $prj = $advinst.CreateProjectS("architect") $newMsm = $prj.MergeModulesComponent.AddMergeModule("C:\Program Files (x86)\Common Files\Merge Modules\Microsoft_VC140_DebugMFC_x64.msm")