Community Forums
Results 1 to 3 of 3

Thread: InstallAnywhere 2017 not building with command line

  1. #1
    Join Date
    Dec 2016
    Posts
    5

    InstallAnywhere 2017 not building with command line

    Hi,

    I am trying to build installer (version 2017) on windows10 platform through command line using ant1.9.5, java1.8.
    Getting error "Execute failed: java.io.IOException: Cannot run program "C:\Program Files (x86)\InstallAnywhere 2017\build.exe": CreateProcess error=740, The requested operation requires elevation"

    Below is my ant target:
    <target name="build-installer" description="Build Installer">
    <taskdef name="buildinstaller" classname="com.zerog.ia.integration.ant.InstallAnywhereAntTask">
    <classpath>
    <pathelement path="C:\Program Files (x86)\InstallAnywhere 2017\resource\build\iaant.jar"/>
    </classpath>
    </taskdef>
    <buildinstaller
    IALocation="C:\Program Files (x86)\InstallAnywhere 2017"
    IAProjectFile="C:\Installer2017\Installer.iap_xml"
    BuildLinuxWithVM="false"
    BuildLinuxWithoutVM="true"
    BuildSolarisWithVM="false"
    BuildSolarisWithoutVM="false"
    BuildWindowsWithVM="false"
    BuildWindowsWithoutVM="true"
    BuildWebInstaller="true"
    OptimizeWebInstaller="true"
    InstallerStdErrRedirect="."
    />

    </target>

    When I try to build installer from GUI it gets build properly. Has anyone face this issue while building installer2017 through command line?
    Any help will be appreciated


    Thanks

  2. #2
    Join Date
    Jun 2002
    Location
    Detroit, MI
    Posts
    169
    Not sure if it matters but my <taskdef> is outside of the target.

    I build the installer a bit differently.

    <buildinstaller IAlocation="${env.IAHOME2018}" IAProjectFile="${ClientIAProjectFile}" BuildOutputLocation="${ClientOutputLocationDir}" failOnError="true">
    <configuration name="Migrated_Configuration" cdoptimize="true">
    <locales>
    <localeSuffix>en</localeSuffix>
    <localeSuffix>ja</localeSuffix>
    </locales>
    <target platform="Windows" outputDir="Windows" buildWithVM="true" buildWithNoVM="false"/>
    </configuration>
    </buildinstaller>

  3. #3
    Join Date
    Mar 2019
    Posts
    1
    i just joined the forum..gone over a few threads and could not help but wonder how long it takes to get a solution to the problems faced from the software makers.
    on the low

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •