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
- :
- Error finding VM pack in 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
‎Mar 11, 2010
05:10 AM
Error finding VM pack in InstallAnywhere 2010
Hello,
I recently upgraded from InstallAnywhere 2009 SP2 to InstallAnywhere 2010.
I am building on a linux computer and use my own VM pack.
Since this upgrade, I noticed that the used jre was not the right one. I configured it to use SunJRE160_18_JCE6_Win32.vm but it reported the following error:
[buildinstaller] Finished assembling installer components
[buildinstaller] Adding other errors: Error finding Win32 VM pack. "true" Build using SunJRE160_16_JCE6_Win32.vm (Sun JRE 1.6.0_16 JCE6 Win32).
The one used is the first available from InstallAnywhere_2010_Enterprise/resource/installer_vms, so I deleted all but kept the one I wanted to use in order to workaround the problem.
For those building on linux, can you check installer traces to verify you do not have same error ? or do you have any idea that can help me fixing this ?
Regards
Jerome
PS: error can be found in buildlog.xml
I recently upgraded from InstallAnywhere 2009 SP2 to InstallAnywhere 2010.
I am building on a linux computer and use my own VM pack.
Since this upgrade, I noticed that the used jre was not the right one. I configured it to use SunJRE160_18_JCE6_Win32.vm but it reported the following error:
[buildinstaller] Finished assembling installer components
[buildinstaller] Adding other errors: Error finding Win32 VM pack. "true" Build using SunJRE160_16_JCE6_Win32.vm (Sun JRE 1.6.0_16 JCE6 Win32).
The one used is the first available from InstallAnywhere_2010_Enterprise/resource/installer_vms, so I deleted all but kept the one I wanted to use in order to workaround the problem.
For those building on linux, can you check installer traces to verify you do not have same error ? or do you have any idea that can help me fixing this ?
Regards
Jerome
PS: error can be found in buildlog.xml
(13) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 11, 2010
06:22 AM
It's a special JVM that contains JCE, isn't it? Maybe this is the issue?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 11, 2010
09:27 AM
I always package with JRE JCE and I am using the same JRE vm for building with InstallAnywhere 2009 SP2.
Also, I kept only one windows vm from InstallAnywhere_2010_Enterprise/resource/installer_vms, so now it builds with the correct one, but my concern is more to understand the error "Error finding Win32 VM pack".
This error means that there is something corrupted in my build configuration, so it cannot find the configured windows vm, so it took one from resource/installer_vms which is exactly the same at the same location !
Are you building on linux too ? (I compared the installer xml between IA2009 & 2010 and those are almost identical, only new rollback disabled tags appearing)
Regards
Also, I kept only one windows vm from InstallAnywhere_2010_Enterprise/resource/installer_vms, so now it builds with the correct one, but my concern is more to understand the error "Error finding Win32 VM pack".
This error means that there is something corrupted in my build configuration, so it cannot find the configured windows vm, so it took one from resource/installer_vms which is exactly the same at the same location !
Are you building on linux too ? (I compared the installer xml between IA2009 & 2010 and those are almost identical, only new rollback disabled tags appearing)
Regards
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 11, 2010
10:57 AM
No, I'm building on Windows. So you're building on Linux a Windows installer? Does the installer build anyway (and the VM is correctly bundled)?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 11, 2010
11:05 AM
Yes, I am building both linux & windows installers on a linux computer, I guess you are building linux (or other not windows) installer on your windows otherwise you will not use installanywhere ;-).
The vm is correctly bundled (I use the exact same than with IA 2009 SP2), as the installer used it. I guess there is something wrong in the PATH to the VM, most likely a bug in InstallAnywhere 2010 .... I will probably open a new incident for this.
I will try to build a smaller fake project to check if there is the same issue ... I was looking for someone building on linux to check if he had the same error ....
I tried to build my project on windows and it succeeds to find the correct VM ...
Thanks for your help anyway.
Jerome
The vm is correctly bundled (I use the exact same than with IA 2009 SP2), as the installer used it. I guess there is something wrong in the PATH to the VM, most likely a bug in InstallAnywhere 2010 .... I will probably open a new incident for this.
I will try to build a smaller fake project to check if there is the same issue ... I was looking for someone building on linux to check if he had the same error ....
I tried to build my project on windows and it succeeds to find the correct VM ...
Thanks for your help anyway.
Jerome
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 11, 2010
11:33 AM
jerome_IA wrote:
Yes, I am building both linux & windows installers on a linux computer, I guess you are building linux (or other not windows) installer on your windows otherwise you will not use installanywhere ;-).
The vm is correctly bundled (I use the exact same than with IA 2009 SP2), as the installer used it. I guess there is something wrong in the PATH to the VM, most likely a bug in InstallAnywhere 2010 .... I will probably open a new incident for this.
I will try to build a smaller fake project to check if there is the same issue ... I was looking for someone building on linux to check if he had the same error ....
I tried to build my project on windows and it succeeds to find the correct VM ...
Thanks for your help anyway.
Jerome
Yes, you're correct in your assumption about my case 🙂
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 22, 2010
05:38 AM
I finally found that the reason might be IA 2010 bug when build is done via command line using properties file (option "-p file.properties").
I seems to fail finding Win32 VM.
I tried with new template (provided in IA_INSTALL_DIR/resource/build)
I tried with other VM provided by InstallAnywhere
I tried command line build on windows
It always failed! So I opened an incident to support.
Does anyone use command line build with "-p" option and does or does not have the problem ? (it might not been detected if you don't read build traces)
--Jerome
I seems to fail finding Win32 VM.
I tried with new template (provided in IA_INSTALL_DIR/resource/build)
I tried with other VM provided by InstallAnywhere
I tried command line build on windows
It always failed! So I opened an incident to support.
Does anyone use command line build with "-p" option and does or does not have the problem ? (it might not been detected if you don't read build traces)
--Jerome
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 15, 2010
10:11 AM
For the person that has sent me an email mentioning this thread, please not that I'm not available for private support by mail. So please post your issue here (but only if it's the exact same issue, otherwise please open a new thread instead).
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 15, 2010
10:35 AM
Jeremy did you hear back from Flexera regarding this?
We have recently updated from IA2008VP1 to IA2010 and are facing the same problem as mentioned on this thread. I am using a properties file to pass in the property:
com.zerog.ia.build.vmpack.windows.path=SunJRE160_18iWin32.vm
================ERROR===========
Preparing to build......
Adding other errors: Error finding Win32 VM pack. "true" Build using SunJRE160_18iWin32.vm (Sun JRE 1.6.0_18 i18n Win32).
==================================
OS: Windows XP
IA2010 Version: Version: 11.0 Build: 3890 (Designer/Runtime: Indy)
We have recently updated from IA2008VP1 to IA2010 and are facing the same problem as mentioned on this thread. I am using a properties file to pass in the property:
com.zerog.ia.build.vmpack.windows.path=SunJRE160_18iWin32.vm
================ERROR===========
Preparing to build......
Adding other errors: Error finding Win32 VM pack. "true" Build using SunJRE160_18iWin32.vm (Sun JRE 1.6.0_18 i18n Win32).
==================================
OS: Windows XP
IA2010 Version: Version: 11.0 Build: 3890 (Designer/Runtime: Indy)
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 15, 2010
10:41 AM
It seems to pick up the first VM it finds:
Even thought the property is set to:
com.zerog.ia.build.vmpack.windows.path=SunJRE160_18iWin32.vm
If SunJRE160_07iWin32.vm is available in/resource/installer_vms it picks it up.
================ERROR======================
Adding other errors: Error finding Win32 VM pack. "true" Build using SunJRE160_07iWin32.vm (Sun JRE 1.6.0_07 i18n Win32).
================ERROR======================
Even thought the property is set to:
com.zerog.ia.build.vmpack.windows.path=SunJRE160_18iWin32.vm
If SunJRE160_07iWin32.vm is available in
================ERROR======================
Adding other errors: Error finding Win32 VM pack. "true" Build using SunJRE160_07iWin32.vm (Sun JRE 1.6.0_07 i18n Win32).
================ERROR======================
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 15, 2010
11:28 AM
As I said, your issue might not be identical to the issue of the initial poster, but it is true it is similar, the difference being that he had the issue on Linux and you have it on Windows.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 15, 2010
01:09 PM
I wonder Flexera got back to Jeremy. I have created a incident already.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 15, 2010
02:37 PM
Maybe you could also try to directly contact him: just click on his name, you've got the option to private message him.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 18, 2010
02:17 AM
anujain,
I worked around the issue simply by removing the VM from properties file. Instead I set it in the build configuration panel from the graphical interface but I am not sure this will fit your needs.
like you mention, it is also possible to keep only one vm (e.g. SunJRE160_18iWin32.vm) into/resource/installer_vms and this will be the one selected.
As often, I didn't get any feedback from flexera regarding an availability for a fix will, they point me to a IOA-000...something which cannot be retrieved from Knowledge base.
Good luck
Jerome
I worked around the issue simply by removing the VM from properties file. Instead I set it in the build configuration panel from the graphical interface but I am not sure this will fit your needs.
like you mention, it is also possible to keep only one vm (e.g. SunJRE160_18iWin32.vm) into
As often, I didn't get any feedback from flexera regarding an availability for a fix will, they point me to a IOA-000...something which cannot be retrieved from Knowledge base.
Good luck
Jerome