hi all
some software come with it's own uninstaller.
some must be un install via control panel
My question is how to make my code ( in C#) has it's own un installer
regard
han
Uninstaller in c# software
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Kirtan PatelRank #292 · 8.6K reputationPosted Dec 1, 2009, 2:03 AM EST
Just Use
In design mode
Build Menu >>Publish Option
That Will Create Setup of Your Application ..and After then when you install Application from that Setup it will also create Control panel Entry too from where you can Uninstall it
Lalit MRank #1,186 · 1.5K reputationPosted Dec 1, 2009, 2:02 AM EST
You can try this code sample uninstall application melodramatically. Microsoft.Win32.RegistryKey Fregistry = Microsoft.Win32.Registry.LocalMachine.OpenSubKey("SOFTWARE") .OpenSubKey("Microsoft").OpenSubKey("Windows").OpenSubKey("CurrentVersion") .OpenSubKey("Installer").OpenSubKey("UserData") .OpenSubKey("S-1-5-18").OpenSubKey("Products"); string []Names = Fregistry.GetSubKeyNames() ; string uninstall = ""; string ApplicationName = "Adobe Reader 7.0.8"; for (int i = 0; i sample code More info