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
  1. Home
  2. General Programming
  3. C#
  4. want to make uninstaller

want to make uninstaller

Scheduled Pinned Locked Moved C#
csharpvisual-studio
8 Posts 4 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.
  • D Offline
    D Offline
    devesh_code
    wrote on last edited by
    #1

    Hello I want to make an Uninstaller in Visual Studio. I have already made the Installer in Visual Studio. Reply me asap. Thanks

    Devesh Mishra

    C 1 Reply Last reply
    0
    • D devesh_code

      Hello I want to make an Uninstaller in Visual Studio. I have already made the Installer in Visual Studio. Reply me asap. Thanks

      Devesh Mishra

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      The installer IS the uninstaller. Your program will get added to the add/remove programs list when you install it

      Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

      D 1 Reply Last reply
      0
      • C Christian Graus

        The installer IS the uninstaller. Your program will get added to the add/remove programs list when you install it

        Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

        D Offline
        D Offline
        devesh_code
        wrote on last edited by
        #3

        Thanks for ur reply.. Yah i know that my program will get added to the add/remove programs list when i install it. But i dont want to uninstall it from control panel. I want to uninstall it from start menu. Thanks

        Devesh Mishra

        M 1 Reply Last reply
        0
        • D devesh_code

          Thanks for ur reply.. Yah i know that my program will get added to the add/remove programs list when i install it. But i dont want to uninstall it from control panel. I want to uninstall it from start menu. Thanks

          Devesh Mishra

          M Offline
          M Offline
          Muammar
          wrote on last edited by
          #4

          Just add a shortcut of the uninstaller to the right folder Drive:\Documents and Settings\YourUser\Start Menu\Programs\YourAppFolder\Uninstall.exe //for a specific user "usually current by matching the current user System.Environment.UserName with the special folder" or: Drive:\Documents and Settings\All Users\Start Menu\Programs\YourAppFolder\Uninstall.exe //for all users ps. Of course you'll have to check your folders locations using System.Environment.SpecialFolder.ProgramFiles


          Smile: A curve that can set a lot of things straight! (\ /) (O.o) (><)

          D 1 Reply Last reply
          0
          • M Muammar

            Just add a shortcut of the uninstaller to the right folder Drive:\Documents and Settings\YourUser\Start Menu\Programs\YourAppFolder\Uninstall.exe //for a specific user "usually current by matching the current user System.Environment.UserName with the special folder" or: Drive:\Documents and Settings\All Users\Start Menu\Programs\YourAppFolder\Uninstall.exe //for all users ps. Of course you'll have to check your folders locations using System.Environment.SpecialFolder.ProgramFiles


            Smile: A curve that can set a lot of things straight! (\ /) (O.o) (><)

            D Offline
            D Offline
            devesh_code
            wrote on last edited by
            #5

            I think u r not getting me what i need... I want to make Uninstall.exe using Visual studio.You are saying to add me the shortcut of Uninstaller. But i dont have Uninstaller.exe. Got it ??? Reply me asap. Thanks

            Devesh Mishra

            D 1 Reply Last reply
            0
            • D devesh_code

              I think u r not getting me what i need... I want to make Uninstall.exe using Visual studio.You are saying to add me the shortcut of Uninstaller. But i dont have Uninstaller.exe. Got it ??? Reply me asap. Thanks

              Devesh Mishra

              D Offline
              D Offline
              Dave Kreskowiak
              wrote on last edited by
              #6

              All you have to do is add ashortcut with the command line to invoke msiexec/x option and the correct .MSI file name OR Product Code.

              msiexec /x filename.msi

              or

              msiexec /x productcode

              A guide to posting questions on CodeProject[^]
              Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                   2006, 2007

              D 1 Reply Last reply
              0
              • D Dave Kreskowiak

                All you have to do is add ashortcut with the command line to invoke msiexec/x option and the correct .MSI file name OR Product Code.

                msiexec /x filename.msi

                or

                msiexec /x productcode

                A guide to posting questions on CodeProject[^]
                Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                     2006, 2007

                D Offline
                D Offline
                devesh_code
                wrote on last edited by
                #7

                Thanks for ur reply... I am doing the same whatever you are saying to do...But its not happening.... I got a message box and it shows "This installation package could not be opened" Now what should i do... Thanks

                Devesh Mishra

                D 1 Reply Last reply
                0
                • D devesh_code

                  Thanks for ur reply... I am doing the same whatever you are saying to do...But its not happening.... I got a message box and it shows "This installation package could not be opened" Now what should i do... Thanks

                  Devesh Mishra

                  D Offline
                  D Offline
                  Dave Kreskowiak
                  wrote on last edited by
                  #8

                  Did you supply the FULL path to the .MSI file? A better option would be to use the Product code instead.

                  A guide to posting questions on CodeProject[^]
                  Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                       2006, 2007

                  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