是否可以自动执行点击运行应用程序? [英] Is it possible to automate a Click-to-run application?

查看:458
本文介绍了是否可以自动执行点击运行应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个小应用程序通过COM / OLE自动化自动化Microsoft Word。

I have a small application which automates Microsoft Word via COM/OLE Automation.

不幸的是,这不适用于Word的虚拟化点击运行版本,因为他们在注册表中没有所需的键。 (至少不在它们被删除的地方)换句话说: CreateObject 失败,因为必要的COM类没有注册。

Unfortunately this doesn't work with the virtualized Click-to-run editions of Word, because they don't have the required keys in the registry. (At least not where they are exptected to be) In other words: CreateObject fails because the necessary COM classes are not registered.

是否有任何方法自动处理Microsoft Office的点击即可运行的版本?也许有一些兼容性层?

Is there any way to automate the Click-to-run editions of Microsoft Office? Perhaps some compatibility layer?

编辑:我发现只是两个页面,用户/开发者抱怨这个。 OLE自动化已经过时或没有人正在使用C2R版本...

I found just two pages where users/developers were complaining about this. Either OLE automation has become obsolete or no one is using the C2R editions...

推荐答案

不幸的是,点击即可运行Office版本。

Unfortunately it's not possible to do automation with the Click-To-Run Office editions. It's due to the virtualization process used.

根据此处的信息您可以将C2R版本切换到MSI版本。似乎许可证对于两个版本和产品密钥是相同的。

According to the information here you can switch your C2R-edition to a MSI edition. It seems like the license is the same for both editions and also the product key.

这篇关于是否可以自动执行点击运行应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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