You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Windows10下PowerShell5无法识别ISCC.exe的问题咨询

ISCC.exe无法被PowerShell识别的原因分析

系统与PowerShell版本信息

> $PSVersionTable.PSVersion

Major  Minor  Build  Revision
-----  -----  -----  --------
5      1      19041  868

执行错误信息

> ISCC.exe --help
ISCC.exe : The term 'ISCC.exe' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ ISCC.exe --help
+ ~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (ISCC.exe:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

问题原因

  • ISCC.exe所在目录未加入系统PATH环境变量:PowerShell执行无路径的可执行文件时,只会在PATH变量包含的目录中查找。如果Inno Setup的安装目录(如默认的C:\Program Files (x86)\Inno Setup 6)没被添加到PATH,PowerShell就找不到ISCC.exe。
  • 未指定完整文件路径执行:若未配置PATH,直接输入ISCC.exe会失败,必须使用完整路径调用,例如"C:\Program Files (x86)\Inno Setup 6\ISCC.exe" --help。
  • Inno Setup未正确安装:如果安装过程出现异常,ISCC.exe可能未被正确部署到目标目录,导致文件本身不存在。

内容的提问来源于stack exchange,提问作者Dimitrios Desyllas

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.08.15 02:20:30