Archive: another directory


another directory
I have just this code

Var ANOTHER_DIR

!define MUI_DIRECTORYPAGE_VARIABLE $ANOTHER_DIR
!insertmacro MUI_PAGE_DIRECTORY

and i can instal on another dir
but in the MUI_PAGE_DIRECTORY i see an textbox with nothing and i want a standard or preferencedirectory (like c:/Program Files/myprog) but it must be changebel with the browse button.

?


In .onInit function define your $ANOTHER_DIR variable.
For standard or preferencedirectory:

StrCpy $ANOTHER_DIR $INSTDIR

For c:\Programm\My Prog:
StrCpy $ANOTHER_DIR "c:\Programm\My Prog"

Re: another directory

Originally posted by aj kwak
I have just this code

Var ANOTHER_DIR

!define MUI_DIRECTORYPAGE_VARIABLE $ANOTHER_DIR
!insertmacro MUI_PAGE_DIRECTORY

and i can instal on another dir
but in the MUI_PAGE_DIRECTORY i see an textbox with nothing and i want a standard or preferencedirectory (like c:/Program Files/myprog) but it must be changebel with the browse button.

?
thx!!!