Skip to content

Commit

Permalink
Merge pull request #214 from OCSInventory-NG/version2.9
Browse files Browse the repository at this point in the history
Update Version 2.9
  • Loading branch information
gillesdubois authored Jun 9, 2021
2 parents 928cf41 + 8e30221 commit 45bf75e
Show file tree
Hide file tree
Showing 16 changed files with 76 additions and 71 deletions.
8 changes: 4 additions & 4 deletions Agent/OCSInventory.rc
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ IDR_MAINFRAME ICON "res\\OCSInventory.ico"
//

VS_VERSION_INFO VERSIONINFO
FILEVERSION 2,8,0,1
PRODUCTVERSION 2,8,0,1
FILEVERSION 2,9,0,0
PRODUCTVERSION 2,9,0,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
Expand All @@ -54,13 +54,13 @@ BEGIN
VALUE "Comments", "OCS Inventory Agent"
VALUE "CompanyName", "OCS Inventory"
VALUE "FileDescription", "OCS Inventory Agent"
VALUE "FileVersion", "2.8.0.1"
VALUE "FileVersion", "2.9.0.0"
VALUE "InternalName", "OCSInventory.exe"
VALUE "LegalCopyright", "Open Source Software released under GNU General Public License V2"
VALUE "LegalTrademarks", "http://www.ocsinventory-ng.org"
VALUE "OriginalFilename", "OCSInventory.exe"
VALUE "ProductName", "OCS Inventory Windows Agent"
VALUE "ProductVersion", "2.8.0.1"
VALUE "ProductVersion", "2.9.0.0"
END
END
BLOCK "VarFileInfo"
Expand Down
7 changes: 6 additions & 1 deletion CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
2.8.0.0
2.9.0.0
* Add italian support for SAAS script
* Remove DMI call
* Minor fix on subnet loop

2.8.0.0
* Add new chassis type in Bios Inventory
* Add HBM memory support
* Add LPDDR memory support
Expand Down
8 changes: 4 additions & 4 deletions ComHTTP/HTTP.rc
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_DEFAULT
//

VS_VERSION_INFO VERSIONINFO
FILEVERSION 2,8,0,1
PRODUCTVERSION 2,8,0,1
FILEVERSION 2,9,0,0
PRODUCTVERSION 2,9,0,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
Expand All @@ -44,13 +44,13 @@ BEGIN
VALUE "Comments", "OCS Inventory Communication Provider"
VALUE "CompanyName", "OCS Inventory"
VALUE "FileDescription", "OCS Inventory cURL Communication Provider"
VALUE "FileVersion", "2.8.0.1"
VALUE "FileVersion", "2.9.0.0"
VALUE "InternalName", "ComHTTP.dll"
VALUE "LegalCopyright", "Open Source Software released under GNU General Public License V2"
VALUE "LegalTrademarks", "http://www.ocsinventory-ng.org"
VALUE "OriginalFilename", "ComHTTP.dll"
VALUE "ProductName", "OCS Inventory Windows Agent"
VALUE "ProductVersion", "2.8.0.1"
VALUE "ProductVersion", "2.9.0.0"
END
END
BLOCK "VarFileInfo"
Expand Down
8 changes: 4 additions & 4 deletions Download/Download.rc
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_DEFAULT
//

VS_VERSION_INFO VERSIONINFO
FILEVERSION 2,8,0,1
PRODUCTVERSION 2,8,0,1
FILEVERSION 2,9,0,0
PRODUCTVERSION 2,9,0,0
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
Expand All @@ -47,13 +47,13 @@ BEGIN
VALUE "Comments", "OCS Inventory Package Download and Setup Tool"
VALUE "CompanyName", "OCS Inventory"
VALUE "FileDescription", "OCS Inventory Package Download and Setup Tool"
VALUE "FileVersion", "2.8.0.1"
VALUE "FileVersion", "2.9.0.0"
VALUE "InternalName", "Download.exe"
VALUE "LegalCopyright", "Open Source Software released under GNU General Public License V2"
VALUE "LegalTrademarks", "http://www.ocsinventory-ng.org"
VALUE "OriginalFilename", "Download.exe"
VALUE "ProductName", "OCS Inventory Windows Agent"
VALUE "ProductVersion", "2.8.0.1"
VALUE "ProductVersion", "2.9.0.0"
END
END
BLOCK "VarFileInfo"
Expand Down
5 changes: 1 addition & 4 deletions External_Deps/OCS_Make_Required_Libs.bat
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,7 @@ echo.
Rem ========= UPDATE CONSTANTS BELOW TO MEET YOUR CONFIGURATION NEED =========

