Archive: MUI Font / InstallDir Issues


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?


  1. Change $INSTDIR in .onInit instead of using InstallDir.
  2. What screenshot?

Here's the screenshot: http://img221.imageshack.us/img221/6...eenshot5ud.gif


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.


That was fast... Thanks!