ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Lochart" <dloch...@capecomputing.com>
Subject Re: Installshield issues
Date Tue, 20 Apr 2004 15:34:18 GMT
No I have not.  I have only used Telnet within ant.  Do you need to FTP the
installed shield or do you need to move the directory structure to the
location of the IS executables?  If you can't fet FTP to work for you and If
you are in a windows environment you can always mount a drive via UNC paths
in ant and just copy the files.  If you are going to/coming from a unix
machine you can always install ServicesForUnix on the windows box and NFS
mount a unix drive and do a cp.


Doug

Now I've gained some understanding
Of the only world that we see.
Things that I once dreamed of
Have become reality.

These walls that still surround me
Still contain the same old me,
Just one more who's searching for
A world that ought to be.
----- Original Message ----- 
From: "Marcus Zafarano" <mzafarano@nuance.com>
To: "Ant Users List" <user@ant.apache.org>
Sent: Monday, April 19, 2004 6:01 PM
Subject: RE: Installshield issues


Have you used the chmod action for the ftp task?

I can't seem to get it to work.

Thanks in advance
-mez
 -----Original Message-----
From: Doug Lochart [mailto:dlochart@capecomputing.com]
Sent: Monday, April 19, 2004 1:41 PM
To: Ant Users List
Subject: Re: Installshield issues

Marcus,

There may be but I am no InstallShield expert.  Typically for Win 2K and
later starting a path like this "\temp\deploy" instead of prefixing a drive
letter works and will simply default to the current drive that IS is running
on.  However IS may check to make sure that it is an absolute ... I never
did check that.  Try changing your d:\temp\blah to \temp\blah in your .ipr
and see if it works.

Doug


Now I've gained some understanding
Of the only world that we see.
Things that I once dreamed of
Have become reality.

These walls that still surround me
Still contain the same old me,
Just one more who's searching for
A world that ought to be.
----- Original Message ----- 
From: "Marcus Zafarano" <mzafarano@nuance.com>
To: "Ant Users List" <user@ant.apache.org>
Sent: Friday, April 16, 2004 6:12 PM
Subject: RE: Installshield issues


I  have all the definitions for both compile.exe and build.exe. So, I have
gone through what you have and it took a while too.

My question is that in the .ipr file you have to set an path information to
the file grps, is there anyway to get around having this as absolute paths?

Thanks in advance
-me

 -----Original Message-----
From: Doug Lochart [mailto:dlochart@capecomputing.com]
Sent: Friday, April 16, 2004 10:50 AM
To: Ant Users List
Subject: Re: Installshield issues

I have included two targets I used (compile/build).  Since I use properties
extensively I include the properties I set and use in the targets (rather
than replace them for this email)

I hope this helps

Again this is for IS 7

  # The two targets

  <target name="install-shield-compile"
depends="load-install-shield-properties">
    <echo message="execution dir=${install.shield.execution.dir}"/>
    <echo message="compiler=${install.shield.compiler}"/>

    <exec dir="${install.shield.execution.dir}"

executable="${install.shield.execution.dir}/${install.shield.compiler}"
failonerror="true">

      <arg value='${install.shield.rulfiles}'/>
      <arg value='${install.shield.includeifx}'/>
      <arg value='${install.shield.includeisrt}'/>
      <arg value='${install.shield.includescript}'/>
      <arg value='${install.shield.linkpath.ifx}'/>
      <arg value='${install.shield.linkpath.isrt}'/>
      <arg value='${install.shield.library.isrt}'/>
      <arg value='${install.shield.library.ifx}'/>
      <arg value="${install.shield.definitions}"/>
      <arg value='${install.shield.switches}'/>

     </exec>
  </target>

  <target name="install-shield-build"
depends="load-install-shield-properties">
    <exec dir="${install.shield.execution.dir}"

executable="${install.shield.execution.dir}/${install.shield.builder}"
failonerror="true">
      <arg
value="-p${install.shield.dir}\${install.shield.compiled.project}"/>
      <arg value="-mNew CD-ROM Media"/>
    </exec>
  </target>

###### The associated properties

## ===============================================
## Set up tools.
## ===============================================

### This is c:\\ on CYGNUS-X1 and COSMIKDEBRIS
install.shield.home=c:\\Program Files\\InstallShield\\Professional 7

install.shield.execution.dir=${install.shield.home}\\Program\\BIN
install.shield.compiler=Compile.exe
install.shield.builder=ISBuild.exe

###
### This property needs to be passed in by the calling project
###
###install.shield.dir=d:\\cvsbase\\caterpiller\\Caterpiller\\Deployment\\xml
release1\\INSTALL_SHIELD
###


### ===============================================
### Set the environment for the compiler
### ===============================================

install.shield.install.project=${install.shield.dir}\\XMLRelease2.ipr

install.shield.currentbuild=New CD-ROM Media
install.shield.currentbuild.location=${install.shield.dir}\\Media\\New
CD-ROM Media\\Disk Images\\Disk1

###      <arg value='-Id:\Program Files\InstallShield\Professional
7\Script\Ifx\Include'/>
install.shield.includeifx=-I${install.shield.home}\\Script\\ifx\\Include

###      <arg value='-Id:\Program Files\InstallShield\Professional
7\Script\ISRT\Include'/>
install.shield.includeisrt=-I${install.shield.home}\\Script\\ISRT\\Include

###      <arg
value='-Id:\cvsbase\caterpiller\Caterpiller\Deployment\XMLRelease1\INSTALL_S
HIELD\Script Files'/>
install.shield.includescript=-I${install.shield.dir}\\Script Files

###      <arg value='-LibPathd:\Program Files\InstallShield\Professional
7\Script\Ifx\Lib'/>
install.shield.linkpath.ifx=-LibPath${install.shield.home}\\Script\\Ifx\\Lib

###      <arg value='-LibPathd:\Program Files\InstallShield\Professional
7\Script\ISRT\Lib'/>
install.shield.linkpath.isrt=-LibPath${install.shield.home}\\Script\\ISRT\\L
ib

###       <arg
value='"d:\cvsbase\caterpiller\Caterpiller\Deployment\XMLRelease1\INSTALL_SH
IELD\Script Files\setup.rul"'/>
install.shield.rulfiles="${install.shield.dir}\\Script Files\\setup.rul"


###      <arg value="isrt.obl"/>
install.shield.library.isrt=isrt.obl

###      <arg value="ifx.obl"/>
install.shield.library.ifx=ifx.obl

install.shield.definitions=

install.shield.switches=-w50 -e50 -v3 -g



I hope this is what you are looking for.  I included all the properties for
each argument because it took me a while to get the single/double quote
escaping right for the arguments passed to each executable.

Doug


Now I've gained some understanding
Of the only world that we see.
Things that I once dreamed of
Have become reality.

These walls that still surround me
Still contain the same old me,
Just one more who's searching for
A world that ought to be.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message