Rem Set path to MS Visual C++
set VC_PATH=C:\Program Files (x86)\\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build

Rem Set path to MS Windows SDK, needed to build cURL
set WINDOWS_SDK_PATH="C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A"
set VC_PATH=C:\Program Files (x86)\\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build

Rem Set path to Perl 5.6 or higher binary
set PERL_PATH=C:\Strawberry\perl\bin
Expand Down
3 changes: 0 additions & 3 deletions External_Deps/OCS_Make_Required_Libs_x64.bat
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ Rem ========= UPDATE CONSTANTS BELOW TO MEET YOUR CONFIGURATION NEED =========
Rem Set path to MS Visual C++
set VC_PATH=C:\Program Files (x86)\\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build

Rem Set path to MS Windows SDK, needed to build cURL
set WINDOWS_SDK_PATH="C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A"

Rem Set path to Perl 5.6 or higher binary
set PERL_PATH=C:\Strawberry\perl\bin

Expand Down
21 changes: 12 additions & 9 deletions NSIS_agent_setup/OCS-NG_Windows_Agent_Setup_x64.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ setcompressor /SOLID lzma
; HM NIS Edit Wizard helper defines
!define PRODUCT_NAME "OCS Inventory NG Agent"
!define OLD_PRODUCT_NAME "OCS Inventory Agent"
!define PRODUCT_VERSION "2.8.0.1"
!define PRODUCT_VERSION "2.9.0.0"
!define PRODUCT_PUBLISHER "OCS Inventory NG Team"
!define PRODUCT_WEB_SITE "http://www.ocsinventory-ng.org"
!define PRODUCT_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\OCSInventory.exe"
Expand All @@ -30,6 +30,9 @@ setcompressor /SOLID lzma
;!insertmacro un.GetParent
;!insertmacro GetParent

; Define Visual Studio Path
!define VC_PATH "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Redist\MSVC\14.28.29910\x64"

; Use Modern UI
!include "MUI.nsh"
ICON "install-ocs.ico"
Expand Down Expand Up @@ -1643,7 +1646,7 @@ Section "OCS Inventory Agent" SEC03
clearerrors
; MSVC 9 CRT redist current for XP and higher
SetOutPath "$INSTDIR"
File "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Redist\MSVC\14.26.28720\x64\Microsoft.VC142.CRT\msvcp140.dll"
File "${VC_PATH}\Microsoft.VC142.CRT\msvcp140.dll"
Iferrors 0 +5
StrCpy $logBuffer "$logBuffer ERROR copying msvcp140.dll $\r$\n"
Call Write_Log
Expand All @@ -1655,38 +1658,38 @@ Section "OCS Inventory Agent" SEC03
Call Write_Log
strcpy $installSatus ":("
clearerrors
File "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Redist\MSVC\14.26.28720\x64\Microsoft.VC142.MFC\mfc140.dll"
File "${VC_PATH}\Microsoft.VC142.MFC\mfc140.dll"
Iferrors 0 +5
StrCpy $logBuffer "$logBuffer ERROR copying mfc140.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\x64\Microsoft.VC142.MFC\mfc140u.dll"
File "${VC_PATH}\Microsoft.VC142.MFC\mfc140u.dll"
Iferrors 0 +5
StrCpy $logBuffer "$logBuffer ERROR copying mfc140u.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\x64\Microsoft.VC142.MFC\mfcm140.dll"
File "${VC_PATH}\Microsoft.VC142.MFC\mfcm140.dll"
Iferrors 0 +5
StrCpy $logBuffer "$logBuffer ERROR copying mfcm140.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\x64\Microsoft.VC142.MFC\mfcm140u.dll"
File "${VC_PATH}\Microsoft.VC142.MFC\mfcm140u.dll"
Iferrors 0 +5
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:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Redist\MSVC\14.26.28720\x64\Microsoft.VC142.CRT\vcruntime140.dll"
File "${VC_PATH}\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\x64\Microsoft.VC142.OpenMP\vcomp140.dll"
File "${VC_PATH}\Microsoft.VC142.OpenMP\vcomp140.dll"
Iferrors 0 +5
StrCpy $logBuffer "$logBuffer ERROR copying vcomp140.dll $\r$\n"
Call Write_Log
Expand All @@ -1698,7 +1701,7 @@ Section "OCS Inventory Agent" SEC03
Call Write_Log
strcpy $installSatus ":("
clearerrors
File "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Redist\MSVC\14.26.28720\x64\Microsoft.VC142.CXXAMP\vcamp140.dll"
File "${VC_PATH}\Microsoft.VC142.CXXAMP\vcamp140.dll"
Iferrors 0 +5
StrCpy $logBuffer "$logBuffer ERROR copying vcamp140.dll $\r$\n"
Call Write_Log
Expand Down
21 changes: 12 additions & 9 deletions NSIS_agent_setup/OCS-NG_Windows_Agent_Setup_x86.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ setcompressor /SOLID lzma
; HM NIS Edit Wizard helper defines
!define PRODUCT_NAME "OCS Inventory NG Agent"
!define OLD_PRODUCT_NAME "OCS Inventory Agent"
!define PRODUCT_VERSION "2.8.0.1"
!define PRODUCT_VERSION "2.9.0.0"
!define PRODUCT_PUBLISHER "OCS Inventory NG Team"
!define PRODUCT_WEB_SITE "http://www.ocsinventory-ng.org"
!define PRODUCT_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\OCSInventory.exe"
Expand All @@ -29,6 +29,9 @@ setcompressor /SOLID lzma
;!insertmacro un.GetParent
;!insertmacro GetParent

