diff options
-rw-r--r-- | src/wix/WixToolset.Sdk/tools/wix.targets | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/wix/WixToolset.Sdk/tools/wix.targets b/src/wix/WixToolset.Sdk/tools/wix.targets index 9d820c9c..e2a02644 100644 --- a/src/wix/WixToolset.Sdk/tools/wix.targets +++ b/src/wix/WixToolset.Sdk/tools/wix.targets | |||
@@ -663,7 +663,9 @@ | |||
663 | 663 | ||
664 | RunAsSeparateProcess="$(RunWixToolsOutOfProc)" | 664 | RunAsSeparateProcess="$(RunWixToolsOutOfProc)" |
665 | ToolExe="$(WixToolExe)" | 665 | ToolExe="$(WixToolExe)" |
666 | ToolPath="$(WixToolDir)" /> | 666 | ToolPath="$(WixToolDir)"> |
667 | <Output TaskParameter="ExitCode" PropertyName="_WixBuildExitCode" /> | ||
668 | </WixBuild> | ||
667 | 669 | ||
668 | <ItemGroup> | 670 | <ItemGroup> |
669 | <_WixBuildOutputFile Include="$(IntermediateOutputPath)%(CultureGroup.OutputFolder)$(TargetFileName)" /> | 671 | <_WixBuildOutputFile Include="$(IntermediateOutputPath)%(CultureGroup.OutputFolder)$(TargetFileName)" /> |
@@ -673,7 +675,7 @@ | |||
673 | <Target | 675 | <Target |
674 | Name="WindowsInstallerValidation" | 676 | Name="WindowsInstallerValidation" |
675 | DependsOnTargets="CoreCompile" | 677 | DependsOnTargets="CoreCompile" |
676 | Condition=" ('$(OutputType)' == 'Package' or '$(OutputType)' == 'Module') and '$(SuppressValidation)'!='true' "> | 678 | Condition=" '$(_WixBuildExitCode)' != '' and '$(SuppressValidation)' != 'true' and ('$(OutputType)' == 'Package' or '$(OutputType)' == 'Module') "> |
677 | <WindowsInstallerValidation | 679 | <WindowsInstallerValidation |
678 | DatabaseFile="$(IntermediateOutputPath)%(CultureGroup.OutputFolder)$(TargetFileName)" | 680 | DatabaseFile="$(IntermediateOutputPath)%(CultureGroup.OutputFolder)$(TargetFileName)" |
679 | WixpdbFile="$(IntermediateOutputPath)%(CultureGroup.OutputFolder)$(TargetPdbFileName)" | 681 | WixpdbFile="$(IntermediateOutputPath)%(CultureGroup.OutputFolder)$(TargetPdbFileName)" |