Move SetRegView to appropriate sections

This commit is contained in:
rdb 2014-01-14 11:02:58 +00:00
parent cd01f15c77
commit 5f9545a914

View File

@ -38,10 +38,6 @@ OutFile "${OUTFILE}"
SetCompress auto
SetCompressor ${COMPRESSOR}
!ifdef REGVIEW
SetRegView ${REGVIEW}
!endif
!define MUI_WELCOMEFINISHPAGE_BITMAP "${IBITMAP}"
!define MUI_UNWELCOMEFINISHPAGE_BITMAP "${UBITMAP}"
@ -245,6 +241,10 @@ SectionEnd
Section -post
!ifdef REGVIEW
SetRegView ${REGVIEW}
!endif
!ifndef PPGAME
# Add the "bin" directory to the PATH.
@ -287,6 +287,10 @@ SectionEnd
Section Uninstall
!ifdef REGVIEW
SetRegView ${REGVIEW}
!endif
!ifndef PPGAME
Push "$INSTDIR\python"
Call un.RemoveFromPath