ice_uk
8th July 2005 14:20 UTC
MUI Font / InstallDir Issues
Hello everyone. All right, two questions:
1. How can I set the InstallDir depending on the version of Windows the user has? I've tried using the GetWindowsVersion function in the docs, but I couldn't make it work with InstallDir.
2. Is there any way of changing the font from the screenshot to Arial 12 Bold without altering the source code?
kichik
8th July 2005 14:24 UTC
- Change $INSTDIR in .onInit instead of using InstallDir.
- What screenshot?
kichik
8th July 2005 14:32 UTC
If you want to change just that text, you'd have to change Contrib\Modern UI\System.nsh line 1179 (CreateFont $MUI_TEMP2 "$(^Font)" "12" "700"). Else, you can use SetFont.
ice_uk
8th July 2005 14:34 UTC
That was fast... Thanks!