PDA

View Full Version : How to create a shared directory w/IS08



nicoeschpiko
02-02-2010, 02:17 PM
How can I create a shared directory w/Installshield 2008 in Installscript?

rohricht
02-05-2010, 12:09 PM
Hi! A way to do this is use a bat. You can create it on script, with the follow content:

net share " + sNomeCompartilhamento + "=" + sDiretorio + " /UNLIMITED /GRANT:" + sUsuarioEscrita + ",CHANGE

where the first var is the share name, the second is the directory to share and the last is the user name on machine.