View Single Post
Old 3rd January 2013, 20:11   #3
Yathosho
Forum King
 
Yathosho's Avatar
 
Join Date: Jan 2002
Location: AT-DE
Posts: 3,366
Quote:
Originally Posted by T.Slappy View Post
1) Why colon after !insertmacro ???
ah, that was copied from the makensis window, it's not my actual code

Quote:
2) MUI_PAGE_LICENSE requires license file (parameter)
my actual code goes like this (and as i said, it worked for years!)

code:
!define MUI_COMPONENTSPAGE_CHECKBITMAP "ui\yi-${LOWERCASE}.bmp"
!define MUI_ICON "ui\yi-${LOWERCASE}.ico"
!define MUI_UI "ui\nodesc.exe"
!define MUI_LICENSEPAGE
!define MUI_LICENSEPAGE_BGCOLOR "FFFFFF"
!define MUI_INSTFILESPAGE_COLORS "000000 FFFFFF"
!define MUI_INSTFILESPAGE_PROGRESSBAR "colored smooth"
!define MUI_BGCOLOR "0x1b1b1b"
...
!define MUI_LICENSEPAGE_TEXT_BOTTOM "$(LabelLicense)"
!define MUI_LICENSEPAGE_CHECKBOX
!insertmacro MUI_PAGE_LICENSE "license.txt"

Yathosho is offline   Reply With Quote