Archive: Uninstaller, removal of header text


Uninstaller, removal of header text
Hi

I've read a lot of post, the documentation etc...

I cannot remove the text "Uninstall my application blabla".. at the upper left of the application. It comes over my left branding (or top) and I really want to get rid of it.

For the install phase, I've been able to found in the documentation the right function to override, it's :

!define MUI_CUSTOMFUNCTION_GUIINIT myGUIInit

and then

Function myGUIInit ; nom arbitraire
skinnedbutton::skinit /NOUNLOAD "$PLUGINSDIR\button.bmp" ; good
Pop $0
StrCmp $0 "success" noerror
MessageBox MB_ICONEXCLAMATION|MB_OK "skinned button error: $0"
noerror:

!define MUI_PAGE_CUSTOMFUNCTION_PRE preFonction ; Pour ne pas avoir de texte dans le graphique
!define MUI_PAGE_CUSTOMFUNCTION_SHOW showFunction ; Pour ne pas avoir de texte dans le graphique
!insertmacro MUI_HEADER_TEXT " " " "

FunctionEnd

and


; CETTE MÉTHODE PERMET, ainsi que preFonction, de supprimer le texte et sous-texte en haut du dialogue.
; Doit être appellée juste avant !insertmacro dialogue
Function showFunction
!insertmacro MUI_HEADER_TEXT " " " "
FunctionEnd

; CETTE MÉTHODE PERMET, ainsi que showFunction, de supprimer le texte et sous-texte en haut du dialogue.
; Doit être appellée juste avant !insertmacro dialogue
Function preFonction
!insertmacro MUI_HEADER_TEXT " " " "
FunctionEnd

But, how can I do the same this for the UNINSTALLER ?
I'm really tired, can't count the hours in the last 3 weeks I've tried to find that. It's probably very very easy, but I can't figure out.

Thanks in advance for ANY help.

Philippe


In the pages' show functions, use GetDlgItem and SendMessage with ${WM_SETTEXT}. There are lots of examples of this.
Use Resource Hacker to identify which static texts you want to change in UIs\modern.exe.

Stu


Is there any harder way to make that?
Ish... I can't beleive there is no simpler way. I mean, it's nearly faster to hex edit the installer to remove that string.
Isn't this string the same for everyone? If yes, I could simply cut&paste instead of resource hacking, I don't want to do advance modification.

If I use UMUI, is it the same as normal NSIS?

Why can't I find any example on the net, a .nsi, that does exactly that?