Skip to content

Commit 361aa53

Browse files
committed
build: run wix tool chain out of process
Building MSIs for different arch's can sometimes confuse MSBuild and Wix, isntead run the toolchain externally so we don't have to worry about which arch cmd.exe is running as.
1 parent f6ba61b commit 361aa53

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tools/msvs/msi/nodemsi.wixproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,11 @@
5858
</ItemGroup>
5959
<Import Project="$(WixTargetsPath)" />
6060
<Target Name="BeforeBuild">
61-
<HeatDirectory ToolPath="$(WixToolPath)" Directory="..\..\..\deps\npm" PreprocessorVariable="var.NpmSourceDir" DirectoryRefId="NodeModulesFolder" ComponentGroupName="NpmSourceFiles" GenerateGuidsNow="true" SuppressFragments="false" OutputFile="..\..\..\npm.wxs">
61+
<HeatDirectory ToolPath="$(WixToolPath)" Directory="..\..\..\deps\npm" PreprocessorVariable="var.NpmSourceDir" DirectoryRefId="NodeModulesFolder" ComponentGroupName="NpmSourceFiles" GenerateGuidsNow="true" SuppressFragments="false" OutputFile="..\..\..\npm.wxs" RunAsSeparateProcess="true">
6262
</HeatDirectory>
6363
</Target>
6464
<PropertyGroup>
6565
<PostBuildEvent>move "!(TargetPath)" "$(TargetDir)\$(TargetFileName)"
6666
move "!(TargetPdbPath)" "$(TargetDir)\$(TargetPdbName)"</PostBuildEvent>
6767
</PropertyGroup>
68-
</Project>
68+
</Project>

0 commit comments

Comments
 (0)