From aea9f05b47e489ee7092d109d902367a94c2f57b Mon Sep 17 00:00:00 2001 From: Simpel <git@simpel.cc> Date: Sun, 20 Aug 2023 23:20:51 +0200 Subject: [PATCH] fix: provide vcruntime140_1.dll Some windows (win7?) lacking vcruntime140_1.dll what bmxtranswrap is needing. It can't be checked if dll can be found at c:\windows\system32. So provide it anyway in %temp%. Signed-off-by: Conrad Zelck <git@simpel.cc> --- MXF-Track-Swap.au3 | 5 ++++- README.md | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/MXF-Track-Swap.au3 b/MXF-Track-Swap.au3 index fffdaac..75af082 100644 --- a/MXF-Track-Swap.au3 +++ b/MXF-Track-Swap.au3 @@ -3,7 +3,7 @@ #AutoIt3Wrapper_UseX64=n #AutoIt3Wrapper_Res_Comment=Swaps audio tracks in mxf files. #AutoIt3Wrapper_Res_Description=Swaps audio tracks in mxf files. -#AutoIt3Wrapper_Res_Fileversion=1.0.0.8 +#AutoIt3Wrapper_Res_Fileversion=1.0.0.10 #AutoIt3Wrapper_Res_Fileversion_AutoIncrement=p #AutoIt3Wrapper_Res_LegalCopyright=Conrad Zelck #AutoIt3Wrapper_Res_SaveSource=y @@ -622,6 +622,9 @@ EndIf If Not FileExists(@TempDir & "\bmxtranswrap.exe") Then FileInstall('K:\bmxtranswrap\bmxtranswrap.exe', @TempDir & "\bmxtranswrap.exe", $FC_OVERWRITE) EndIf +If Not FileExists(@TempDir & "\vcruntime140_1.dll") Then ; this is needed by bmxtranswrap and normally located at "C:\Windows\System32\vcruntime140_1.dll" + FileInstall('K:\bmxtranswrap\vcruntime140_1.dll', @TempDir & "\vcruntime140_1.dll", $FC_OVERWRITE) +EndIf SplashOff() Local $sPathTempFolder = @TempDir & "\" diff --git a/README.md b/README.md index 3f7c1e9..428f580 100644 --- a/README.md +++ b/README.md @@ -4,10 +4,11 @@ Provide a mxf (tested only with xdcam hd 422 op1a including 8 audio tracks) and ## Prerequisites -To build your swapper yourself you need a compiled ffmpeg and bmxtranswrap that must be embedded into your swapper. Customize the following code lines: +To build your swapper yourself you need a compiled ffmpeg and bmxtranswrap that must be embedded into your swapper. You eventually need the vcruntime140_1.dll too if not provided by your windows at `C:\Windows\System32`. Customize the following code lines: `FileInstall('K:\ffmpeg\bin\ffmpeg.exe', @TempDir & "\ffmpeg.exe", $FC_OVERWRITE)` `FileInstall('K:\bmxtranswrap\bmxtranswrap.exe', @TempDir & "\bmxtranswrap.exe", $FC_OVERWRITE)` +`FileInstall('K:\bmxtranswrap\vcruntime140_1.dll', @TempDir & "\vcruntime140_1.dll", $FC_OVERWRITE)` ## Manual -- GitLab