Skip to content

Commit

Permalink
Improved the "Properties" -> "Details" for all the binaries.
Browse files Browse the repository at this point in the history
  • Loading branch information
hsluoyz committed Jul 24, 2016
1 parent c5aa781 commit 1c3315b
Show file tree
Hide file tree
Showing 15 changed files with 71 additions and 36 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ sdv/
/packetWin7/Dll/Project/Release*/
/packetWin7/Dll/Project/x64/Debug*/
/packetWin7/Dll/Project/x64/Release*/
/wpcap/PRJ/Debug*/
/wpcap/PRJ/Release*/
/wpcap/libpcap/Win32/Prj/Debug*/
/wpcap/libpcap/Win32/Prj/Release*/
*.VC.opendb
!/installer/xp/*/*
2 changes: 1 addition & 1 deletion packetWin7/Dll/version.rc
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ END
//
// Generated from the TEXTINCLUDE 3 resource.
//
#include "Version.rc2"
#include "version.rc2"

/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED
Expand Down
18 changes: 4 additions & 14 deletions packetWin7/Dll/version.rc2
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// WinPcapOem.rc2 - resources Microsoft Visual C++ does not edit directly
// version.rc2 - resources Microsoft Visual C++ does not edit directly
//

#ifdef APSTUDIO_INVOKED
Expand Down Expand Up @@ -27,22 +27,12 @@ BEGIN
BLOCK "000004b0"
BEGIN
VALUE "CompanyName", WINPCAP_COMPANY_NAME
#ifdef _WINNT4
VALUE "FileDescription", "packet.dll (NT4) Dynamic Link Library"
#elif defined(_WIN8)
VALUE "FileDescription", "packet.dll (Win8) Dynamic Link Library"
#elif defined(_WIN7)
VALUE "FileDescription", "packet.dll (Win7) Dynamic Link Library"
#elif defined(_WINVISTA)
VALUE "FileDescription", "packet.dll (Vista) Dynamic Link Library"
#else
VALUE "FileDescription", "packet.dll (NT5) Dynamic Link Library"
#endif
VALUE "FileDescription", "The Packet API for Windows"
VALUE "FileVersion", WINPCAP_VER_STRING
VALUE "InternalName", "packet.dll"
VALUE "InternalName", "Packet.dll"
VALUE "LegalCopyright", WINPCAP_COPYRIGHT_STRING
VALUE "LegalTrademarks", ""
VALUE "OriginalFilename", "packet.dll"
VALUE "OriginalFilename", "Packet.dll"
VALUE "ProductName", WINPCAP_PRODUCT_NAME
VALUE "ProductVersion", WINPCAP_VER_STRING
VALUE "Build Description", WINPCAP_BUILD_DESCRIPTION
Expand Down
2 changes: 1 addition & 1 deletion packetWin7/Helper/NPcapHelper/version.rc
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ END
//
// Generated from the TEXTINCLUDE 3 resource.
//
#include "Version.rc2"
#include "version.rc2"

/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED
Expand Down
12 changes: 4 additions & 8 deletions packetWin7/Helper/NPcapHelper/version.rc2
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// WinPcapOem.rc2 - resources Microsoft Visual C++ does not edit directly
// version.rc2 - resources Microsoft Visual C++ does not edit directly
//

#ifdef APSTUDIO_INVOKED
Expand Down Expand Up @@ -27,16 +27,12 @@ BEGIN
BLOCK "000004b0"
BEGIN
VALUE "CompanyName", WINPCAP_COMPANY_NAME
#ifdef _WIN8
VALUE "FileDescription", "NPFInstall.exe (Win8) Driver Installer"
#elif defined(_WIN7)
VALUE "FileDescription", "NPFInstall.exe (Win7) Driver Installer"
#endif
VALUE "FileDescription", "The helper program for \x22Admin-only Mode\x22"
VALUE "FileVersion", WINPCAP_VER_STRING
VALUE "InternalName", "NPFInstall.exe"
VALUE "InternalName", "NPcapHelper.exe"
VALUE "LegalCopyright", WINPCAP_COPYRIGHT_STRING
VALUE "LegalTrademarks", ""
VALUE "OriginalFilename", "NPFInstall.exe"
VALUE "OriginalFilename", "NPcapHelper.exe"
VALUE "ProductName", WINPCAP_PRODUCT_NAME
VALUE "ProductVersion", WINPCAP_VER_STRING
VALUE "Build Description", WINPCAP_BUILD_DESCRIPTION
Expand Down
2 changes: 1 addition & 1 deletion packetWin7/NPFInstall/NPFInstall/version.rc
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ END
//
// Generated from the TEXTINCLUDE 3 resource.
//
#include "Version.rc2"
#include "version.rc2"

/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED
Expand Down
8 changes: 2 additions & 6 deletions packetWin7/NPFInstall/NPFInstall/version.rc2
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// WinPcapOem.rc2 - resources Microsoft Visual C++ does not edit directly
// version.rc2 - resources Microsoft Visual C++ does not edit directly
//

#ifdef APSTUDIO_INVOKED
Expand Down Expand Up @@ -27,11 +27,7 @@ BEGIN
BLOCK "000004b0"
BEGIN
VALUE "CompanyName", WINPCAP_COMPANY_NAME
#ifdef _WIN8
VALUE "FileDescription", "NPFInstall.exe (Win8) Driver Installer"
#elif defined(_WIN7)
VALUE "FileDescription", "NPFInstall.exe (Win7) Driver Installer"
#endif
VALUE "FileDescription", "A LWF & WFP driver installation tool"
VALUE "FileVersion", WINPCAP_VER_STRING
VALUE "InternalName", "NPFInstall.exe"
VALUE "LegalCopyright", WINPCAP_COPYRIGHT_STRING
Expand Down
3 changes: 3 additions & 0 deletions packetWin7/WlanHelper/WlanHelper/WlanHelper.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,9 @@
<ItemGroup>
<ClInclude Include="Tool.h" />
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="version.rc" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
Expand Down
5 changes: 5 additions & 0 deletions packetWin7/WlanHelper/WlanHelper/WlanHelper.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,9 @@
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="version.rc">
<Filter>Resource Files</Filter>
</ResourceCompile>
</ItemGroup>
</Project>
Binary file added packetWin7/WlanHelper/WlanHelper/version.rc
Binary file not shown.
45 changes: 45 additions & 0 deletions packetWin7/WlanHelper/WlanHelper/version.rc2
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
//
// version.rc2 - resources Microsoft Visual C++ does not edit directly
//

#ifdef APSTUDIO_INVOKED
#error this file is not editable by Microsoft Visual C++
#endif //APSTUDIO_INVOKED


#include "..\..\..\version.h"

VS_VERSION_INFO VERSIONINFO
FILEVERSION WINPCAP_MAJOR,WINPCAP_MINOR,WINPCAP_REV,WINPCAP_BUILD
PRODUCTVERSION WINPCAP_MAJOR,WINPCAP_MINOR,WINPCAP_REV,WINPCAP_BUILD
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
#else
FILEFLAGS 0x0L
#endif
FILEOS 0x4L
FILETYPE 0x2L
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "000004b0"
BEGIN
VALUE "CompanyName", WINPCAP_COMPANY_NAME
VALUE "FileDescription", "A tool for wireless adapter settings"
VALUE "FileVersion", WINPCAP_VER_STRING
VALUE "InternalName", "WlanHelper.exe"
VALUE "LegalCopyright", WINPCAP_COPYRIGHT_STRING
VALUE "LegalTrademarks", ""
VALUE "OriginalFilename", "WlanHelper.exe"
VALUE "ProductName", WINPCAP_PRODUCT_NAME
VALUE "ProductVersion", WINPCAP_VER_STRING
VALUE "Build Description", WINPCAP_BUILD_DESCRIPTION
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x0, 1200
END
END
Binary file modified wpcap/Win32-Extensions/version.aps
Binary file not shown.
2 changes: 1 addition & 1 deletion wpcap/Win32-Extensions/version.rc
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ END
//
// Generated from the TEXTINCLUDE 3 resource.
//
#include "Version.rc2"
#include "version.rc2"

/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED
Expand Down
2 changes: 1 addition & 1 deletion wpcap/Win32-Extensions/version.rc2
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ BEGIN
BLOCK "000004b0"
BEGIN
VALUE "CompanyName", WINPCAP_COMPANY_NAME
VALUE "FileDescription", "wpcap.dll Dynamic Link Library - based on libpcap " WINPCAP_LIBPCAP_VERSION
VALUE "FileDescription", "The libpcap API"
VALUE "FileVersion", WINPCAP_VER_STRING
VALUE "InternalName", "wpcap.dll"
VALUE "LegalCopyright", WINPCAP_COPYRIGHT_STRING
Expand Down
2 changes: 1 addition & 1 deletion wpcap/libpcap

0 comments on commit 1c3315b

Please sign in to comment.