Has anyone had any joy getting install shield to work
from ant?

My first stabs are:

      <path id="installshield.path">
          <pathelement location="C:\Program
Files\InstallShield\ISMPP40\lib\conversion.jar" />
          <pathelement location="C:\Program
Files\InstallShield\ISMPP40\lib\help.jar" />
          <pathelement location="C:\Program
Files\InstallShield\ISMPP40\lib\icebrowserbean.jar" />
          <pathelement location="C:\Program
Files\InstallShield\ISMPP40\lib\icebrowserlitebean.jar" />
          <pathelement location="C:\Program
Files\InstallShield\ISMPP40\lib\ide.jar" />
          <pathelement location="C:\Program
Files\InstallShield\ISMPP40\lib\jhall.jar" />
          <pathelement location="C:\Program
Files\InstallShield\ISMPP40\lib\parser.jar" />
          <pathelement location="C:\Program
Files\InstallShield\ISMPP40\lib\product.jar" />
          <pathelement location="C:\Program
Files\InstallShield\ISMPP40\lib\swing.jar" />
          <pathelement location="C:\Program
Files\InstallShield\ISMPP40\lib\wizard.jar" />
          <pathelement location="C:\Program
Files\InstallShield\ISMPP40\lib\xt.jar" />
          <pathelement location="C:\Program
Files\InstallShield\ISMPP40\ppk\aixppk.jar" />
          <pathelement location="C:\Program
Files\InstallShield\ISMPP40\ppk\linuxppk.jar" />
          <pathelement location="C:\Program
Files\InstallShield\ISMPP40\ppk\os2ppk.jar" />
          <pathelement location="C:\Program
Files\InstallShield\ISMPP40\ppk\solarisppk.jar" />
          <pathelement location="C:\Program
Files\InstallShield\ISMPP40\ppk\webppk.jar" />
          <pathelement location="C:\Program
Files\InstallShield\ISMPP40\ppk\win32ppk.jar" />
        </path>


        <target name="install" depends="cleantomcat">
                <java 
                        dir="C:\Program Files\InstallShield\ISMPP40\" 
                        fork="true"
                        classpathref="installshield.path"
                        classname="com.installshield.isje.ISJE"
                >
                        <arg line="mySetup.xml" />
                        <arg line="-build" />
                </java>
        </target>

(sorry if this isn't totaly ant related)


Giles

Reply via email to