问题
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