how do I create an uninstall file for my windows application

非 Y 不嫁゛ 提交于 2020-01-13 23:12:53

问题


I would like to create an uninstall file for my windows application but I am having a difficult time finding information on them. Could sombody breifly explain the workings of a uninstall file and/or provide me with a link to a walkthrough.

vs2008,c#, .net


回答1:


If you create an installer for your app using a visual studio installer project, you get the uninstaller with it. This works the same way with the NullSoft installer and WiX. The way this works is the MSI file (installer file) is not an executable, but rather a database file packaged with your application files, and it tells windows where to put the files. When Windows installs your app, it logs what it does, and so when it uninstalls, it undoes what is in the log. It's actually a lot more complicated than that, but basically that's how it works.

NullSoft and WiX are way better than the basic visual studio installer project, which is difficult and very cryptic, so try to use one of those if you can.




回答2:


Visual Studio can handle installation and uninstallation for you:
- Google : Creating Visual Studio 2008 Installer

http://flatlinerdoa.spaces.live.com/blog/cns!17124D03A9A052B0!412.entry

http://www.devx.com/vb2themax/Article/19893



来源:https://stackoverflow.com/questions/1936030/how-do-i-create-an-uninstall-file-for-my-windows-application

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