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. Visual Basic
  4. Entry point for uninstall

Entry point for uninstall

Scheduled Pinned Locked Moved Visual Basic
question
4 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
    anom2m
    wrote on last edited by
    #1

    Hi all, i need to edit file on the target folder and this editing must run in Uninstalling this program what exaclty shall I do?

    K 1 Reply Last reply
    0
    • A anom2m

      Hi all, i need to edit file on the target folder and this editing must run in Uninstalling this program what exaclty shall I do?

      K Offline
      K Offline
      Kschuler
      wrote on last edited by
      #2

      In your setup project open up the Custom Actions Editor. Here you can specify other actions to do during installation or uninstallation. You'll have to make a new .exe to edit the file and place that .exe it in the Uninstall folder here.

      A 1 Reply Last reply
      0
      • K Kschuler

        In your setup project open up the Custom Actions Editor. Here you can specify other actions to do during installation or uninstallation. You'll have to make a new .exe to edit the file and place that .exe it in the Uninstall folder here.

        A Offline
        A Offline
        anom2m
        wrote on last edited by
        #3

        i create new class that display warning message if he find string in text file and this code inside Sub of the class so how can i call this function from the dll in the setup project while uninstall Code : Imports System.IO Imports System.Windows.Forms Public Class Uninstall Dim str As String Public Sub FixDynamics() str = System.IO.File.ReadAllText("Test.txt") If str.Contains("Auto") = True Then MessageBox.Show("Exist txt") End If End Sub -- modified at 3:26 Thursday 25th May, 2006

        K 1 Reply Last reply
        0
        • A anom2m

          i create new class that display warning message if he find string in text file and this code inside Sub of the class so how can i call this function from the dll in the setup project while uninstall Code : Imports System.IO Imports System.Windows.Forms Public Class Uninstall Dim str As String Public Sub FixDynamics() str = System.IO.File.ReadAllText("Test.txt") If str.Contains("Auto") = True Then MessageBox.Show("Exist txt") End If End Sub -- modified at 3:26 Thursday 25th May, 2006

          K Offline
          K Offline
          Kschuler
          wrote on last edited by
          #4

          Maybe this will help you? http://www.codeproject.com/dotnet/CustomizingInstallers.asp[^]

          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