Skip to content

Commit

Permalink
Fix vc_redist_stuff for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
dgud committed Jan 18, 2025
1 parent a5ca80d commit d345359
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tools/release
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
-include_lib("kernel/include/file.hrl").

%% Change these when compiler version is changed on windows
-define(WIN32_VCREDIST_VERSION, "14.29.30139.0").
-define(WIN64_VCREDIST_VERSION, "14.29.30139.0").
-define(WIN32_VCREDIST_VERSION, "14.29.30157.0").
-define(WIN64_VCREDIST_VERSION, "14.29.30157.0").

main(_) ->
try
Expand Down
2 changes: 1 addition & 1 deletion win32/wings.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ Function .onInit
SectionGetFlags 0 $MYTEMP
StrCpy $archprefix "x86"
StrCpy $sysnativedir "$SYSDIR"
StrCpy $redistdllname "MSVCR120.dll"
StrCpy $redistdllname "VCRUNTIME140"
IfFileExists $sysnativedir\$redistdllname MaybeFoundInSystemLbl
SearchSxSLbl:
FindFirst $0 $1 $WINDIR\WinSxS\$archprefix*
Expand Down
2 changes: 1 addition & 1 deletion win32/wings64.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ Function .onInit
SectionGetFlags 0 $MYTEMP
StrCpy $archprefix "amd64"
StrCpy $sysnativedir "$WINDIR\sysnative"
StrCpy $redistdllname "MSVCR120.dll"
StrCpy $redistdllname "VCRUNTIME140.dll"
IfFileExists $sysnativedir\$redistdllname MaybeFoundInSystemLbl
SearchSxSLbl:
FindFirst $0 $1 $WINDIR\WinSxS\$archprefix*
Expand Down

0 comments on commit d345359

Please sign in to comment.