Skip to content

Commit

Permalink
build: fix nsis logiclib EndIf
Browse files Browse the repository at this point in the history
  • Loading branch information
jely2002 committed Jun 2, 2021
1 parent 3e81ab6 commit d9dae48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/vcredist.nsh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ReadRegDword $R2 HKLM "SOFTWARE\WOW6432Node\Microsoft\VisualStudio\10.0\VC\VCRedist\x64" "Installed"
${If} $R1 != "1"
${AndIf} $R2 != "1"
${AndNotIf} ${Silent}
${If} ${Silent}
File /oname=$PLUGINSDIR\vcredist_x86.exe "${BUILD_RESOURCES_DIR}\vcredist_x86.exe"
File /oname=$PLUGINSDIR\elevate.exe "${BUILD_RESOURCES_DIR}\elevate.exe"
ExecWait '"$PLUGINSDIR\elevate.exe" "$PLUGINSDIR\vcredist_x86.exe" /q /norestart'
Expand Down

0 comments on commit d9dae48

Please sign in to comment.