Archive: AllowRootDirInstall not working for me


AllowRootDirInstall not working for me
Having a bit of difficulty with AllowRootDirInstall in the code below. I still cannot select (for example) c:\ or \\SHARENAME\

Can anyone help?

Thanks in advance... Neil

;--------------------------------
;Configuration
;General
OutFile "${SETUPNAMEPREFIX}${PRODUCTNAME}.exe"
AllowRootDirInstall true
;--------------------------------
;Modern UI Configuration
!define MUI_WELCOMEPAGE
!define MUI_CUSTOMPAGECOMMANDS
!define MUI_COMPONENTSPAGE
etc...


Works fine for me. What version of NSIS are you using?


NSIS v2.0b3
MakeNSISW 1.9


Works fine for me on b3 too. Where exactly can't you select C:\ and \\server\share?


I have two directory selection pages. In both of them the "next" button becomes greyed out if I type in c:\ or \\server\share


Can you attach the stripped script (no File commands) and a compiled example installer?


Ok found the problem in a function .onVerifyInstDir which was checking for root directory. Thanks for your help.