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 to handle and cancel uninstall event

how to handle and cancel uninstall event

Scheduled Pinned Locked Moved C#
tutorial
3 Posts 2 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.
  • A Offline
    A Offline
    Alper Camel
    wrote on last edited by
    #1

    :confused: Anyone knows, how to handle uninstall event, and cancel this. I'd like to add custom action in my deploy project, that ask user for a password, if the password is true then it will uninstall otherwise, cancel thie uninstall application... My very best regards... (:

    L 1 Reply Last reply
    0
    • A Alper Camel

      :confused: Anyone knows, how to handle uninstall event, and cancel this. I'd like to add custom action in my deploy project, that ask user for a password, if the password is true then it will uninstall otherwise, cancel thie uninstall application... My very best regards... (:

      L Offline
      L Offline
      LongRange Shooter
      wrote on last edited by
      #2

      If you look here[^], you will find information for custom install modules. The custom install module gets called for both an install as well as an uninstall. It has been awhile since I worked with one but you are passed information telling you if this is an install or uninstall. You write your custom install class in your project. Include that custom install action in your setup and deployment project. Then you define install conditions which determine if the process can continue.

      A 1 Reply Last reply
      0
      • L LongRange Shooter

        If you look here[^], you will find information for custom install modules. The custom install module gets called for both an install as well as an uninstall. It has been awhile since I worked with one but you are passed information telling you if this is an install or uninstall. You write your custom install class in your project. Include that custom install action in your setup and deployment project. Then you define install conditions which determine if the process can continue.

        A Offline
        A Offline
        Alper Camel
        wrote on last edited by
        #3

        Thank you so muhc this will help me :)

        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