Our team at work has written a wrapper application/interface to install a series of msi’s silently using msiexec.
My issue relates to installing the msi’s directed at IIS.
I keep getting the following error
Error 1314. The specified path ‘Default Web Site/ROOT/someVirtual’ is
unavailable. The Internet Information Server might not be running or
the path exists and is redirected to another machine. Please check the
status of this virtual directory in the Internet Services Manager.
The msi gets executed with the following parameters set as follows
msiexec.exe /i "D:\SOME.msi" UseShellExecute="false" TARGETSITE="Default Web Site" TARGETVDIR="someVirtual" TARGETAPPPOOL="DefaultAppPool" /qn /l* D:\SOME_log.txt
I realize this issue is stricly IIS related as I’m probably missing some setting/option that i need to setup.
As far as I can see my virtual is in this location “NT4334RB\Sites\Default Web Site\someVirtual”, so my best guess would be that “Default Web Site/ROOT/someVirtual” – ROOT is the issue and needs to be set, but to what? and how?
I just came across this line in the logfile – I think this might be of use?
Getting AppRoot From Url key ‘TARGETURL’
Seemed like my issue was related to me not specifying the metabase path correctly.
I ended up adding a helper in my code to the likes of this.
Found various solutions on SO (this got me thinking in the right direction), & I also installed something called IIS Metabase Explorer which was quite useful