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
- :
- LaunchAnywhere Application
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 15, 2011
08:00 AM
LaunchAnywhere Application
Hello,
I have created a LaunchAnywhere in my project and provided it the main class path and other parameters in LAX file. Now the problem is that this launcher does runs initially and then just hangs up. Its not running the application when launched instead it is running the application (created by launch anywhere) at the time I uninstall the project.
please suggest if I am missing something.
Thanks alot for your valuable time
Atul
I have created a LaunchAnywhere in my project and provided it the main class path and other parameters in LAX file. Now the problem is that this launcher does runs initially and then just hangs up. Its not running the application when launched instead it is running the application (created by launch anywhere) at the time I uninstall the project.
please suggest if I am missing something.
Thanks alot for your valuable time
Atul
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 15, 2011
09:17 AM
I'm afraid that your question cannot be answered without taking a look at your IA project.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 16, 2011
05:45 AM
Sorry PV
I can not provide my project. But I am posting my LAX file with entries modified. Hope it will give you some idea. Please have a look and suggest do I need to add anythind (property or parameter) else. Also when I checked the installation log, everything was done successfully (creation of application).
My LAX file is like:
# LaunchAnywhere (tm) Executable Properties File - Flexera Software, Inc. and/or InstallShield Co. Inc.
# LAX.APPLICATION.NAME
# --------------------
# the default name of this executable -- do not edit
lax.application.name=
# LAX.CLASS.PATH
# --------------
# the Java classpath necessary to run this application
# Can be separated by colons (Mac OS/Unix) or semicolons (Windows)
lax.class.path=
# LAX.COMMAND.LINE.ARGS
# ---------------------
# what will be passed to the main method -- be sure to quote arguments with spaces in them
lax.command.line.args=
# LAX.DIR
# -------
# path to directory holding LaunchAnywhere's native launcher
lax.dir=
# LAX.MAIN.CLASS
# --------------
#
lax.main.class=
# LAX.MAIN.METHOD
# ---------------
# the method in the main class that will be invoked
lax.main.method=main
# LAX.NL.CURRENT.VM
# -----------------
# the VM to use for the next launch
lax.nl.current.vm=C:\\Windows\\SysWOW64\\javaw.exe (while my setup installs JRE in D drive. If I change this path to the VM installed by the setup, the same problem continues)
# LAX.NL.JAVA.LAUNCHER.MAIN.CLASS
# -------------------------------
# main class of LaunchAnywhere's java launcher -- do not adjust
lax.nl.java.launcher.main.class=com.zerog.lax.LAX
# LAX.NL.JAVA.LAUNCHER.MAIN.METHOD
# --------------------------------
# main method of LaunchAnywhere's java launcher -- do not adjust
lax.nl.java.launcher.main.method=main
# LAX.NL.VALID.VM.LIST
# --------------------
# Defines which VMs are valid for your project.
# If the native launcher cannot find the current vm,
# it will search for ones in this list
lax.nl.valid.vm.list=1.6+
# LAX.NL.WIN32.JAVA.LAUNCHER.PLATFORM
# -----------------------------------
# Set this variable to following values for launching on a 64 bit machine.
# 0, to Prefer 64bit JVM, if not available use 32 bit JVM
# 1, to Prefer 32bit JVM, if not available use 64 bit JVM
# 2, to Prefer 64bit JVM, if not available exit with error
# 3, to Prefer 32bit JVM, if not available exit with error
lax.nl.win32.java.launcher.platform=3
# LAX.NL.WIN32.MICROSOFTVM.MIN.VERSION
# ------------------------------------
# The minimum version of Microsoft's VM this application will run against
lax.nl.win32.microsoftvm.min.version=2750
# LAX.ROOT.INSTALL.DIR
# --------------------
# path to the installdir magic folder
lax.root.install.dir=
# LAX.STDERR.REDIRECT
# -------------------
# leave blank for no output, "console" to send to a console window,
# and any path to a file to save to the file
lax.stderr.redirect=C:\\Err.log
# LAX.STDIN.REDIRECT
# ------------------
# leave blank for no input, "console" to read from the console window,
# and any path to a file to read from that file
lax.stdin.redirect=
# LAX.STDOUT.REDIRECT
# -------------------
# leave blank for no output, "console" to send to a console window,
# and any path to a file to save to the file
lax.stdout.redirect=C:\\Output.log
# LAX.USER.DIR
# ------------
# left blank, this property will cause the native launcher to not
# alter the platform default behavior for setting the user dir.
# To override this you may set this property to a relative or absolute path.
# Relative paths are relative to the launcher.
lax.user.dir=.
# LAX.VERSION
# -----------
# version of LaunchAnywhere that created this properties file
lax.version=12.0
I can not provide my project. But I am posting my LAX file with entries modified. Hope it will give you some idea. Please have a look and suggest do I need to add anythind (property or parameter) else. Also when I checked the installation log, everything was done successfully (creation of application).
My LAX file is like:
# LaunchAnywhere (tm) Executable Properties File - Flexera Software, Inc. and/or InstallShield Co. Inc.
# LAX.APPLICATION.NAME
# --------------------
# the default name of this executable -- do not edit
lax.application.name=
# LAX.CLASS.PATH
# --------------
# the Java classpath necessary to run this application
# Can be separated by colons (Mac OS/Unix) or semicolons (Windows)
lax.class.path=
# LAX.COMMAND.LINE.ARGS
# ---------------------
# what will be passed to the main method -- be sure to quote arguments with spaces in them
lax.command.line.args=
# LAX.DIR
# -------
# path to directory holding LaunchAnywhere's native launcher
lax.dir=
# LAX.MAIN.CLASS
# --------------
#
lax.main.class=
# LAX.MAIN.METHOD
# ---------------
# the method in the main class that will be invoked
lax.main.method=main
# LAX.NL.CURRENT.VM
# -----------------
# the VM to use for the next launch
lax.nl.current.vm=C:\\Windows\\SysWOW64\\javaw.exe (while my setup installs JRE in D drive. If I change this path to the VM installed by the setup, the same problem continues)
# LAX.NL.JAVA.LAUNCHER.MAIN.CLASS
# -------------------------------
# main class of LaunchAnywhere's java launcher -- do not adjust
lax.nl.java.launcher.main.class=com.zerog.lax.LAX
# LAX.NL.JAVA.LAUNCHER.MAIN.METHOD
# --------------------------------
# main method of LaunchAnywhere's java launcher -- do not adjust
lax.nl.java.launcher.main.method=main
# LAX.NL.VALID.VM.LIST
# --------------------
# Defines which VMs are valid for your project.
# If the native launcher cannot find the current vm,
# it will search for ones in this list
lax.nl.valid.vm.list=1.6+
# LAX.NL.WIN32.JAVA.LAUNCHER.PLATFORM
# -----------------------------------
# Set this variable to following values for launching on a 64 bit machine.
# 0, to Prefer 64bit JVM, if not available use 32 bit JVM
# 1, to Prefer 32bit JVM, if not available use 64 bit JVM
# 2, to Prefer 64bit JVM, if not available exit with error
# 3, to Prefer 32bit JVM, if not available exit with error
lax.nl.win32.java.launcher.platform=3
# LAX.NL.WIN32.MICROSOFTVM.MIN.VERSION
# ------------------------------------
# The minimum version of Microsoft's VM this application will run against
lax.nl.win32.microsoftvm.min.version=2750
# LAX.ROOT.INSTALL.DIR
# --------------------
# path to the installdir magic folder
lax.root.install.dir=
# LAX.STDERR.REDIRECT
# -------------------
# leave blank for no output, "console" to send to a console window,
# and any path to a file to save to the file
lax.stderr.redirect=C:\\Err.log
# LAX.STDIN.REDIRECT
# ------------------
# leave blank for no input, "console" to read from the console window,
# and any path to a file to read from that file
lax.stdin.redirect=
# LAX.STDOUT.REDIRECT
# -------------------
# leave blank for no output, "console" to send to a console window,
# and any path to a file to save to the file
lax.stdout.redirect=C:\\Output.log
# LAX.USER.DIR
# ------------
# left blank, this property will cause the native launcher to not
# alter the platform default behavior for setting the user dir.
# To override this you may set this property to a relative or absolute path.
# Relative paths are relative to the launcher.
lax.user.dir=.
# LAX.VERSION
# -----------
# version of LaunchAnywhere that created this properties file
lax.version=12.0
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 16, 2011
06:13 AM
Again, the LAX is generated from information within your project. If you cannot post your project (and I can understand that) you could either post a simplified project that reproduces the issue or if not, you should ask directly the Flexera Software support.