From 07404ff69428a2aacf0c35ea3664cdef1b33489c Mon Sep 17 00:00:00 2001 From: rdb Date: Tue, 14 Jan 2014 10:12:50 +0000 Subject: [PATCH] Add SetRegView so we can correctly install 64-bit build to the 64-bit registry --- direct/src/directscripts/packpanda.nsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/direct/src/directscripts/packpanda.nsi b/direct/src/directscripts/packpanda.nsi index 04cb72279c..78e829b48d 100755 --- a/direct/src/directscripts/packpanda.nsi +++ b/direct/src/directscripts/packpanda.nsi @@ -22,6 +22,7 @@ ; PANDACONF - name of panda config directory - usually $PANDA\etc ; PSOURCE - location of the panda source-tree if available, OR location of panda install tree. ; PYEXTRAS - directory containing python extras, if any. +; REGVIEW - either 32 or 64, depending on the build architecture. ; ; PPGAME - directory containing prepagaged game, if any (ie, "C:\My Games\Airblade") ; PPMAIN - python program containing prepackaged game, if any (ie, "Airblade.py") @@ -37,6 +38,10 @@ OutFile "${OUTFILE}" SetCompress auto SetCompressor ${COMPRESSOR} +!ifdef REGVIEW +SetRegView ${REGVIEW} +!endif + !define MUI_WELCOMEFINISHPAGE_BITMAP "${IBITMAP}" !define MUI_UNWELCOMEFINISHPAGE_BITMAP "${UBITMAP}"