Set up project uninstall C#

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • ramya.viswanath@gmail.com

    #1

    Set up project uninstall C#

    I have created set up and deployment project for my C# application and
    installed it in a machine.When i uninstall the same the log files and
    other temporary files created during application run is not getting
    deleted.Please suggest

  • Michael A. Covington

    #2
    Re: Set up project uninstall C#

    <ramya.viswanat h@gmail.comwrot e in message
    news:1187368762 .704550.281880@ i13g2000prf.goo glegroups.com.. .
    >I have created set up and deployment project for my C# application and
    installed it in a machine.When i uninstall the same the log files and
    other temporary files created during application run is not getting
    deleted.Please suggest
    Where are you creating these files? A program should not write in
    C:\Program Files while it runs. If it tries, a user without administrator
    privileges will not be able to run it.

    Normally, uninstalling a program should *not* delete files that the user
    created with it. So I think the OS is acting correctly.


    Comment

    • Ignacio Machin \( .NET/ C# MVP \)

      #3
      Re: Set up project uninstall C#

      Hi,


      <ramya.viswanat h@gmail.comwrot e in message
      news:1187368762 .704550.281880@ i13g2000prf.goo glegroups.com.. .
      >I have created set up and deployment project for my C# application and
      installed it in a machine.When i uninstall the same the log files and
      other temporary files created during application run is not getting
      deleted.Please suggest
      >
      The isntaller keeps track of what he installed in the first place, and use
      that when uninstall. IF there are other files in the folder they are not
      deleted.

      Do not store files in the Program Files folder, use Application Data instead


      Comment

      Working...