Tuesday, 27 January, 2009This article describes how-to create uninstall program,
how-to add an uninstall shortcut to setup project, using C++ and MS Visual Studio.
This is necessary basic feature for setup project in Visual Studio.
1) Create setup project. For example SetupStopKa.
2) Create simple console project. Name it Uninstall. Add it to current solution.
3) Here are sources for Uninstall.zip.
4) Build Uninstall.exe.
5) Add Uninstall.exe to "Application Folder" in 'File System' part.
6) In "User's Program menu" create shortcut to Uninstall.exe and in properties of this shortcut in parameter 'arguments' insert value "[ProductCode]".
This is all steps!