From 5f9545a914be20a3c13c7a5e9b8a2835efefecf3 Mon Sep 17 00:00:00 2001 From: rdb Date: Tue, 14 Jan 2014 11:02:58 +0000 Subject: [PATCH] Move SetRegView to appropriate sections --- direct/src/directscripts/packpanda.nsi | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/direct/src/directscripts/packpanda.nsi b/direct/src/directscripts/packpanda.nsi index 78e829b48d..dad5e4beb5 100755 --- a/direct/src/directscripts/packpanda.nsi +++ b/direct/src/directscripts/packpanda.nsi @@ -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