문제

I've used the NetBeans tool to wrap Swing applications with a native installer. However, all applications seem to install to the same destination folder on Windows and it isn't clear to me where to configure this.

I'm assuming the installer accepts a universal unique identifier for potential upgrades to the application that might change its name and that identifier is identical between both installers. I can't seem to find where such an identifier is defined though?

도움이 되었습니까?

해결책

The JavaFX packager determines the install target directory based on the vendor name specified for creating the package. The application name is used as the name for the shortcut to your application.

I assume you are using the JavaFX ant task to create the installer. In that case, you would have a build target setting up the FX task like this:

<fx:deploy ... >
    <fx:application name="${application.title}" mainClass="..." />
    <fx:info title="${application.title}" vendor="${application.vendor}" />
    [...]
</fx:deploy>

In that case, you would need to set the ${application.vendor} property to whatever you want as the target directory.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top