]> git.sesse.net Git - vlc/commitdiff
nsis: restore the previous components on x64 (fix #10122)
authorLudovic Fauvet <etix@videolan.org>
Fri, 13 Dec 2013 15:38:01 +0000 (16:38 +0100)
committerLudovic Fauvet <etix@videolan.org>
Fri, 13 Dec 2013 15:42:57 +0000 (16:42 +0100)
extras/package/win32/NSIS/vlc.win32.nsi.in

index 0a113e79a92e4a826cdc57a6372469c8455661b0..d60c8e681790e30379a1756abf5b11dd662f7b38 100644 (file)
@@ -424,6 +424,8 @@ ${MementoSectionDone}
 ;;; Start function
 Function .onInit
 
+@HAVE_WIN64_TRUE@ SetRegView 64
+
 ${MementoSectionRestore}
 
 @HAVE_WIN64_TRUE@ !include "x64.nsh"
@@ -440,7 +442,6 @@ ${Else}
     Goto WinTooOld
 ${Endif}
 
-@HAVE_WIN64_TRUE@ SetRegView 64
 ReadRegStr $INSTDIR HKLM "${PRODUCT_DIR_REGKEY}" "InstallDir"
 StrCmp $INSTDIR "" 0 UAC_Elevate
 StrCpy $INSTDIR "$@PROGRAMFILES@\VideoLAN\VLC"