使用 Microsoft App-V 4.6SP1 虚拟化 Aptana 3.0.4
我们已经使用 Microsoft App-V 4.6 SP1 成功虚拟化了 100 多个应用程序,但在排序 Aptana Studio 3.0.4 时遇到了困难...
我们会选择不虚拟化它,但这似乎不是一个选择。
让我解释一下...
环境:
- 目标机器:Windows 7 x64
- 浏览器:Firefox 5.0.1(虚拟到它自己的目录中)
- Sequencer 机器:Windows 7 x86(可用于虚拟化 x64 平台的 32 位应用程序)
虚拟应用程序:微软App-V 4.6SP1
我们启动 Microsoft App-V 排序/虚拟化向导,并指向便携式 git 的源 .gz.exe 安装程序。 (我们将 .exe 添加到 .gz 扩展名中)
我们选择将便携式GIT安装到Q:\Aptana.304的虚拟目录
解压文件后,我们运行 AptanaStudio 3.0.4 安装并将其安装到 Q:\Aptana.304
然后,我们启动 AptanaStudio 3.0.4,同时它位于序列器中,并且它要求 GIT.exe(我们假设它是硬编码的以在特定目录中查找?),因此我们将其指向问题: \Aptana.304\bin\git.exe
然后我们创建一个新的 Web 项目,它会询问 Firefox 的位置以进行调试。所以我们将 Aptana 指向 Q:\firefox.501\firefox.exe
然后我们关闭 Aptana,创建另一个 Web 项目,它似乎工作正常。
所以我们完成并将虚拟化的 Aptana 和 Git 传输到客户端...
A. 客户端启动 Aptana 并立即它要求 GIT.exe。所以我们尝试将其重新指向Q:\Aptana.304\bin\git.exe,但是bin目录现在是空的!? *
B. 我们跳过 git.exe 要求并尝试创建一个 Web 项目,猜猜看,是的 - 它要求 firefox.exe。所以我们再次将其重新指向 Q:\firefox.501\firefox.exe。
因此,我们尝试再次对应用程序进行排序,这次我们将“%USERPROFILE%\Documents\Aptana Studio 3 Workspace\”目录包含到排序器中(之前已排除),并再次尝试上述步骤。
不幸的是我们遇到了同样的问题。
对于下一次尝试,我尝试通过将便携式 git 安装到其默认目录中来预填充虚拟排序机和物理机的 git 环境:
“C:\Program Files (x86)\Git”
这次当我们启动 Aptana 时它不再抱怨缺少 GIT.exe,但我们仍然必须将其指向 firefox.exe
然后我们遇到另一个问题:
在 Aptana 中打开终端时,它显示:
rm:不能取消链接“/etc/msys-1.0.dll.md5”:权限被拒绝 错误:您的 msys-1.0.dll 已过时!
此时我们开始有点放弃并决定看看是否可以在不虚拟化的情况下静默安装 Aptana,但是等等
...弹出虚拟化规则:虚拟应用程序可以看到物理应用程序和其他虚拟应用程序(因为它们位于同一个虚拟世界/气泡中),但物理应用程序无法看到虚拟应用程序。
因此,即使我们在计算机上物理地安装了 Aptana 和 git,Aptana 也无法看到虚拟化的 firefox.exe
而且我也无法撤消我的虚拟应用程序,因为我们无法让阿普塔纳打球。
所以我想知道是否有人可以帮助我们让 Aptana 和 GIT.exe 在虚拟环境中工作。
似乎 Aptana 的设置(即使在排序阶段进行了测试)并未传递到目标计算机。
任何帮助将非常感激!
- 默认情况下,我们的虚拟应用程序目录 (Q:) 对用户隐藏,但 App-V 中有一个技巧,我们可以将应用程序指向 \127.0.0.1\q$\ 而不是 Q:\appname\
We have successfully virtualised over 100 applications using Microsoft App-V 4.6 SP1, but are experiencing difficulties sequencing Aptana Studio 3.0.4...
We would choose to not virtualise it but that doesn't seem to be an option.
Let me explain...
Environment:
- Target machines: Windows 7 x64
- Browser: Firefox 5.0.1 (virtualised into it's own directory)
- Sequencer machine: Windows 7 x86 (Can be used to virtualise 32bit apps for x64 platform)
Virtual App: Microsoft App-V 4.6SP1
We fire up the Microsoft App-V sequencing / virtualisation wizard and point to the source .gz.exe installer for portable git. (we added the .exe to the .gz extension)
We choose to install the portable GIT into the virtual directory of Q:\Aptana.304
After the files extract we run the AptanaStudio 3.0.4 install and also install this to Q:\Aptana.304
We then fire up AptanaStudio 3.0.4 whilst it's int he sequencer and it asks for the GIT.exe (We're presuming it's hardcoded to look in a particular directory?), so we point it to Q:\Aptana.304\bin\git.exe
We then create a new web project and it asks for the location of Firefox for debugging puposes. So we point Aptana to Q:\firefox.501\firefox.exe
We then close Aptana, create another web project and it seems to work okay.
So we finish up and stream the virtualised Aptana and Git to the client...
A. The client fires up Aptana and immediately it asks for GIT.exe. So we try to re-point it to Q:\Aptana.304\bin\git.exe, but the bin directory is now empty!? *
B. We skip past the git.exe requirement and try to create a web project and guess what, yep - it' asks for firefox.exe. So we re-point it to Q:\firefox.501\firefox.exe AGAIN.
So we try and sequence the application again, this time we include the '%USERPROFILE%\Documents\Aptana Studio 3 Workspace\' directory into the sequencer (it was previously excluded) and try the above steps again.
Unfortunately we experience the same problems.
For the next atempt I try and pre-populate the git environment both the virtual sequencing machine and the physcial machines by installing portable git into it's default directory:
'C:\Program Files (x86)\Git'
This time when we fire up Aptana it no longer complains about the missing GIT.exe but we sstill have to point it to firefox.exe
Then we run into another problem:
When opening up the terminal in Aptana it reads:
rm: cannot unlink `/etc/msys-1.0.dll.md5': Permission denied
ERROR: Your msys-1.0.dll is out-of-date!
At this point we begin to kind of give up on and decide to see if we can silently install Aptana without virtualising it, but wait...
A rule of virtualising pops up: Virtual applications can see physical applications and other virtual applications (as they are in the same virtual world / bubble), but physical applications can't see the virtual applications.
So even if we installed Aptana and git physically on the machine, Aptana would not be able to see the virtualised firefox.exe
And there is no way on the planet that I am going to undo my virtual applications because we can't get Aptana to play ball.
So I wonder if someone could help us to get Aptana and GIT.exe working in a virtual environment.
It seems as if the settings for Aptana (even though tested during the sequencing stage) do not carry down to the target machine.
Any help would be very much appreciated!
- Our virtual applications directory (Q:) is hidden from the user by default, but there's a trick in App-V whereby we can point the app to \127.0.0.1\q$\ instead of Q:\appname\
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您是否尝试过其中一种应用程序兼容性工具?我在 Changebase 工作,我们有一个免费的精简版工具 AOK。您可以下载它来查看您遇到的应用程序兼容性问题。 http://www.changebase.com/AOKLite/aoklite.aspx。
Have you tried one of the Application compatability tools? I work for Changebase we have a free lite version of our tool AOK. Which you can download to look at the App Compat issues you are having. http://www.changebase.com/AOKLite/aoklite.aspx.