如何在 NetBeans 中设置 Inno Setup 插件
How to setup Inno Setup plugin in NetBeans
我尝试使用 NetBeans 在 JavaFX 中创建我的代码的 exe 文件。
我在我的系统上安装了 Inno Setup,但它仍然报错:
Execute failed: java.io.IOException: Cannot run program "iscc" (in directory "D:\Ami\DhruwCreation\Album\June2016-June-2016-Integrated\DisplayImageAndUpload"): CreateProcess error=2, The system cannot find the file specified
D:\Ami\DhruwCreation\Album\June2016-June-2016-Integrated\DisplayImageAndUpload\nbproject\build-native.xml:441: Error:
JavaFX native packager requires external Inno Setup 5+ tools installed and included on PATH to create EXE installer. See http://www.jrsoftware.org/
BUILD FAILED (total time: 0 seconds)
当我单击错误消息时,它会转到 build-native.xml
文件并突出显示以下行:
<fail message="Error:${line.separator}${missing.Inno.message}" if="missing.Inno"/>
如错误消息所示,您必须将 iscc
的路径添加到 PATH
环境变量。
在 Windows 控制面板中,转到 系统和安全 > 系统 > 高级系统设置 并单击 环境变量 按钮.找到 Path
变量,单击 Edit 并添加安装 Inno Setup 的文件夹的路径。 IE。通常是 C:\Program Files (x86)\Inno Setup 5
.
您必须在设置 PATH
(或更好的机器)后重新启动 IDE。
我尝试使用 NetBeans 在 JavaFX 中创建我的代码的 exe 文件。 我在我的系统上安装了 Inno Setup,但它仍然报错:
Execute failed: java.io.IOException: Cannot run program "iscc" (in directory "D:\Ami\DhruwCreation\Album\June2016-June-2016-Integrated\DisplayImageAndUpload"): CreateProcess error=2, The system cannot find the file specified
D:\Ami\DhruwCreation\Album\June2016-June-2016-Integrated\DisplayImageAndUpload\nbproject\build-native.xml:441: Error:
JavaFX native packager requires external Inno Setup 5+ tools installed and included on PATH to create EXE installer. See http://www.jrsoftware.org/
BUILD FAILED (total time: 0 seconds)
当我单击错误消息时,它会转到 build-native.xml
文件并突出显示以下行:
<fail message="Error:${line.separator}${missing.Inno.message}" if="missing.Inno"/>
如错误消息所示,您必须将 iscc
的路径添加到 PATH
环境变量。
在 Windows 控制面板中,转到 系统和安全 > 系统 > 高级系统设置 并单击 环境变量 按钮.找到 Path
变量,单击 Edit 并添加安装 Inno Setup 的文件夹的路径。 IE。通常是 C:\Program Files (x86)\Inno Setup 5
.
您必须在设置 PATH
(或更好的机器)后重新启动 IDE。