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. Get installer to create empty folders?

Get installer to create empty folders?

Scheduled Pinned Locked Moved C#
csharpquestion
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.
  • V Offline
    V Offline
    vlusardi
    wrote on last edited by
    #1

    I have a C# Windows form app with its own installer... I'd like the installer to create several empty subfolders below the install dir that will hold data that will be created by the app... how can this be done...?? thanks, vince

    M 1 Reply Last reply
    0
    • V vlusardi

      I have a C# Windows form app with its own installer... I'd like the installer to create several empty subfolders below the install dir that will hold data that will be created by the app... how can this be done...?? thanks, vince

      M Offline
      M Offline
      Martey
      wrote on last edited by
      #2

      Why not just have the app check if the folder exists upon startup and create it if it does not exist? That way, users can delete the folders, and the application will not break.

      V 1 Reply Last reply
      0
      • M Martey

        Why not just have the app check if the folder exists upon startup and create it if it does not exist? That way, users can delete the folders, and the application will not break.

        V Offline
        V Offline
        vlusardi
        wrote on last edited by
        #3

        thanks for the reply... as it turns out, that's exactly what I ended up doing

        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