简体   繁体   English

InstallAnywhere 问题:此应用程序意外退出

[英]InstallAnywhere issue: This application has unexpectely quit

I have downloaded IBM Client SDK 4.10 FC5DE for Windows x64.我已经下载了适用于 Windows x64 的 IBM Client SDK 4.10 FC5DE。 When I proceed to install it, InstallAnyWhere popups saying "Preparing installation files...".当我继续安装它时,InstallAnyWhere 会弹出“正在准备安装文件...”。 When it reaches to 100% below error is shown and installation terminates:当它达到低于 100% 时会显示错误并终止安装:

This application has unexpectely quit:
Invocation of this Java application has caused an InvocationTargetException. This application will now exit (LAX).

And If I click on details button its show stack trace:如果我点击详细信息按钮,它会显示堆栈跟踪:

ZeroGu6: Windows DLL failed to load
    at ZeroGa4.b(DashoA10*..)
    at ZeroGa4.b(DashoA10*..)
    at com.zerog.ia.installer.LifeCycleManager.b(DashoA10*..)
    at com.zerog.ia.installer.LifeCycleManager.a(DashoA10*..)
    at com.zerog.ia.installer.Main.main(DashoA10*..)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:94)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
    at java.lang.reflect.Method.invoke(Method.java:619)
    at com.zerog.lax.LAX.launch(DashoA10*..)
    at com.zerog.lax.LAX.main(DashoA10*..)

My OS is Windows 8.1 Pro and I have the last Java x86 and Java x86_64 installed on my system.我的操作系统是 Windows 8.1 Pro,我的系统上安装了最后一个 Java x86 和 Java x86_64。 Java x86_64 is the only activated in Java configuration panel. Java x86_64 是 Java 配置面板中唯一激活的。 If I activated both, it does not work either.如果我同时激活两者,它也不起作用。 Leaving activating Java x86 it does not work either.离开激活 Java x86 它也不起作用。

Below the Java packages installed on my system:在我的系统上安装的 Java 包下面:

  • Java 8 Update 151 Java 8 更新 151
  • Java 8 Update 151 (64-bit) Java 8 更新 151(64 位)
  • Java(TM) SE Development Kit 6 Update 24 Java(TM) SE 开发工具包 6 更新 24

So any ideas on what is happening?那么对正在发生的事情有什么想法吗?

SOLVED : I have solved it.已解决:我已经解决了。

In order to work you need to set Compatibility Mode to Windows 7 for setup ( executable file).为了工作,您需要将兼容模式设置为 Windows 7 进行设置(可执行文件)。

Right click on setup file, go to compatibility tab, and then set "Compatibility Mode" to "Windows 7".右键单击安装文件,转到兼容性选项卡,然后将“兼容模式”设置为“Windows 7”。 Also in configuration, you can check "Launch this program as Administrator".同样在配置中,您可以选中“以管理员身份启动此程序”。

Link where I found a similar problem: see this .链接我发现类似问题的地方:见这个

Change compatibility to windows 7更改与 Windows 7 的兼容性

Check this (not the same product, but looks like the same error)检查这个(不是同一个产品,但看起来是同样的错误)

The installation can be finished successfully while setting the two files below to Windows 7 compatibility mode.将以下两个文件设置为 Windows 7 兼容模式即可成功完成安装。

File 1: launchpad64.exe launchpad.exe, depending on which bit version you plan to install文件 1:launchpad64.exe launchpad.exe,具体取决于您计划安装的位版本

File2: depending on the used launchpad version, 64 or 32 bit, go into a. File2:根据使用的启动板版本,64 位或 32 位,进入 a. win86_64 (If you are running launchpad64.exe) or b. win86_64(如果您正在运行 launchpad64.exe)或 b. win86_32 (If you are running launchpad.exe) folder. win86_32(如果您正在运行 launchpad.exe)文件夹。

If you Install as Administrator, change the compatibility of install.exe to Windows 7.如果以管理员身份安装,请将 install.exe 的兼容性更改为 Windows 7。

If you Install as Current User, change the compatibility of userinst.exe to Windows 7.如果以当前用户身份安装,请将 userinst.exe 的兼容性更改为 Windows 7。

Launch the launchpad64.exe or launchpad.exe as Administrator以管理员身份启动 launchpad64.exe 或 launchpad.exe

I know this is old, but I was experiencing the same issue today.我知道这很旧,但我今天遇到了同样的问题。

Canillas' answer works, but it is a workaround. Canillas 的回答有效,但它是一种解决方法。 Windows compatibility mode introduces a whole new layer of potential problems. Windows 兼容模式引入了一个全新的潜在问题层。 It is, in fact, a layer that takes system calls and attempts to emulate how they would perform on a previous version of Windows, using the current version of Windows.事实上,它是一个层,它接受系统调用并尝试使用当前版本的 Windows 模拟它们在以前版本的 Windows 上的执行方式。

The problem is the JRE version.问题是 JRE 版本。 Use 1.8u45.使用 1.8u45。 If you do not want to add the bin folder to your PATH variable, then run the installer will the LAX_VM parameter pointing to java.exe.如果您不想将 bin 文件夹添加到您的 PATH 变量中,那么运行安装程序会将 LAX_VM 参数指向 java.exe。

I do not know what changed in the next JRE build, but something broke the version of InstallAnywhere you are using.我不知道在下一个 JRE 构建中发生了什么变化,但是有些东西破坏了您正在使用的 InstallAnywhere 版本。

I was experiencing this problem today.我今天遇到了这个问题。 Set Compatibility Mode to Windows 7 doesnt work for me.将兼容模式设置为 Windows 7 对我不起作用。 But this way does: Control Panel -> System -> Advanced system settings -> Environment variables -> Add new user variable:但这种方式是:控制面板 -> 系统 -> 高级系统设置 -> 环境变量 -> 添加新用户变量:

  • Name: JAVA_TOOL_OPTIONS名称:JAVA_TOOL_OPTIONS
  • Value: "-Dos.name=Windows 7"值:“-Dos.name=Windows 7”

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM