Archive: MUI_UNISTALL_BITMAP BUGS o Problems ?


MUI_UNISTALL_BITMAP BUGS o Problems ?
Hello to all,

I worked with the new installer 2rc2. It is a very good Tool. It worked for the installation very good. Now I try to make the unistall. The Problem is when I use extra Language Strings and Load two Lanuages.

Before I diefined the Lanuages I set Set Bitmaps like this:

!include "MUI.nsh"

!define MUI_HEADERIMAGE_UNBITMAP "file.bmp"
!define MUI_UNWELCOMEFINISHPAGE_BITMAP "file1.bmp"
!define MUI_UNWELCOMEFINISHPAGE_BITMAP_NOSTRETCH
!define MUI_UNICON "file2.ico"

Installation ist OK.

But in the uninstall I dit not get any pictures. No Herader or Bitmap on the first Page.(Welcomepage).

I tryes to use your Exsample for Multlannguage files, this works good until I had to define the Lanuage Strings. Because I have to Define the Lanuage Files Before I load

!insertmacro MUI_LANGUAGE "English"
!insertmacro MUI_LANGUAGE "German"
!insertmacro MUI_RESERVEFILE_LANGDLL

LangString TEXT_WELCOME_INFO_TEXT ${LANG_ENGLISH} "This wizard will guide you through.. "
LangString TEXT_WELCOME_INFO_TEXT ${LANG_GERMAN} "Dieser Assistent wird Sie "

!define MUI_LICENSEPAGE_RADIOBUTTONS
!insertmacro MUI_PAGE_WELCOME
!insertmacro MUI_PAGE_LICENSE $(license_lang_string)
.
..
!insertmacro MUI_UNPAGE_WELCOME
!insertmacro MUI_UNPAGE_CONFIRM
!insertmacro MUI_UNPAGE_COMPONENTS

So I hope you can underdand may Problem. If I Load the Language files before I get the Bitmaps, but no Language Files, the other Way I get the Languae files, but no Bitmap.

And the Problem is only on the uninstalling.

You you please help me. I am getting ....

cu Stivi and thanks for helping me


See the Modern UI Readme for the settings to change the language string (like MUI_WELCOMEPAGE_TEXT).


Thanks for your Help,
I tryied it, but the Problem ist not the MUI_WELCOMEPAGE_TEXT.
The text will be displayed, but not the pictures.


These language strings are wrong, you should use the MUI_WELCOMEPAGE_TEXT define.


Language Text
I need the Text in two Languages, so is it right that you mean:

I schould define first a Lanuage Text to get the multilanguage and than define it .

Exsample:

LangString Welcome_1 ${LANG_ENGLISH} "Hello..."
LangString Welcome_2 ${LANG_German} "Hallo..."

!define MUI_WELCOMEPAGE_TEXT $(Welcome_1)

is that what you mean ?


Exactly (but you should give the strings same name, not Welcome_1 and Welcome_2).


I made It like this and It worked fine:

!define MUI_WELCOMEPAGE_TEXT $(MUI_WELCOMEPAGE_TEXT)

;Pages -----------------------

!insertmacro MUI_PAGE_WELCOME

;Languages -------------------

!insertmacro MUI_LANGUAGE "English"
!insertmacro MUI_LANGUAGE "German"

LangString MUI_WELCOMEPAGE_TEXT ${LANG_ENGLISH} "Hello..."
LangString MUI_WELCOMEPAGE_TEXT ${LANG_German} "Hallo..."

Thank you a lot for this support. ;NSIS Modern User Interface is a great deal.

Have you heard about a possiblity to show Gifs during the installation ? My installation needs time (10 Minutes, and I would show an Gif with a lot of differnt Slides. Is it a good thing to start the Internet Exolore with this Gif.


There is currently no plug-in that can display GIF files, however nothing stops you from making one.