How can I undo Permanent flag in Visual Studio Setup Project

▼魔方 西西 提交于 2019-12-12 04:34:51

问题


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?


回答1:


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".



来源:https://stackoverflow.com/questions/42284519/how-can-i-undo-permanent-flag-in-visual-studio-setup-project

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!