Archive: How to change the text that the DireText command controls on run time


How to change the text that the DireText command controls on run time
How to change the text that the DireText command controls on run time.
Thx.
aricc


outfile 'DirText.exe'
InstallDir '$PROGRAMFILES\DirText'

var DirText
var DirSubTxt
var DirBrowse
var DirBrowseDlg

DirText $DirText $DirSubTxt $DirBrowse $DirBrowseDlg

page directory 'dir_pre'
page instfiles

Section ""
SetOutPath '$INSTDIR'
SectionEnd

Function dir_pre
strcpy $DirText 'text'
strcpy $DirSubTxt 'subtext'
strcpy $DirBrowse 'browse_button_text'
strcpy $DirBrowseDlg 'browse_dlg_text'
FunctionEnd