Oct 16, 2018 Replies: 1 Small snippet. You can use the command line version of Launch4J (launch4jc) to build your wrapped Jar file using a CustomBuildAction. Use the actual Launch4J UI to create the XML config file first and test that it works. Code: Copy #if RELEASE #CustomBuildAction: 2, C:\Apps\Launch4j\launch4jc.exe, "D:\Dropbox\My Apps\B4J\Report\Installer\Objects\Config.xml" #CustomBuildAction: 2, C:\Apps\B4J\Tools\CompileOnly\compileonly.bat, #end if Click to expand...
Small snippet. You can use the command line version of Launch4J (launch4jc) to build your wrapped Jar file using a CustomBuildAction. Use the actual Launch4J UI to create the XML config file first and test that it works. Code: Copy #if RELEASE #CustomBuildAction: 2, C:\Apps\Launch4j\launch4jc.exe, "D:\Dropbox\My Apps\B4J\Report\Installer\Objects\Config.xml" #CustomBuildAction: 2, C:\Apps\B4J\Tools\CompileOnly\compileonly.bat, #end if
W walt61 Well-Known Member Licensed User Longtime User Oct 17, 2018 #2 Nice one @tchart , I use Launch4J but didn't know about the command line version!