hi @all,
It's possible to add and Cancel a Network Drive with NSIS.
(Maybe a Plugin includes the WNetAddConnection and WNetCancelConnection)
greets
Amun
Add and Cancel a Network Drive
3 posts
I am not sure if this is what you are asking but here goes...
I add and remove network drives in my scripts. I do this with exec and the command "net use".
Here is a snippet of how I add a Q: drive through windows
I add and remove network drives in my scripts. I do this with exec and the command "net use".
Here is a snippet of how I add a Q: drive through windows
And here is how I remove that Q: driveExec '"net" "use" "Q:" "\\server\rootDirectory" "/user:username" "password"'
Q: is just an example... it can be any drive letter not in use.Exec '"net" "use" "Q:" "/delete"'
Thanks, it works