卸载时Visio即点即用注册表修改/删除 [英] Visio Click-To-Run registry modify/delete when it uninstall
问题描述
我遇到了一个注册管理机构用Visio读/写的问题,它是由点击运行安装程序安装的。我开发了一个vsl形式的加载项,它在visio中运行。我的加载项读取,写入和删除注册表,但点击运行visio将
重定向到其自己的路径或配置单元。所以我的其他产品(很多)无法找到这些注册表到实际路径。
要解决注册表重定向问题,我有两个解决方法,但两者都有它们的缺点。让我与大家分享。
解决方法-1:
- 我创建了一个Windows服务,可以不断地将重定向的注册表同步到实际路径,反之亦然。所以我的其他产品可以同时读取它。
- 问题:我在不同的机器上测试过这项服务,我发现服务根本不起作用,我的其他产品没有及时找到注册表。因为同步操作需要更多时间来复制注册表,而不是我的其他产品获取
来读取它。在高配置系统中它运行良好。
解决方法-2:
- 如果我创建符号链接注册表到点击运行的地方visio重定向注册表,然后没有任何不同系统的问题,我的所有产品运行良好,及时读取,写入和删除注册表。
- 问题:当visio升级时我的符号链接注册表可能会被删除,这会影响我的实际注册表也被删除,所有产品都无法运行。我已经测试了卸载visio它真的点击运行的hive,其中包含我的符号链接,所以
最后,我丢失了我的原始注册表。我没有实际注册表的最新备份。所以,如果我重新安装visio,我就无法看到我的产品运作良好。
- 我不知道何时获取visio升级或办公室卸载事件的通知,删除符号链接,我想要我的实际注册表没有被删除。
你能否给我你的建议和推荐?
Hi,
I am facing a problem of registries reading/writing with Visio which is installed by the click-to-run installer. I have developed an add-in in form of vsl which run in visio. My add-ins read, writes and deletes the registry, but click-to-run visio redirect
to its own path or hive. so that my other products (many) can not found those registries to the actual path.
To resolve the registry redirection problem I have two workarounds but both have their disadvantage. Let me share with you.
Workaround-1 :
- I have created a windows service which continuously syncs redirected registries to actual path and visa versa. So my other products can read it simultaneously.
- Problem: I have tested this service on a different machine where I have found service is not working at all, my other products not found registries in a timely manner. Because sync operation takes more time to copy registries than my other products acquire
to reads it. In high configure system it runs well.
Workaround-2 :
- If I create symbolic link registry to where click-to-run visio redirect registries, then there is not any issue of a different system, my all products run well and read, writes and deletes registries in a timely manner.
- Problem : when visio gets upgraded my symbolic link registry may deleted, which impact my actual registry also deleted and all products are dead to work. I have tested in un-installing visio it really click-to-run hive which contains my symbolic link, so
finally, I lost my original registry. I have not the latest backup of my actual registry. so if I reinstall visio I can not able to see my products work well.
- I have no idea when to get notification of visio upgrade or office un-installation events which delete the symbolic link, I want my actual registry not get deleted.
Can you give me your suggestions and recommendations?
推荐答案
Hi Anu,
Hi Anu,
您想阅读哪些注册管理机构?也许你可以找到Visio点击运行的详细注册表项,并专门为点击运行开发加载项。
What's registries do you want to reading? Maybe you can find the detailed registry keys for Visio click-to-run and develop the add-ins for click-to-run specially.
这篇关于卸载时Visio即点即用注册表修改/删除的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!