Actually fix powershell paths

This commit is contained in:
Cyberboss
2017-11-11 15:04:32 -05:00
parent e34d8af43b
commit 402cde208c
@@ -69,10 +69,13 @@
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\Wix.targets" Condition=" '$(WixTargetsPath)' == '' AND Exists('$(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\Wix.targets') " />
<Target Name="EnsureWixToolsetInstalled" Condition=" '$(WixTargetsImported)' != 'true' ">
<Error Text="The WiX Toolset v3 build tools must be installed to build this project. To download the WiX Toolset, see http://wixtoolset.org/releases/" />
</Target>
<Target Name="AfterResolveReferences">
<Exec Command="powershell -Command &quot;$(SolutionDir)Tools/SignBasics.ps1&quot;" />
</Target>
</Target>
<Target Name="AfterResolveReferences">
<Exec Command="$(PreBuildEventCommand)" />
</Target>
<PropertyGroup>
<PreBuildEventCommand>powershell -Command "&amp; \"$(SolutionDir)Tools/SignMSI.ps1\""</PreBuildEventCommand>
</PropertyGroup>
<PropertyGroup>
<PostBuildEvent>powershell -Command "$(SolutionDir)Tools/SignMSI.ps1"</PostBuildEvent>
</PropertyGroup>