WineMonk / WineMonk.github.io

blog
1 stars 0 forks source link

C#实现程序卸载功能效果,删除程序自身 | WineMonk #173

Open WineMonk opened 1 year ago

WineMonk commented 1 year ago

https://shaoshao.net.cn/2023/03/14/20230314162225000/

思路一通过调用 cmd 运行删除文件、目录命令实现。 code12345678910111213141516171819202122232425262728Dictionary<string,string> Uninstall_RemoveList = new Dictionary<string, string>() { { "d:\t