installer: Use correct path to iscc.exe depending on the platform.

This commit is contained in:
Arnavion
2013-11-03 14:46:13 -08:00
parent e8282d97f1
commit 39aec3a45b
2 changed files with 3 additions and 1 deletions

View File

@@ -67,7 +67,7 @@ SET SOLUTIONDIR=$(SolutionDir)..\
$(TextTransformPath) -out "%SOLUTIONDIR%win32\installer\hexchat.iss" "%SOLUTIONDIR%win32\installer\hexchat.iss.tt"
del "$(OutDir)hexchat.iss"
type hexchat.iss >> "$(OutDir)hexchat.iss"
"$(ProgramFiles)\Inno Setup 5\iscc.exe" /dPROJECTDIR="$(ProjectDir)" /dAPPARCH="$(Platform)" "$(OutDir)hexchat.iss"
$(IsccPath) /dPROJECTDIR="$(ProjectDir)" /dAPPARCH="$(Platform)" "$(OutDir)hexchat.iss"
]]>
</Command>
</PreBuildEvent>