I'm working on replacing a Wix Msi project with an Advanced Installer project.
I've run into a Target in the .wixproj file that looks like this:
<Target Name="CreateSolutionInstallerConfigFile">
<Copy SourceFiles="Configuration\Setup\SPSolutions.SharePoint.SolutionInstaller.exe.config.template" DestinationFiles="Configuration\Setup\SPSolutions.SharePoint.SolutionInstaller.exe.config" />
<MSBuild.ExtensionPack.Xml.XmlFile TaskAction="UpdateAttribute" File="Configuration\Setup\SPSolutions.SharePoint.SolutionInstaller.exe.config" XPath="/configuration/spSolutions.solutionInstaller/deploymentPlans/deploymentPlan[@name='ExCM']/solutions/solution[@id='{5d85f35b-15e7-4625-8eff-b5c64f3abe4d}']" Key="version" Value="$(ProductVersion)" />
<ItemGroup>
<Content Include="Configuration\Setup\SPSolutions.SharePoint.SolutionInstaller.exe.config" />
</ItemGroup>
</Target>
What this is doing, I believe, is making a copy of an XML file and saving it under a new name and then using MSBuild.ExtensionPack to edit an element in the copied file. Then, the copied and edited file gets deployed by the installer, rather than the original file, which is intended to serve as a template for this task.
What feature(s) in AI would I use to accomplish this same thing?
Thanks,
Jeff