Archive: Problem with UninstallCaption in Japanese uninstall


Problem with UninstallCaption in Japanese uninstall
  I specify in my script

UninstallCaption/LANG=${LANG_ENGLISH}  "Uninstall in English"

>UninstallCaption /LANG=${LANG_JAPANESE} "Uninstall in Japanese"
In my uninstaller I initially display a custom page folled by the uninstall files page which displays all the files being uninstalled. On my custom page the Uninstall caption appears in english on Japanese systems. However on the next page which displays the uninstall progress of files the uninstall caption properly appears in Japanese. No matter what I do I can't seem to change the caption on my custom page of the uninstaller. Any thoughts on this?

Make sure you aren't setting a caption to the custom page from the INI file (Title field).


I got rid of the Title field but that only worked somewhat. Now when the uninstall caption is displayed is displayed as

UninstallCaption/LANG=${LANG_ENGLISH}  

>"Uninstall in EnglishUninstallWelcomeDialog.ini"
For some reason it's adding the name of custom page ini file to the uninstall caption title. Which in this case is "UninstallWelcomeDialog.ini". So it would be great if it weren't for the name of the ini file being tacked onto the end of the uninstall caption. This only happens on the custom page I made.

I was able to find a workaround for all this which is to use
!insertmacro MUI_INSTALLOPTIONS_WRITE 

>"UninstallWelcomdDialog.ini"
"Settings"Title $(UNINSTALL_CAPTION_TEXT)
In addition to specifying UninstallCaption for both languages.

$(UNINSTALL_CAPTION_TEXT) is a multi-lang string which is really the same text used for UninstallCaption.

What's the UninstPage command you've used to show the custom page? The sub-caption is set there.


This is what I had,

UninstPage custom un.UninstallWelcomePage "" "UninstallWelcomeDialog.ini" "" 
Once I got rid of the "UninstallWelcomeDialog.ini" everything works super. Thanks kichik.