Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 15th January 2013, 20:40   #1
alienufo
Junior Member
 
Join Date: Jan 2013
Posts: 11
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:

code:

; ===================
; 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

Attached Thumbnails
Click image for larger version

Name:	texterror.png
Views:	103
Size:	9.3 KB
ID:	50156   Click image for larger version

Name:	reshack.png
Views:	93
Size:	158.2 KB
ID:	50157  
alienufo is offline   Reply With Quote
Old 15th January 2013, 23:29   #2
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 4,946
Is the label background transparent?

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 16th January 2013, 15:41   #3
alienufo
Junior Member
 
Join Date: Jan 2013
Posts: 11
No, I don't think it is. At least, I havent set it to be.
alienufo is offline   Reply With Quote
Old 17th January 2013, 14:25   #4
alienufo
Junior Member
 
Join Date: Jan 2013
Posts: 11
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
alienufo is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump