I am trying to use the InstallShield MSBuild task to create an installer on our build machine and put the output in a folder for removal. I can create an installer, but it remains in the source tree.
I tried to use OutDirin the task. This worked on my local machine, but it changes the actual .ism file; therefore, a crash on the build machine.
Next, I tried to use TaggedOutputsItemGroup. I'm just not sure how to make it work. I do not see any changes in my release. Here is my script:
<ItemGroup>
<TaggedOutputs Include="P:\">
<Name>AvApp</Name>
<OutputGroup>Primary output</OutputGroup>
<TargetPath>My Test Exe.exe</TargetPath>
</TaggedOutputs>
</ItemGroup>
<InstallShield Project="R:\src\Setup\AvSetup\AvSetup.ism"
ProductConfiguration="Product Configuration 1"
ReleaseConfiguration="Release 1"
OutputGroups="$(TaggedOutputs)"
/>
where P is mapped to the target location.
Is my syntax incorrect or is there another tag that I can use? InstallShield Version 2012.