Commit ed67b5a0 authored by Ludovic Fauvet's avatar Ludovic Fauvet

nsis: restore the previous components on x64 (fix #10122)

parent 0afac74a
......@@ -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"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment