Old 17th December 2003, 20:37   #1
treehousetim
Junior Member
 
Join Date: Dec 2003
Location: middle america
Posts: 18
dirvar

when i try to use DirVar i get an error
the exact error message:

Usage: DirVar $(user_var: dir in/out))

section of code:
code:

PageEx directory
DirVar $BCB Out
DirText "Where are your project files?" "Select a new folder if the default is wrong."
PageExEnd



i've even tried this:
code:

PageEx directory
DirText "Where is C++ Builder Installed?" "Select a new folder if the default is wrong."
DirVar $BCB
PageExEnd



same error.

am I doing something wrong?

-tim
treehousetim is offline   Reply With Quote
Old 17th December 2003, 21:08   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
The correct usage is the second one. If it still gives you an error you've probably not defined $BCB using Var.

Var BCB

PageEx directory
DirVar $BCB
PageExEnd

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump