Archive: Uninstaller problem - detail text not clearing when new detail text is printed


Uninstaller problem - detail text not clearing when new detail text is printed
See attached image!

My uninstaller is giving me an issue during the uninstall process. The text output is not clearing the last line when it prints a new one. I have changed the layout of the pages with reshacker so I included a picture of what the dialog page looks like as well. Has anyone seen this happen before, and if so, do you know how to fix it?

Here is the code for my uninstaller pages:


; ===================
; Uninstaller pages
; ===================
!define MUI_WELCOMEPAGE_TITLE_3LINES
!insertmacro MUI_UNPAGE_WELCOME
!define MUI_PAGE_CUSTOMFUNCTION_SHOW un.GraphicalInstallerRedraw
!insertmacro MUI_UNPAGE_CONFIRM
!define MUI_PAGE_CUSTOMFUNCTION_SHOW un.GraphicalInstallerRedraw
!insertmacro MUI_UNPAGE_INSTFILES
!insertmacro MUI_UNPAGE_FINISH

; =============
; Uninstaller
; =============

Section Uninstall
DeleteRegKey HKCR ".vsa"
DeleteRegKey HKCR "Virtual Property Architect.Document"
DeleteRegKey HKCR "visionscape"

SimpleFC::RemoveApplication "$INSTDIR\MVS.exe"
System::Call 'Shell32::SHChangeNotify(i 0x8000000, i 0, i 0, i 0)'

!insertmacro MUI_STARTMENU_GETFOLDER "Application" $ICONS_GROUP
Delete "$INSTDIR\${PRODUCT_NAME}.url"
Delete "$INSTDIR\uninst.exe"
RMDir /r /rebootok "$PROFILE\mvs"
RMDir /r /rebootok "$INSTDIR"

Delete "$SMPROGRAMS\$ICONS_GROUP\Uninstall.lnk"
Delete "$SMPROGRAMS\$ICONS_GROUP\Website.lnk"
Delete "$DESKTOP\Virtual Property Architect.lnk"
Delete "$SMPROGRAMS\$ICONS_GROUP\Virtual Property Architect.lnk"

RMDir "$SMPROGRAMS\$ICONS_GROUP"

DeleteRegKey ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}"
DeleteRegKey HKLM "${PRODUCT_DIR_REGKEY}"
SetAutoClose true
SectionEnd

Is the label background transparent?


No, I don't think it is. At least, I havent set it to be.


actually I guess it was. this code fixed it:

# Subclass label 1006 on Install page
FindWindow $1 "#32770" "" $HWNDPARENT
GetDlgItem $8 $1 1006
GraphicalInstaller::SubclassLabel /NOUNLOAD $8