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
- :
- Getting files to install from variable directory
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
Aug 18, 2009
10:27 AM
Getting files to install from variable directory
Hi. This is my very first InstallAnywhere project, and I've been given a week to do it :eek:
So far I understand most things, but here's one thing I can't figure out: Our nightly build process will create a new folder every day with the timestamp in the name. We plan on doing automatic creation of installers after the build, so I can't modify the installer XML file manually each time to match the file.
Is there a way to create an InstallAnywhere configuration that determines the directory to get files from via an environment variable or command line parameter? Right now I have to drag and drop files in the configuration tool.
Likewise, I need to expand a jar file with a timestamp in the filename. "Expand Archive" doesn't seem to allow me to type in a wildcard in the archive name. Is there another way of handling this?
Thanks.
So far I understand most things, but here's one thing I can't figure out: Our nightly build process will create a new folder every day with the timestamp in the name. We plan on doing automatic creation of installers after the build, so I can't modify the installer XML file manually each time to match the file.
Is there a way to create an InstallAnywhere configuration that determines the directory to get files from via an environment variable or command line parameter? Right now I have to drag and drop files in the configuration tool.
Likewise, I need to expand a jar file with a timestamp in the filename. "Expand Archive" doesn't seem to allow me to type in a wildcard in the archive name. Is there another way of handling this?
Thanks.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Aug 24, 2009
12:11 PM
There is a very important concept in IA called source paths: it allows you to have all your files added relative to a parent you define in a source path variable. For Windows, if you look in c:\Documents and Settings\Integrator\InstallAnywhere\\Enterprise\Preferences\com.zerog.ia.PathManager.properties you'll find the definition of source paths (once you've added the first one). In order to make the nightly builds to work you need to change that to the latest timestamped build before proceeding to IA building.