cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
jhechter
Level 3

Using ant task to install components

Can someone give me an example script(ant) that is executed from the InstallAnywhere installer. We are thinking of using all ant scripts to install

Thanks Jeff Hechter
Labels (1)
0 Kudos
(3) Replies
pv7721
Level 20

Well we use a couple of XML scripts one in order to do some magic certificate stuff and one in order to do a search and replace I couldn't do otherwise on Windows:













But I think that using ANT scripts for installing defeats the whole purpose of IA (which is supposed to be used just for that, for installing files).
0 Kudos
jhechter
Level 3

I created an xml project file i.e. install.xml and created a test target













All you do is enter the path to the install.xml and the target name and it works great.
0 Kudos
pv7721
Level 20

Yes, you can use IA variables, like for instance $USER_INSTALL_DIR$ and before running the XML script just use the Modify Text File action, and check Substitute InstallAnywhere variables in file.
0 Kudos