Install script from network drive
Dear All,
I was wondering if someone could help me please...
I'm going to sinatll an application fromn the script but for some reason gives me an error. It says that the .exe doesn't exist.
I've tried to copy the .exe on the local machine and it works. I'm running the script as "System"
How can I do it? I was thinking to create a folder on the server but I don't knwo what rights I need to give it.
Many thanks!
Answers (3)
you need a batch file to map a drive letter for you since the script runs as system. Create an installed user in ad with read rights to the share.
net use h: \\server\share /user:domain\installer password
run your script
net use h: /delete
Comments:
-
or give "everyone" read rights to the share. but I do not recommend this security hole - SMal.tmcc 10 years ago
Comments:
-
net use h: \\server\share /user:contoso\spark XYZ
h:program.exe /s
or
misexec h:\program.msi /qn
net use h: /delete - SMal.tmcc 10 years ago