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
- :
- Multiple erroneous overwrite confirmations for lax.jar
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 06, 2011
02:43 PM
Multiple erroneous overwrite confirmations for lax.jar
We recently enabled the "always confirm" option for existing files on the File Settings section of our InstallAnywhere installer configurations.
One of our installers creates three LaunchAnywhere executables. The installer writes a copy of lax.jar for each executable created.
When installing to a new directory, writing the second and third lax.jar files results in dialogs confirming with the user to overwrite lax.jar (see attached image). Choosing the "Yes to All" option suppresses the dialog for the last instance of lax.jar.
After writing the first lax.jar in an installation, subsequent lax.jars should either not be written or should be silently overwritten. Displaying these dialogs to confirm overwriting subsequent lax.jar files is erroneous.
If there is a work around, we'd love to hear about it.
However, we'd prefer to see this issue addressed with the next release of IA.
Thanks.
One of our installers creates three LaunchAnywhere executables. The installer writes a copy of lax.jar for each executable created.
When installing to a new directory, writing the second and third lax.jar files results in dialogs confirming with the user to overwrite lax.jar (see attached image). Choosing the "Yes to All" option suppresses the dialog for the last instance of lax.jar.
After writing the first lax.jar in an installation, subsequent lax.jars should either not be written or should be silently overwritten. Displaying these dialogs to confirm overwriting subsequent lax.jar files is erroneous.
If there is a work around, we'd love to hear about it.
However, we'd prefer to see this issue addressed with the next release of IA.
Thanks.
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 07, 2011
03:05 AM
Some time ago I tried to have this lax.jar in some specific "lib" folder while the executable remains in e.g. "bin" folder but I was not able to addressed this (excepted by scripting which I didn't want).
The same applied to your issue as the lax.jar should be named differently if one already existed and classpath updated accordingly.
Having such lax.jar file overwritten on windows in situation where you have already started the previous executable will result in filling the PendingFileRenameOperations registry value. then after a reboot, the lax.jar will be deleted and all your executables will not run anymore.
So definitely, this should be fixed, I guess you might report the issue to support.
The best way will be to let us having control on location & name of this lax.jar file.
--Jerome
The same applied to your issue as the lax.jar should be named differently if one already existed and classpath updated accordingly.
Having such lax.jar file overwritten on windows in situation where you have already started the previous executable will result in filling the PendingFileRenameOperations registry value. then after a reboot, the lax.jar will be deleted and all your executables will not run anymore.
So definitely, this should be fixed, I guess you might report the issue to support.
The best way will be to let us having control on location & name of this lax.jar file.
--Jerome
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 08, 2011
02:53 AM
Hello Jerome. Just a question: what would be the use case of having the lax.jar in a different path than the LaunchAnywheres using it?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 08, 2011
03:10 AM
pv7721 wrote:
Hello Jerome. Just a question: what would be the use case of having the lax.jar in a different path than the LaunchAnywheres using it?
Simply that my use case was that I had a "bin" folder for many installation/post-configuration stuff which already contains 'too' many files (the stuff is mostly composed by ".bat" & ".exe" files). And I have a "lib" folder that contains libraries needed by those scripts for which end user don't care about.
But anyway what I really needed was a shortcut to this ".exe" to allow the "pin/unpin" action on windows 7 taskbar so I finally put the shortcut in my "bin" folder the the "exe" is just in some subfolder with its lax.jar.
--Jerome
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)