Updated Windows build props so IsccPath can be set explicitly with ZOITECHAT_ISCC_PATH, then auto-detected across common install locations (ProgramFiles, ProgramFiles(x86), ProgramW6432) before falling back to the default path. This reduces false “iscc.exe not found” skips when Inno Setup is installed in a non-default location.

This commit is contained in:
2026-02-13 20:26:36 -07:00
parent 09e9e7314b
commit 6d101c4e10

View File

@@ -106,7 +106,11 @@
<ZoiteChatLib>$(ZoiteChatBuild)\$(PlatformName)\lib\</ZoiteChatLib>
<ZoiteChatPdb>$(ZoiteChatBuild)\$(PlatformName)\pdb\</ZoiteChatPdb>
<ZoiteChatRel>$(ZoiteChatBuild)\$(PlatformName)\rel\</ZoiteChatRel>
<IsccPath>"$(ProgramFiles)\Inno Setup 6\iscc.exe"</IsccPath>
<IsccPath Condition="'$(IsccPath)'=='' and '$(ZOITECHAT_ISCC_PATH)'!=''">$(ZOITECHAT_ISCC_PATH)</IsccPath>
<IsccPath Condition="'$(IsccPath)'=='' and Exists('$(ProgramFiles)\Inno Setup 6\iscc.exe')">"$(ProgramFiles)\Inno Setup 6\iscc.exe"</IsccPath>
<IsccPath Condition="'$(IsccPath)'=='' and '$(ProgramFiles(x86))'!='' and Exists('$(ProgramFiles(x86))\Inno Setup 6\iscc.exe')">"$(ProgramFiles(x86))\Inno Setup 6\iscc.exe"</IsccPath>
<IsccPath Condition="'$(IsccPath)'=='' and Exists('$(ProgramW6432)\Inno Setup 6\iscc.exe')">"$(ProgramW6432)\Inno Setup 6\iscc.exe"</IsccPath>
<IsccPath Condition="'$(IsccPath)'==''">"$(ProgramFiles)\Inno Setup 6\iscc.exe"</IsccPath>
</PropertyGroup>
<PropertyGroup>