JavaFX Self Installer With Inno Setup 5 - Allow user to change install directory

后端 未结 2 1885
情书的邮戳
情书的邮戳 2020-12-25 07:49

I am using Ant to build a self deploying EXE for a JavaFX application.

Currently Inno Setup places the EXE here: C:\\Users\\username\\AppData\\Local\\application nam

2条回答
  •  感动是毒
    2020-12-25 08:40

    The original answer is not true anymore, because that feature got added to the JDK (just dont know when, but it was there when using 1.8.0u60 or so).

    Just add as some and set it to true:

    
        com.zenjava
        javafx-maven-plugin
        8.4.0
        
            your.mainclass
            true
            
                SOME-GUID-USED-FOR-UPDATE-DETECTION
                true
            
        
    
    

    Disclaimer: I'm the maintainer of the javafx-maven-plugin

提交回复
热议问题