aj kwak
14th March 2005 08:45 UTC
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.
?
glory_man
14th March 2005 13:28 UTC
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"
aj kwak
14th March 2005 14:11 UTC
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!!!