MSI installation from a UNC path
Is it possible to install an .msi via a UNC path? I've tried the following with no luck. Anyone know if this syntax is even supported?
msiexec.exe /quiet /lv c:\install.log /i \\xxx.xxx.xxx.xxx\folder\install.msi /norestart
Answer Summary:
I eventually figured out that you have to put quotes around the UNC path. Thanks for all the responses!
I eventually figured out that you have to put quotes around the UNC path. Thanks for all the responses!
0 Comments
[ - ] Hide Comments
Answer this question
or Comment on this question for clarity
Answers
-
I eventually figured out that you have to put quotes around the UNC path. Thanks for all the responses!
-
So this works via the command prompt under my domain admin account which has access to the UNC path. I would ideally like this to be able to run under the local Administrator account. In the local Administrator account I have to authenticate to the .msi location before I can run the command or it won't find the .msi. How can I get around this?
To run from a UNC as local account do a (or add to your script):
net use \\server\share password /user:domain\user
this will connect you to the server. You can always map a drive letter and call the msi via drive:\ instead of unc.
Please log in to comment
-
create a domain user "kinstaller" that has only rights to the shares and use this for any task like this.
-
-
This was definitely helpful! I changed /quiet to /qr which helped me identify how to structure my UNC path.
Comments