user.config

Hey,

I'm creating a setup to install an application with vb setup project.

I was wondering if it is possible to remove or overwrite the user settings (my.settings) file in C:\Documents and Settings\user\Local Settings\Application\Data because we want new settings every time the app is reinstalled.

I also would like to know how to remove files created by the app in the installation directory (ex.: ini files) if that is possible.

Thanks and Greetz




Answer this question

user.config

  • David Lowrie

    true, but the files are created by the application during runtime, not when the app is installed.

  • xsc

    How can we get the url of the installation folder that has been choosen by the user who installs the program. And how can we now which user is logged in to know his settings folder in local settings

  • LTA

     

    When you do a deployment project as opposed to a one click publication, to acquire a much wider range of choices. Each file has a properties box and one propety is:

    Permanent which when false says "remove this file on deinstallation.



  • adam.hodge

    You could write a siimple preinstallation app as part of your deployemnt that would delete those files.



  • Nodnarb501

    Whoa,,,,

    You're adding to the functional spec like crazy......

    You can always leave yourself a note in the registry.....



  • user.config