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
Answers (8)
I eventually figured out that you have to put quotes around the UNC path. Thanks for all the responses!
msiexec /i "\\xxx.xxx.xxx.xxx\folder\install.msi" /lv c:\install.log REBOOT="ReallySuppress" /qn
Comments:
-
I eventually figured out that you have to put quotes around the UNC path. Thanks for all the responses! - nivek03 12 years ago
-
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? - nivek03 12 years ago
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.
Suggestions made in previous replies to inspect the verbose log file are obviously a good idea, but have you seen what happens if you try your install with a full User Interface, any error messages ?
Spartacus
Comments:
-
This was definitely helpful! I changed /quiet to /qr which helped me identify how to structure my UNC path. - nivek03 12 years ago