win/msi: make msi build work when spaces are present in the path
authorBert Belder <bertbelder@gmail.com>
Mon, 4 Mar 2013 18:47:05 +0000 (19:47 +0100)
committerBert Belder <bertbelder@gmail.com>
Mon, 4 Mar 2013 18:47:05 +0000 (19:47 +0100)
tools/msvs/msi/nodemsi.wixproj

index 224db82..b1ecbdb 100644 (file)
@@ -62,7 +62,7 @@
     </HeatDirectory>
   </Target>
   <PropertyGroup>
-    <PostBuildEvent>move !(TargetPath) $(TargetDir)\$(TargetFileName)
-move !(TargetPdbPath) $(TargetDir)\$(TargetPdbName)</PostBuildEvent>
+    <PostBuildEvent>move "!(TargetPath)" "$(TargetDir)\$(TargetFileName)"
+move "!(TargetPdbPath)" "$(TargetDir)\$(TargetPdbName)"</PostBuildEvent>
   </PropertyGroup>
 </Project>
\ No newline at end of file