Creating shared folder using VS2005 setup project

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?
 
V

Vadym Stetsyak

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top