Install4j: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
No edit summary
Line 37: Line 37:
* [https://www.ej-technologies.com/resources/install4j/help/doc/#install4j.cli Command Line Compiler]
* [https://www.ej-technologies.com/resources/install4j/help/doc/#install4j.cli Command Line Compiler]
* [https://github.com/sonatype/install4j-support/issues/19 Maven build for install4j]
* [https://github.com/sonatype/install4j-support/issues/19 Maven build for install4j]
* [https://stackoverflow.com/questions/tagged/install4j?sort=newest&page=1&pagesize=50 Stackoverflow Install4j]
* [https://www.ej-technologies.com/resources/install4j/help/doc/#install4j.helptopics.installers.responseFile Response Files]
* [https://www.ej-technologies.com/resources/install4j/help/doc/#install4j.helptopics.installers.responseFile Response Files]
* [https://www.ej-technologies.com/resources/install4j/help/doc/ Install4j Help]
* [https://www.ej-technologies.com/resources/install4j/help/doc/ Install4j Help]

Revision as of 01:47, 24 March 2019

# export ANT_HOME
# export INSTALL4J_HOME

export INSTALL4J_JAVA_HOME=$JRE_HOME
export PATH=$INSTALL4J_HOME/bin:$PATH

install4jc --help

Ant Build

<project name="hello" default="media">
  <property environment="env"/>
  <property name="install4jHomeDir" location="${env.INSTALL4J_HOME}"/>
  <fail message="Specify install4jHomeDir in build.xml" unless="install4jHomeDir"/>

  <target name="media">
    <taskdef name="install4j"
             classname="com.install4j.Install4JTask"
             classpath="${install4jHomeDir}/bin/ant.jar"/>

    <install4j projectfile="hello.install4j"/>
  </target>
</project>

Script

Service

References