From 9acec081a44fe467f017575941891e72c99540df Mon Sep 17 00:00:00 2001 From: deepend Date: Fri, 13 Feb 2026 20:40:48 -0700 Subject: [PATCH] Fixed installer detection to evaluate IsccPath safely when the path contains spaces by changing the existence check to Exists('$(IsccPath)'). Fixed ISCC path normalization by trimming surrounding quotes from ZOITECHAT_ISCC_PATH and storing discovered default paths unquoted (so they can be checked reliably with Exists(...)). Fixed installer invocation by quoting $(IsccPath) at execution time in the pre-build command, which supports paths like C:\Program Files (x86)\Inno Setup 6\ISCC.exe --- win32/installer/installer.vcxproj | 2 +- win32/zoitechat.props | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/win32/installer/installer.vcxproj b/win32/installer/installer.vcxproj index 9e253363..952cae64 100644 --- a/win32/installer/installer.vcxproj +++ b/win32/installer/installer.vcxproj @@ -39,7 +39,7 @@ SET SOLUTIONDIR=$(SolutionDir)..\ if not exist "$(ZoiteChatBin)" mkdir "$(ZoiteChatBin)" powershell -File "$(SolutionDir)..\win32\version-template.ps1" "$(SolutionDir)..\win32\installer\zoitechat.iss.tt" "$(ZoiteChatBin)zoitechat.iss" -$(IsccPath) /dPROJECTDIR="$(ProjectDir)" /dAPPARCH="$(Platform)" "$(ZoiteChatBin)zoitechat.iss" +"$(IsccPath)" /dPROJECTDIR="$(ProjectDir)" /dAPPARCH="$(Platform)" "$(ZoiteChatBin)zoitechat.iss" ]]> diff --git a/win32/zoitechat.props b/win32/zoitechat.props index 89993a6e..0de6b941 100644 --- a/win32/zoitechat.props +++ b/win32/zoitechat.props @@ -33,7 +33,7 @@ false true false - true + true false $(DepsRoot)\include\luajit-2.1;$(DepsRoot)\include\lua;$(DepsRoot)\include\lua5.1;$(DepsRoot)\include\lua54;$(DepsRoot)\include\lua5.4;$(DepsRoot)\include\lua-5.4;$(SolutionDir)..\plugins\lua\luajit\src;$(SolutionDir)..\plugins\lua\luajit\src\jit hclua