Just wondering, is this code safe to change images?
100%?StrCmp $Language 1031 0 +5
Delete "$PLUGINSDIR\modern-wizard.bmp"
SetOutPath "$PLUGINSDIR"
File "tigwg.bmp"
Rename "$PLUGINSDIR\tigwg.bmp" "$PLUGINSDIR\modern-wizard.bmp"
5 posts
100%?StrCmp $Language 1031 0 +5
Delete "$PLUGINSDIR\modern-wizard.bmp"
SetOutPath "$PLUGINSDIR"
File "tigwg.bmp"
Rename "$PLUGINSDIR\tigwg.bmp" "$PLUGINSDIR\modern-wizard.bmp"
File "/oname=$PLUGINSDIR\\modern-wizard.bmp" "tigwg.bmp" (thanks 🙂)StrCmp $Language 1031 0 +4
SetOverwrite on
SetOutPath "$PLUGINSDIR"
File "/oname=$PLUGINSDIR\modern-wizard.bmp" "tigwg.bmp"
or!define MUI_WELCOMEFINISHPAGE_BITMAP "tigw.bmp"
The image is the last !define in the script. Is there another way of doing this conditionally so one image is copied to $PLUGINSDIR with no need to replace it?!define MUI_WELCOMEFINISHPAGE_BITMAP "tigwg.bmp"