JWrapper Windows快捷方式损坏 [英] JWrapper windows shortcuts broken

查看:105
本文介绍了JWrapper Windows快捷方式损坏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

JWrapper支持现在重定向到StackOverflow,所以我在这里发布.

JWrapper support now redirects to StackOverflow, so I'm posting here.

JWrapper创建的Windows快捷方式不起作用.他们指向一个不存在的位置;我可以通过导航到快捷方式属性中指向的目录来验证这一点:

The Windows shortcuts created by JWrapper don't work; they point to a location which doesn't exist; I can verify this by navigating to the directory pointed to in the properties of the shortcut:

C:\Users\jchrist\AppData\Roaming\JWrapper-SampleApp

,然后看到期望的SampleAppWinLauncher.exe不存在.

and seeing that the expected SampleAppWinLauncher.exe isn't there.

我可以对SampleApp稍加修改即可简单地重现此内容.打开jwrapper-sampleapp.xml文件并复制主虚拟应用程序,但是给它一个不同的名称:

I can reproduce this simply with a slight modification of the SampleApp. Open the jwrapper-sampleapp.xml file and copy main virtual app, but give it a different name:

    <App>
      <Name>SampleApp2</Name>
      <LogoPNG>sampleapp/logo.png</LogoPNG>
      <MainClass>jwrapper.SampleApp</MainClass>
      <Param>one</Param>
      <Param>two</Param>
    </App>

如果执行此操作,然后运行32位脱机安装程序,则会出现一个对话框,允许您选择要启动的两个虚拟应用程序中的哪个.

If you do this, and then run the 32-bit offline installer, you'll get a dialog which allows you to select which of the two virtual apps you want to launch.

选择(相同)虚拟应用程序之一并退出后,SampleApp文件夹的开始"菜单中提供的快捷方式不起作用.如果深入研究快捷方式的属性,则可以看到它们指向不存在的可执行文件. (它确实存在,但是在第一次运行后会自动删除.)

After selecting one of the (identical) virtual apps and quiting it, the shortcuts provided in the start menu in the SampleApp folder do not work. If you dig into the properties of the shortcuts, you can see they point to an executable which doesn't exist. (It did exist, but it deletes itself after the first run).

我也在使用最新的JWrapper(jwrapper-00036138363.jar,尽管jwrapper-00035090611.jar存在此问题).

I'm using the latest JWrapper (jwrapper-00036138363.jar, although this problem existed with jwrapper-00035090611.jar) as well.

推荐答案

我已经在Windows 7上对此进行了测试,并且可以正常运行.我没有在server 2008上测试过,但是Windows 7与JWrapper对待Server 2008基本上相同.另外,可执行文件在第一次运行后消失是不正常的行为.

I've tested this on Windows 7 today and it works OK. I haven't tested this on server 2008 but Windows 7 is treated basically the same as Server 2008 by JWrapper. Also the executable disappearing after the first run is not normal behaviour.

我的猜测是这是防病毒软件,正在将运行检测为误报并删除了可执行文件.您是否安装了AV软件?您可以关闭它进行测试吗?

My guess would be that this is antivirus software that is detecting the run as a false positive and deleting the executable. Do you have any AV software installed? can you turn it off to test?

不幸的是,某些防病毒软件会删除文件等而没有任何警告.

Unfortunately some AV software will delete files etc without any warning.

这篇关于JWrapper Windows快捷方式损坏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