vb6 xcopy部署 [英] vb6 xcopy deployment

查看:124
本文介绍了vb6 xcopy部署的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都可以告诉我如何将vb6(COM dll的ocx和exes)的旧版应用程序转换为使用Regfree COM。

Can any one tell me how to convert an legacy application which is vb6 ( COM dll's ocx and exes) to use Regfree COM .

我尝试在Visual Studio和已创建的清单文件,但某些dll却报错。

I tried opening the dlls in visual studio and created manifest file, but some of the dlls it is giving error.

是否有任何工具可以帮助我完成此过程?

Is there any tools out there which will help me to do this process?

我尝试了来自codeproject的一个名为regsvr42的工具,该工具并未完全创建清单。

I tried a tool from codeproject which is called regsvr42, which is not creating the manifest fully.

我使用了类似在PE Explorer中,我可以获取所有的typelib信息,但是将它们转换为清单文件太困难了。

I used tools like PE explorer where I get all the typelib information , but converting them into manifest files is too difficult.

我们已经开始将其迁移到.NET,几个月来,我们不得不

We have started migrating that to .NET, for some months we have to deploy it, it will easier if it is xcopy based deployment.

推荐答案

要创建清单文件,可以尝试使用制作我的清单。来自 http://mmm4vb6.atom5.com/

To create manifest files you can try to use Make My Manifest from http://mmm4vb6.atom5.com/.

EDIT MMM网站是d拥有。我在此处看到作者遇到了麻烦托管,并提供了另一个位置来获取我的清单-在此处下载

EDIT The MMM website is down. I see here that the author was having trouble with their hosting and has provided another location to get Make My Manifest - download it here.

如果您可以控制对象的创建,则可以从 http://www.thecommon.net/10.html

If you can control creation of objects you can use DirectCOM from http://www.thecommon.net/10.html

请记住,如果一个使用的DLL或OCX正在创建其他COM使用CreateObject调用动态对象,该引用将不会存储在vbp项目文件中,并且您不会获得完整的清单文件。可能需要在应用程序运行时捕获对象的创建。 Depends.exe应用程序可以分析运行中的应用程序并报告所有使用的dll。我不知道是否有可以找到其他COM相关信息的工具。

Keep in mind that if one of used DLLs or OCXs is creating other COM objects dynamically with CreateObject calls, that reference will not be stored in vbp project file and you won't get full manifest file. Probably you will have to catch object creations while the application is running. Depends.exe application can profile running application and report all used dlls. I don't know if there is tool that can find additional COM related information.

这篇关于vb6 xcopy部署的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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