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.
?
another directory
3 posts
In .onInit function define your $ANOTHER_DIR variable.
For standard or preferencedirectory:
For standard or preferencedirectory:
For c:\Programm\My Prog:StrCpy $ANOTHER_DIR $INSTDIR
StrCpy $ANOTHER_DIR "c:\Programm\My Prog"
Re: another directory
Originally posted by aj kwakthx!!!
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.
?