Commit b11df555 authored by Charlene Auger's avatar Charlene Auger
Browse files

Update nsi with good dll

parent f2b09b37
......@@ -1577,77 +1577,70 @@ Section "OCS Inventory Agent" SEC03
clearerrors
; MSVC 9 CRT redist current for XP and higher
SetOutPath "$INSTDIR"
;File "C:\Program Files\Microsoft Visual Studio 9.0\VC\redist\x86\Microsoft.VC90.CRT\Microsoft.VC90.CRT.manifest"
;Iferrors 0 +5
;StrCpy $logBuffer "$logBuffer ERROR copying Microsoft.VC90.CRT.manifest $\r$\n"
;Call Write_Log
;strcpy $installSatus ":("
;clearerrors
;File "C:\Windows\System32\msvcm120.dll"
;Iferrors 0 +5
;StrCpy $logBuffer "$logBuffer ERROR copying msvcm120.dll $\r$\n"
;Call Write_Log
;strcpy $installSatus ":("
;clearerrors
File "C:\Windows\System32\msvcp120.dll"
File "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Redist\MSVC\14.26.28720\x86\Microsoft.VC142.CRT\msvcp140.dll"
Iferrors 0 +5
StrCpy $logBuffer "$logBuffer ERROR copying msvcp120.dll $\r$\n"
StrCpy $logBuffer "$logBuffer ERROR copying msvcp140.dll $\r$\n"
Call Write_Log
strcpy $installSatus ":("
clearerrors
File "C:\Windows\System32\msvcr120.dll"
File "C:\Windows\SysWOW64\msvcr120.dll"
Iferrors 0 +5
StrCpy $logBuffer "$logBuffer ERROR copying msvcr120.dll $\r$\n"
Call Write_Log
strcpy $installSatus ":("
clearerrors
; MSVC 9 MFC redist current for XP and higher
;File "C:\Program Files\Microsoft Visual Studio 9.0\VC\redist\x86\\Microsoft.VC90.MFC\Microsoft.VC90.MFC.manifest"
;Iferrors 0 +5
;StrCpy $logBuffer "$logBuffer ERROR copying \Microsoft.VC90.MFC.manifest $\r$\n"
;Call Write_Log
;strcpy $installSatus ":("
;clearerrors
File "C:\Windows\System32\mfc120.dll"
File "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Redist\MSVC\14.26.28720\x86\Microsoft.VC142.MFC\mfc140.dll"
Iferrors 0 +5
StrCpy $logBuffer "$logBuffer ERROR copying mfc120.dll $\r$\n"
StrCpy $logBuffer "$logBuffer ERROR copying mfc140.dll $\r$\n"
Call Write_Log
strcpy $installSatus ":("
clearerrors
File "C:\Windows\System32\mfc120u.dll"
File "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Redist\MSVC\14.26.28720\x86\Microsoft.VC142.MFC\mfc140u.dll"
Iferrors 0 +5
StrCpy $logBuffer "$logBuffer ERROR copying mfc120u.dll $\r$\n"
StrCpy $logBuffer "$logBuffer ERROR copying mfc140u.dll $\r$\n"
Call Write_Log
strcpy $installSatus ":("
clearerrors
File "C:\Windows\System32\mfcm120.dll"
File "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Redist\MSVC\14.26.28720\x86\Microsoft.VC142.MFC\mfcm140.dll"
Iferrors 0 +5
StrCpy $logBuffer "$logBuffer ERROR copying mfcm120.dll $\r$\n"
StrCpy $logBuffer "$logBuffer ERROR copying mfcm140.dll $\r$\n"
Call Write_Log
strcpy $installSatus ":("
clearerrors
File "C:\Windows\System32\mfcm120u.dll"
File "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Redist\MSVC\14.26.28720\x86\Microsoft.VC142.MFC\mfcm140u.dll"
Iferrors 0 +5
StrCpy $logBuffer "$logBuffer ERROR copying mfcm120u.dll $\r$\n"
StrCpy $logBuffer "$logBuffer ERROR copying mfcm140u.dll $\r$\n"
Call Write_Log
strcpy $installSatus ":("
clearerrors
;Lib for Win 8.0 / 8.1 / win 10
;File "C:\Windows\SysWOW64\vcruntime120.dll"
;Iferrors 0 +5
;StrCpy $logBuffer "$logBuffer ERROR copying vcruntime140.dll $\r$\n"
;Call Write_Log
;strcpy $installSatus ":("
;clearerrors
File "C:\Windows\SysWOW64\vcomp120.dll"
File "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Redist\MSVC\14.26.28720\x86\Microsoft.VC142.CRT\vcruntime140.dll"
Iferrors 0 +5
StrCpy $logBuffer "$logBuffer ERROR copying vcruntime140.dll $\r$\n"
Call Write_Log
strcpy $installSatus ":("
clearerrors
File "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Redist\MSVC\14.26.28720\x86\Microsoft.VC142.OpenMP\vcomp140.dll"
Iferrors 0 +5
StrCpy $logBuffer "$logBuffer ERROR copying vcomp140.dll $\r$\n"
Call Write_Log
strcpy $installSatus ":("
clearerrors
File "C:\Windows\SysWOW64\vcamp120.dll"
File "vcruntime140_1.dll"
Iferrors 0 +5
StrCpy $logBuffer "$logBuffer ERROR copying vcruntime140_1.dll $\r$\n"
Call Write_Log
strcpy $installSatus ":("
clearerrors
File "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Redist\MSVC\14.26.28720\x86\Microsoft.VC142.CXXAMP\vcamp140.dll"
Iferrors 0 +5
StrCpy $logBuffer "$logBuffer ERROR copying vcamp140.dll $\r$\n"
Call Write_Log
strcpy $installSatus ":("
clearerrors
File "C:\Windows\SysWOW64\ucrtbase.dll"
Iferrors 0 +5
StrCpy $logBuffer "$logBuffer ERROR copying ucrtbase.dll $\r$\n"
Call Write_Log
strcpy $installSatus ":("
clearerrors
......
Supports Markdown
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