Skip to content
⌘ NSIS Forum Archive

Installing to a UNC Path using MUI

11 posts

ryanpager#

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#
Searching the forum I found:
Are you a developer who uses NSIS to distribute your application? Are you a Winamp plug-in developer who wants to use NSIS to distribute your plug-in? Have suggestions for other people like you? This is the place.
pengyou#
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#
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#
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#
It does not work.

The problem is, I am not browsing towards the path, I am literally typing in the UNC Path install.
pengyou#
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#
wtf! Im not sure why its not working, but I just type in the path and the next button is disabled still