|
|
#7 |
|
Junior Member
Join Date: Jul 2008
Location: Ivanovo, Russia
Posts: 16
|
A new trouble. Method with using LangString is not working (as Afrow UK says). I using an image substitution in .onGUIInit. Script fragment:
*** !include MUI2.nsh *** !define MUI_CUSTOMFUNCTION_GUIINIT GUIInit *** ReserveFile "HeaderEN.BMP" ReserveFile "WizardEN.BMP" *** Function GUIInit File /oname=$PLUGINSDIR\bg.bmp bg.bmp BgImage::SetBg /NOUNLOAD /TILED "$PLUGINSDIR\bg.bmp" BgImage::Redraw /NOUNLOAD IntCmp $LANGUAGE ${LANG_RUSSIAN} End CopyImages CopyImages CopyImages: File /oname=$PLUGINSDIR\modern-header.bmp HeaderEN.bmp File /oname=$PLUGINSDIR\modern-wizard.bmp WizardEN.bmp #MessageBox MB_OK $PLUGINSDIR End: FunctionEnd I see that images in $PLUGINSDIR are replaced. Start and Finish pages are using new WizardEN.BMP (substituted bitmap), but header uses old bitmap... May be old header image has been cached? May be I must make it in other place (I try make it on .onInit, but in this case all images are not changed)? Where is problem? Thanks for support. |
|
|
|
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|