ryanpager
18th August 2009 22:55 UTC
Installing to a UNC Path using MUI
When the user is asked to browse for a directory, if the user would rather type a UNC path (i.e. \\server\asim\blahblahblah) is there a way to allow this?
Currently it just greys out the install button if this is typed into the box.
Thanks for the help!
jpderuiter
18th August 2009 23:07 UTC
Searching the forum I found:
http://forums.winamp.com/showthread....hreadid=136203
ryanpager
19th August 2009 18:19 UTC
Neither of the solutions in that thread worked; I guess ill keep searching
pengyou
19th August 2009 23:43 UTC
Currently it just greys out the install button if this is typed into the box.
This does NOT happen in my installer which was built using NSIS 2.45 and the old version of MUI (not MUI version 2).
When I started typing \\server the NEXT button was greyed out but when I continued typing the required path the NEXT button was enabled once I had typed enough (e.g. \\server\share\installation_folder) so I could install my application using that UNC path.
Are you using MUI version 2 (!include MUI2.nsh) in your script?
ryanpager
20th August 2009 14:34 UTC
Im using MUI version 2 now, still doesnt work.
The path I am typing is correct:
\\angleton1\server\ASIMBridge
It just keeps the "continue" button greyed out still.
pengyou
20th August 2009 18:15 UTC
The problem might be caused by something in your script.
Try compiling the Examples\Modern UI\Basic.nsi script that comes with NSIS then run Basic.exe and see if you can select a UNC path when you get to the "Choose Install Location" page.
ryanpager
20th August 2009 18:36 UTC
It does not work.
The problem is, I am not browsing towards the path, I am literally typing in the UNC Path install.
pengyou
20th August 2009 18:39 UTC
The problem is, I am not browsing towards the path, I am literally typing in the UNC Path install.
That is what I am doing! In fact I have not even tried browsing to the path.
ryanpager
20th August 2009 18:57 UTC
wtf! Im not sure why its not working, but I just type in the path and the next button is disabled still
pengyou
20th August 2009 19:15 UTC
Have you tried using Windows Explorer to navigate to that UNC path?
ryanpager
20th August 2009 19:16 UTC
yup it works lol