3

我正在使用 IntelliJ IDEA 的工件构建功能,但构建似乎总是使用默认包资源并告诉我add package/windows/AppName.iss to the class path to customise. 我已经尝试了几个位置,但我的自定义脚本在工件构建期间仍然没有被 JavaFX Packager 拾取。这是构建输出的片段

Java FX Packager: No base JDK. Package will use system JRE.
Java FX Packager: Running [C:\Program Files\Java\jdk1.8.0_144\jre\bin\java, -version]
Java FX Packager: Running [C:\Program Files (x86)\Inno Setup 5\iscc.exe, /?]
Java FX Packager:   Detected [C:\Program Files (x86)\Inno Setup 5\iscc.exe] version [5]
Java FX Packager:   Using default package resource [application icon]  (add package/windows/ControlExp1.ico to the class path to customize)
Java FX Packager: Running [C:\Users\ysparrow\AppData\Local\Temp\iconswap2091256136799880247.exe, C:\Users\ysparrow\AppData\Local\Temp\fxbundler511500059683716516\windows\ControlExp1.ico, C:\Users\ysparrow\AppData\Local\Temp\fxbundler511500059683716516\images\win-exe.image\ControlExp1\ControlExp1.exe]
Java FX Packager: Icon File Name: C:\Users\ysparrow\AppData\Local\Temp\fxbundler511500059683716516\windows\ControlExp1.ico
Java FX Packager: Executable File Name: C:\Users\ysparrow\AppData\Local\Temp\fxbundler511500059683716516\images\win-exe.image\ControlExp1\ControlExp1.exe
Java FX Packager:   Config files are saved to C:\Users\ysparrow\AppData\Local\Temp\fxbundler511500059683716516\windows. Use them to customize package.
Java FX Packager:   Using default package resource [Inno Setup project file]  (add package/windows/ControlExp1.iss to the class path to customize)
Java FX Packager:   Using default package resource [setup dialog icon]  (add package/windows/ControlExp1-setup-icon.bmp to the class path to customize)
Java FX Packager: Using default package resource [script to run after application image is populated]  (add package/windows/ControlExp1-post-image.wsf to the class path to customize)
Java FX Packager: Generating EXE for installer to: C:\Users\ysparrow\AppData\Local\JetBrains\IdeaIC2021.1\compile-server\controlexperiment1_ff845e1b\_temp_\artifactunzipped\deploy\bundles
Java FX Packager: Running [C:\Program Files (x86)\Inno Setup 5\iscc.exe, /oC:\Users\ysparrow\AppData\Local\JetBrains\IdeaIC2021.1\compile-server\controlexperiment1_ff845e1b\_temp_\artifactunzipped\deploy\bundles, C:\Users\ysparrow\AppData\Local\Temp\fxbundler511500059683716516\images\win-exe.image\ControlExp1.iss] in C:\Users\ysparrow\AppData\Local\Temp\fxbundler511500059683716516\images\win-exe.image

我想知道package/windows/AppName.iss在 IntelliJ 项目目录中放置的正确位置。先感谢您。

4

0 回答 0