; Define Visual Studio Path
!define VC_PATH "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Redist\MSVC\14.28.29910\x86"

; Use Modern UI
!include "MUI.nsh"
ICON "install-ocs.ico"
Expand Down Expand Up @@ -1584,7 +1587,7 @@ Section "OCS Inventory Agent" SEC03
clearerrors
; MSVC 9 CRT redist current for XP and higher
SetOutPath "$INSTDIR"
File "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Redist\MSVC\14.26.28720\x86\Microsoft.VC142.CRT\msvcp140.dll"
File "${VC_PATH}\Microsoft.VC142.CRT\msvcp140.dll"
Iferrors 0 +5
StrCpy $logBuffer "$logBuffer ERROR copying msvcp140.dll $\r$\n"
Call Write_Log
Expand All @@ -1596,38 +1599,38 @@ Section "OCS Inventory Agent" SEC03
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.MFC\mfc140.dll"
File "${VC_PATH}\Microsoft.VC142.MFC\mfc140.dll"
Iferrors 0 +5
StrCpy $logBuffer "$logBuffer ERROR copying mfc140.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.MFC\mfc140u.dll"
File "${VC_PATH}\Microsoft.VC142.MFC\mfc140u.dll"
Iferrors 0 +5
StrCpy $logBuffer "$logBuffer ERROR copying mfc140u.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.MFC\mfcm140.dll"
File "${VC_PATH}\Microsoft.VC142.MFC\mfcm140.dll"
Iferrors 0 +5
StrCpy $logBuffer "$logBuffer ERROR copying mfcm140.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.MFC\mfcm140u.dll"
File "${VC_PATH}\Microsoft.VC142.MFC\mfcm140u.dll"
Iferrors 0 +5
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:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Redist\MSVC\14.26.28720\x86\Microsoft.VC142.CRT\vcruntime140.dll"
File "${VC_PATH}\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"
File "${VC_PATH}\Microsoft.VC142.OpenMP\vcomp140.dll"
Iferrors 0 +5
StrCpy $logBuffer "$logBuffer ERROR copying vcomp140.dll $\r$\n"
Call Write_Log
Expand All @@ -1639,7 +1642,7 @@ Section "OCS Inventory Agent" SEC03
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"
File "${VC_PATH}\Microsoft.VC142.CXXAMP\vcamp140.dll"
Iferrors 0 +5
StrCpy $logBuffer "$logBuffer ERROR copying vcamp140.dll $\r$\n"
Call Write_Log
Expand Down
8 changes: 4 additions & 4 deletions OCSInventory Front/OCSInventory Front.rc
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_DEFAULT
//

