Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. How create uninstal project?

How create uninstal project?

Scheduled Pinned Locked Moved C#
questioncsharpsysadminhelpworkspace
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    ersinsivaz
    wrote on last edited by
    #1

    I can't create uninstal project in my .NET 2003 Setup and Deployment Project. How can I do it? Thank you for your help...

    This is my sign

    L N 2 Replies Last reply
    0
    • E ersinsivaz

      I can't create uninstal project in my .NET 2003 Setup and Deployment Project. How can I do it? Thank you for your help...

      This is my sign

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      hi, Process x = new Process(); x.StartInfo.FileName = "msiexec.exe"; x.StartInfo.Arguments = "/x {B0AD831E-E9AA-419A-90A7-0AA96C4CAFB2}"; x.Start(); {B0AD831E-E9AA-419A-90A7-0AA96C4CAFB2} is the setup project code. (in properties window - replace this with your own project code) this is what you need. ps: put the code above in a simple windows app. and place its ***.exe into your main project folder. and create a shortcut to the program files folder. then when u click on that shortcut it will uninstall your setup. Regards, Bye.

      1 Reply Last reply
      0
      • E ersinsivaz

        I can't create uninstal project in my .NET 2003 Setup and Deployment Project. How can I do it? Thank you for your help...

        This is my sign

        N Offline
        N Offline
        Nader Elshehabi
        wrote on last edited by
        #3

        Hello Wait a minute!! I thought setp program does that for you?!! Check the Add/Remove programs in the control panel after you install your app. Otherwise why would you make a setup?!!! Regards:rose:

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups