Quantcast
Channel: MSBuild forum
Viewing all articles
Browse latest Browse all 2763

InstallShield Path Variable Overrides not working in .isproj file when building with MSBuild.

$
0
0

Currently we're using MSBuild to build an InstallShield .isproj file.  However, in the .isproj file I have a path overrides that doesn't seem to be, well, overriding.  I'm posting this here in hopes that maybe someone from the MSBuild side of things may have some suggestions.

I have the following in my .isproj file:

<ItemGroup>
<!-- The InstallShieldProject item selects the project to build -->
<InstallShieldProject Include="$(MSBuildProjectDirectory)\$(MSBuildProjectName).ism"/>
<InstallShieldPathVariableOverrides Include="$(OutDir)">
<PathVariable>TFSOutputDir</PathVariable>
</InstallShieldPathVariableOverrides>
</ItemGroup>

No matter what I try, "TFSOutputDir" will not get overridden. I tried replacing, "OutDir" with "OutputPath" and that didn't work either.

I'm running this against MSBuild, the version is 12.0, and I'm queuing the build through the web interface of TFS 2015.

Thanks.



Viewing all articles
Browse latest Browse all 2763


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>