Creating shared folder using VS2005 setup project

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

    Creating shared folder using VS2005 setup project

    I have a VS2005 setup project, and I am using the File System Editor to
    create a folder. Is there any way to set up a windows share for the
    folder from within the installer?

  • Vadym Stetsyak

    #2
    Re: Creating shared folder using VS2005 setup project

    Hello, akashchopra13@g mail.com!

    aI have a VS2005 setup project, and I am using the File System Editor
    ato
    acreate a folder. Is there any way to set up a windows share for the
    afolder from within the installer?


    There is no built-in functionality to do that.
    You can write custom action that will do this.

    To create netowk share you can either use WMI or
    directly win api ( NetShareAdd )
    ( http://pinvoke.net/search.aspx?searc...add&namespace=[All] )

    --
    Regards, Vadym Stetsyak
    www: http://vadmyst.blogspot.com

    Comment

    • akash

      #3
      Re: Creating shared folder using VS2005 setup project

      Thanks Vadym, I'll give that a go.

      Comment

      Working...