Creating shared folder using VS2005 setup project

  • Thread starter Thread starter akashchopra13
  • Start date Start date
A

akashchopra13

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?
 
Hello, (e-mail address removed)!

a> I have a VS2005 setup project, and I am using the File System Editor
a> to
a> create a folder. Is there any way to set up a windows share for the
a> folder 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?search=NetShareadd&namespace=[All] )

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