Archive: $exedir


$exedir
Why is it that whenever I supply the path to a BMP using "$EXEDIR\Images\bitmap.bmp" the compiler says file now found? The file IS there.

Is $EXEDIR causing a problem?

Code:
;--------------------------------
;Interface Configuration

!define MUI_ICON setup.ico
!define MUI_UNICON setup.ico

!define MUI_ABORTWARNING

!define MUI_HEADERIMAGE
!define MUI_HEADERIMAGE_BITMAP "$EXEDIR\Images\header.bmp"
!define MUI_WELCOMEFINISHPAGE_BITMAP welcome.bmp

XPStyle on


why not simply use !define MUI_HEADERIMAGE_BITMAP "Images\header.bmp"

i guess you have a runtime/compiletime conflict there and you dont have to use $EXEDIR here


Originally posted by Yathosho
why not simply use !define MUI_HEADERIMAGE_BITMAP "Images\header.bmp"

i guess you have a runtime/compiletime conflict there and you dont have to use $EXEDIR here
Thank you so much, works like a dime. So simple yet so sometimes unobvious.