paulc1981
24th September 2007 10:00 UTC
/D= not working on remote drives
Hi all
I'm using installdir with /D= to force a default path however this appears to only work on my local c:\ drive.
e.g.
Setup.exe /D=C:\Temp //Works
Setup.exe /D=M:\Temp //Fails
InstallDir is hardcoded in the scipt. I do not use InstallDirRegKey. When specifying any drive other then c:\ the installer defaults to the InstallDir path in the script.
Any hints on how I can get this to work?
Thanks in advance.
Paulc
Anders
24th September 2007 10:15 UTC
works for me
example1.exe /D=G:\test <<internal sata drive
example1.exe /D=Z:\test <<shared folder (mapped drive)
example1.exe /D=\\Megatron\Public\test <<UNC path
paulc1981
24th September 2007 10:38 UTC
I'm going to try this on an XP machine. I'm trying this on Vista at the moment. I'm getting some v.strange results using UNC paths now...
setup.exe /D=\\servername\test << fails
setup.exe /D=\\servername\test\test.txt << this works?!
Anders
24th September 2007 11:04 UTC
AllowRootDirInstall might come in to play here, not sure, anyway with a UNC path like \\servername\test, test is not a folder, but the share itself. setting AllowRootDirInstall to true and using setup.exe /D=\\servername\test\ (with ending backslash) might work (to lazy to test right now)
kichik
24th September 2007 19:47 UTC
If the problem shows only on Vista, it's UAC. When a process is elevated, it gets no access to your shares and cached credentials.
paulc1981
27th September 2007 14:46 UTC
Spot on. Vista and its UAC component was the problem. Thanks for your help.