summary refs log tree commit diff stats
path: root/win32/installer
diff options
context:
space:
mode:
authorArnavion <arnavion@gmail.com>2014-03-18 10:44:53 -0700
committerArnavion <arnavion@gmail.com>2014-03-18 10:44:53 -0700
commit4cc764256c55c7b1da3f43750e76a45e6a593d94 (patch)
tree934fa575c919b104ea24938ed1718f3c3a724ab5 /win32/installer
parent36950c0d46da62b4c5a8d272f2fd0945c0c866e1 (diff)
win32: Powershell.exe absolutely needs "-File" when running scripts or else it parses arguments with spaces as separate parameters.
Diffstat (limited to 'win32/installer')
-rw-r--r--win32/installer/installer.vcxproj2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/installer/installer.vcxproj b/win32/installer/installer.vcxproj
index 0e46f373..ad0d1a66 100644
--- a/win32/installer/installer.vcxproj
+++ b/win32/installer/installer.vcxproj
@@ -64,7 +64,7 @@
       <Command>

       <![CDATA[

 SET SOLUTIONDIR=$(SolutionDir)..\

-powershell "$(SolutionDir)..\version-template.ps1" "$(SolutionDir)..\win32\installer\hexchat.iss.tt" "$(SolutionDir)..\win32\installer\hexchat.iss"

+powershell -File "$(SolutionDir)..\version-template.ps1" "$(SolutionDir)..\win32\installer\hexchat.iss.tt" "$(SolutionDir)..\win32\installer\hexchat.iss"

 del "$(OutDir)hexchat.iss"

 type hexchat.iss >> "$(OutDir)hexchat.iss"

 $(IsccPath) /dPROJECTDIR="$(ProjectDir)" /dAPPARCH="$(Platform)" "$(OutDir)hexchat.iss"