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
- :
- Is it InstallAnywhere 2010 ?
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
‎Apr 14, 2010
03:19 AM
How to specify bundled vm location via ant property
Hi,
I am using AntTask to build installers for different platfroms, following is my xml file contents:
IAProjectFile="${IA.MINING.PROJECTFILE}"
BuildOutputLocation="${IA.OUTPUT}"
BuildWebInstaller="false"
BuildCDROMInstaller="true"
failOnError="true"
OverrideAllPlatformSettings="true"
InstallerStdOutRedirect="C:\IALog.txt"
InstallerStdErrRedirect="C:\IALog.txt">
false
true
Release
${IA.VM}
I am trying to use ${IA.VM} to specify vm location (use "-DIA.VM="vmname"" to define the property from command line). But it throws out error message "Adding other errors: Error finding Linux VM pack. "${IA.VM}"; Build using IA_ibm_linux386_32_15_SR5.vm (IBM JRE 1.5 SR5 (x386-32bit)".
I have added the directory where VMs is in to IA's VM Pack Resource Paths. And If replace ${IA.VM} with VM's name, it will work fine.
I can not set all VM names via properties like LinuxVMPackLocation, HPUXVMPackLocation and so on, because I need to build installer for Linux32, linux64 and zlinux but there are only two properties LinuxVMPackLocation and NamedUNIXVMPackLocation available.
Thanks,
Y.B.
I am using AntTask to build installers for different platfroms, following is my xml file contents:
IAProjectFile="${IA.MINING.PROJECTFILE}"
BuildOutputLocation="${IA.OUTPUT}"
BuildWebInstaller="false"
BuildCDROMInstaller="true"
failOnError="true"
OverrideAllPlatformSettings="true"
InstallerStdOutRedirect="C:\IALog.txt"
InstallerStdErrRedirect="C:\IALog.txt">
I am trying to use ${IA.VM} to specify vm location (use "-DIA.VM="vmname"" to define the property from command line). But it throws out error message "Adding other errors: Error finding Linux VM pack. "${IA.VM}"; Build using IA_ibm_linux386_32_15_SR5.vm (IBM JRE 1.5 SR5 (x386-32bit)".
I have added the directory where VMs is in to IA's VM Pack Resource Paths. And If replace ${IA.VM} with VM's name, it will work fine.
I can not set all VM names via properties like LinuxVMPackLocation, HPUXVMPackLocation and so on, because I need to build installer for Linux32, linux64 and zlinux but there are only two properties LinuxVMPackLocation and NamedUNIXVMPackLocation available.
Thanks,
Y.B.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 14, 2010
05:19 AM
Hello,
I guess are using InstallAnywhere 2010 ?
I opened an issue to IA 2010 support regarding similar issue (it was working in 2009 versions) related to ".properties". Looks like there is same issue with ".xml" properties file.
also check this post: http://community.flexerasoftware.com/showthread.php?t=192518
To workaround this, I removed the ".vm" from properties file and used the one set in the user interface for each platform. Maybe you cannot do this for 32/64 bit ?
Regards
I guess are using InstallAnywhere 2010 ?
I opened an issue to IA 2010 support regarding similar issue (it was working in 2009 versions) related to ".properties". Looks like there is same issue with ".xml" properties file.
also check this post: http://community.flexerasoftware.com/showthread.php?t=192518
To workaround this, I removed the ".vm" from properties file and used the one set in the user interface for each platform. Maybe you cannot do this for 32/64 bit ?
Regards
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 14, 2010
05:48 AM
Hi,
I am using IA2009SP1. Yes, you are right, I can not use VMs specified by UI for 32/64 bit. If that is the case, the only workaround for me is to copy certain Vm to a folder and make sure it is the only correct VM for target platform. Then IA can pick it up itself...
Thanks,
I am using IA2009SP1. Yes, you are right, I can not use VMs specified by UI for 32/64 bit. If that is the case, the only workaround for me is to copy certain Vm to a folder and make sure it is the only correct VM for target platform. Then IA can pick it up itself...
Thanks,
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)