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 Studio
  4. Setting folder permissions thru set-up project

Setting folder permissions thru set-up project

Scheduled Pinned Locked Moved Visual Studio
sysadminquestion
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.
  • D Offline
    D Offline
    dennisd45
    wrote on last edited by
    #1

    I have a standard Set-Up project in VS2003 for my application. As part of the deployment, several folders will be created on the user's machine. Is there a way to set the folder permissions for these new folders?

    No eternal reward will forgive us now for wasting the dawn. - Jim Morrison

    S 1 Reply Last reply
    0
    • D dennisd45

      I have a standard Set-Up project in VS2003 for my application. As part of the deployment, several folders will be created on the user's machine. Is there a way to set the folder permissions for these new folders?

      No eternal reward will forgive us now for wasting the dawn. - Jim Morrison

      S Offline
      S Offline
      Steve S
      wrote on last edited by
      #2

      You could do it with a custom action DLL which can use API calls, or even execute CACLS to set permissions. Won't work with a non-NTFS filesystem, of course, so you might want to check for that first.

      Steve S Developer for hire

      D 1 Reply Last reply
      0
      • S Steve S

        You could do it with a custom action DLL which can use API calls, or even execute CACLS to set permissions. Won't work with a non-NTFS filesystem, of course, so you might want to check for that first.

        Steve S Developer for hire

        D Offline
        D Offline
        dennisd45
        wrote on last edited by
        #3

        Thanks for the info.

        No eternal reward will forgive us now for wasting the dawn. - Jim Morrison

        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