本文介绍了如何在 Visual Studio 安装项目中撤消永久标志的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用 Visual Studio 2010 创建了一个安装项目.我不小心检查了我的一个 dll 上的永久"属性,没有意识到我在做什么.来自 这里,一旦您打开该设置,我就知道关闭它不会解决问题.即使我已将 Permanent 属性改回 false,我最初标记为 Permanent 的文件也永远不会在卸载时删除.但是,总得有个办法吧?注册表中必须有一些东西,但我没有找到任何东西.有什么想法吗?

I created a setup project using Visual Studio 2010. I accidentally checked the "Permanent" property on one of my dlls, not realizing what I was doing. From here, I've learned once you turn that setting on, turning it off will not fix the problem. The file I originally marked Permanent will never be removed on an uninstall even though I've changed the Permanent property back to false. But, there's gotta be a way, right? There has to be something in the registry but I'm not finding anything. Any ideas?

推荐答案

我刚刚在整个注册表中搜索了我的 dll,并删除了每个引用它的节点.我不确定是哪一个成功了.没有一个属性名称明显到可以说该文件是永久的".

I just did a search for my dll in the whole registry and deleted every node with a reference to it. I'm not sure which one did the trick. None of the property names were obvious enough to say that the file was "permanent".

这篇关于如何在 Visual Studio 安装项目中撤消永久标志的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

06-06 01:01