chui
13th September 2003 16:04 UTC
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...
kichik
13th September 2003 16:26 UTC
Works fine for me. What version of NSIS are you using?
chui
14th September 2003 09:30 UTC
NSIS v2.0b3
MakeNSISW 1.9
kichik
14th September 2003 10:13 UTC
Works fine for me on b3 too. Where exactly can't you select C:\ and \\server\share?
chui
16th September 2003 00:56 UTC
I have two directory selection pages. In both of them the "next" button becomes greyed out if I type in c:\ or \\server\share
kichik
16th September 2003 00:57 UTC
Can you attach the stripped script (no File commands) and a compiled example installer?
chui
17th September 2003 05:54 UTC
Ok found the problem in a function .onVerifyInstDir which was checking for root directory. Thanks for your help.