Skip to content

Commit

Permalink
Update SandboxieVS.nsi
Browse files Browse the repository at this point in the history
  • Loading branch information
isaak654 authored Jan 10, 2022
1 parent 648208e commit 22171b5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Sandboxie/install/SandboxieVS.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -309,9 +309,9 @@ ${If} ${RunningX64}
!insertmacro DisableX64FSRedirection
${EndIf}

!insertmacro CompareDllVersions "$SYSDIR\msvcp140.dll" "14.27.29016.0"
!insertmacro CompareDllVersions "$SYSDIR\mfc140u.dll" "14.27.29016.0"
StrCmp $R0 "2" Update_Version
!insertmacro CompareDllVersions "$SYSDIR\vcruntime140.dll" "14.27.29016.0"
!insertmacro CompareDllVersions "$SYSDIR\msvcp140.dll" "14.27.29016.0"
StrCmp $R0 "2" Update_Version
Goto DownloadInstallVCRedist_Exit ; versions are all up to date

Expand Down Expand Up @@ -942,13 +942,15 @@ Install2:
; MS libraries are all static with Visual Studio 2019
;!if "${_BUILDARCH}" == "x64"
; !define DllSrcLocation64 "..\Build\Support\x64"
; !insertmacro InstallSystemDll "mfc140u.dll" true
; !insertmacro InstallSystemDll "msvcp140.dll" true
; !insertmacro InstallSystemDll "vcruntime140.dll" true
;!endif

;!ifdef INCLUDE_VCREDIST_DNLD
; !insertmacro DownloadInstallVCRedist
;!else
; !insertmacro InstallSystemDll "mfc140u.dll" false
; !insertmacro InstallSystemDll "msvcp140.dll" false
; !insertmacro InstallSystemDll "vcruntime140.dll" false
;!endif
Expand Down

0 comments on commit 22171b5

Please sign in to comment.