VS_VERSION_INFO VERSIONINFO
FILEVERSION 2,8,0,1
PRODUCTVERSION 2,8,0,1
FILEVERSION 2,9,0,0
PRODUCTVERSION 2,9,0,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
Expand All @@ -44,13 +44,13 @@ BEGIN
VALUE "Comments", "OCS Inventory Framework Provider"
VALUE "CompanyName", "OCS Inventory"
VALUE "FileDescription", "OCS Inventory Framework Provider"
VALUE "FileVersion", "2.8.0.1"
VALUE "FileVersion", "2.9.0.0"
VALUE "InternalName", "OCSInventory Front.dll"
VALUE "LegalCopyright", "Open Source Software released under GNU General Public License V2"
VALUE "LegalTrademarks", "http://www.ocsinventory-ng.org"
VALUE "OriginalFilename", "OCSInventory Front.dll"
VALUE "ProductName", "OCS Inventory Windows Agent"
VALUE "ProductVersion", "2.8.0.1"
VALUE "ProductVersion", "2.9.0.0"
END
END
BLOCK "VarFileInfo"
Expand Down
8 changes: 4 additions & 4 deletions OcsNotifyUser/OcsNotifyUser.rc
Original file line number Diff line number Diff line change
Expand Up @@ -386,8 +386,8 @@ IDR_MAINFRAME ICON "..\\Agent\\res\\OCSInventory.ic
//

VS_VERSION_INFO VERSIONINFO
FILEVERSION 2,8,0,1
PRODUCTVERSION 2,8,0,1
FILEVERSION 2,9,0,0
PRODUCTVERSION 2,9,0,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
Expand All @@ -405,13 +405,13 @@ BEGIN
VALUE "Comments", "OCS Inventory User Notification Provider"
VALUE "CompanyName", "OCS Inventory"
VALUE "FileDescription", "OCS Inventory User Notification Provider"
VALUE "FileVersion", "2.8.0.1"
VALUE "FileVersion", "2.9.0.0"
VALUE "InternalName", "OcsNotifyUser.exe"
VALUE "LegalCopyright", "Open Source Software released under GNU General Public License V2"
VALUE "LegalTrademarks", "http://www.ocsinventory-ng.org"
VALUE "OriginalFilename", "OcsNotifyUser.exe"
VALUE "ProductName", "OCS Inventory Windows Agent"
VALUE "ProductVersion", "2.8.0.1"
VALUE "ProductVersion", "2.9.0.0"
END
END
BLOCK "VarFileInfo"
Expand Down
8 changes: 4 additions & 4 deletions OcsSystray/OcsSystray.rc
Original file line number Diff line number Diff line change
Expand Up @@ -388,8 +388,8 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_DEFAULT
//

VS_VERSION_INFO VERSIONINFO
FILEVERSION 2,8,0,1
PRODUCTVERSION 2,8,0,1
FILEVERSION 2,9,0,0
PRODUCTVERSION 2,9,0,0
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
Expand All @@ -407,13 +407,13 @@ BEGIN
VALUE "Comments", "OCS Inventory Systray applet"
VALUE "CompanyName", "OCS Inventory"
VALUE "FileDescription", "OCS Inventory Systray applet"
VALUE "FileVersion", "2.8.0.1"
VALUE "FileVersion", "2.9.0.0"
VALUE "InternalName", "OcsSystray.exe"
VALUE "LegalCopyright", "Open Source Software released under GNU General Public License V2"
VALUE "LegalTrademarks", "http://www.ocsinventory-ng.org"
VALUE "OriginalFilename", "OcsSystray.exe"
VALUE "ProductName", "OCS Inventory Windows Agent"
VALUE "ProductVersion", "2.8.0.1"
VALUE "ProductVersion", "2.9.0.0"
END
END
BLOCK "VarFileInfo"
Expand Down
8 changes: 4 additions & 4 deletions OcsWmi/OcsWmi.rc
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_DEFAULT
//

VS_VERSION_INFO VERSIONINFO
FILEVERSION 2,8,0,1
PRODUCTVERSION 2,8,0,1
FILEVERSION 2,9,0,0
PRODUCTVERSION 2,9,0,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
Expand All @@ -44,13 +44,13 @@ BEGIN
VALUE "Comments", "OCS Inventory WMI Provider"
VALUE "CompanyName", "OCS Inventory"
VALUE "FileDescription", "OCS Inventory WMI Provider"
VALUE "FileVersion", "2.8.0.1"
VALUE "FileVersion", "2.9.0.0"
VALUE "InternalName", "OcsWmi.dll"
VALUE "LegalCopyright", "Open Source Software released under GNU General Public License V2"
VALUE "LegalTrademarks", "http://www.ocsinventory-ng.org"
VALUE "OriginalFilename", "OcsWmi.dll"
VALUE "ProductName", "OCS Inventory Windows Agent"
VALUE "ProductVersion", "2.8.0.1"
VALUE "ProductVersion", "2.9.0.0"
END
END
BLOCK "VarFileInfo"
Expand Down
Loading

0 comments on commit 45bf75e

Please sign in to comment.