This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- Re: Using ant task to install components
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 20, 2009
08:06 AM
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
Thanks Jeff Hechter
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 20, 2009
08:18 AM
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).
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).
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 20, 2009
09:06 AM
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.
All you do is enter the path to the install.xml and the target name and it works great.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 20, 2009
09:29 AM
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.