Commit graph

22 commits

Author SHA1 Message Date
Yuri Benditovich
b41c88dd48 tools: Add BAT file for recording of binary trace
Existing batch file records binary trace using TraceView that
shall be copied from WDK, which is not always installed on end
user machine. Added batch file allows recording without additional
tools, using built-in logman application.

Signed-off-by: Yuri Benditovich <yuri.benditovich@daynix.com>
Signed-off-by: Dmitry Fleytman <dfleytma@redhat.com>
2017-05-29 10:27:24 +03:00
Yuri Benditovich
330368c38b build: Include TMF file to installation package
Single TMF file contains all the data required for converting
binary trace to text for all the operating systems.

Signed-off-by: Yuri Benditovich <yuri.benditovich@daynix.com>
Signed-off-by: Dmitry Fleytman <dfleytma@redhat.com>
2017-05-29 10:27:19 +03:00
Dmitry Fleytman
446daeca3e Build: Introduce debug configurations without test signing
Signed-off-by: Dmitry Fleytman <dmitry@daynix.com>
2017-04-06 13:24:06 +03:00
Sameeh Jubran
ae2d76c152 Build: Add Windows 10 to MSI
According to msdn [1]:
"When you install an .msi installation package on Windows 10 or Windows
Server 2016, the VersionNT value is 603." which is the same value for
Windows 8.1.
In order to differentiate between Windows 8.1 and Windows 10 the trick in
[2] was used.

[1] https://support.microsoft.com/en-us/help/3202260/versionnt-value-for-windows-10-and-windows-server-2016
[2] http://stackoverflow.com/questions/31932646/versionnt-msi-property-on-windows-10

Signed-off-by: Sameeh Jubran <sameeh@daynix.com>
Signed-off-by: Dmitry Fleytman <dfleytma@redhat.com>
2017-04-03 15:06:48 +03:00
Sameeh Jubran
2cd4aa5262 Build: Migrate to VS 2015 and add Win10 configurations
This commit migrates from VS 2013 to VS 2015. Beside the auto conversion
which was performed by VS this commit includes the following fixes
which enabled the builld to work:

Win (7, 8, 8.1, 10):
* Set the KMDF Version Major to 1.
* Set the KMDF Version Minor to 11.

Win XP:
* Add _When_ define.
* Add empty implementation to guard functions which else would cause an
  unresolved symbols.
* Add path to WinDDK's wdfinstaller.h in UsbDkHelper project.
* Add "GetDriverProjectAttributes" and "GetPackageFiles" targets to
  UsbDkController, UsbDkHelper and UsbDkInstHelper project files.

Signed-off-by: Sameeh Jubran <sameeh@daynix.com>
Signed-off-by: Dmitry Fleytman <dfleytma@redhat.com>
2017-04-03 15:06:47 +03:00
Yuri Benditovich
2b41acd295 Tools: Add boot-time binary tracing scripts
Signed-off-by: Yuri Benditovich <yuri.benditovich@daynix.com>
Signed-off-by: Dmitry Fleytman <dfleytma@redhat.com>
2017-04-03 11:32:37 +03:00
Leonid Bloch
98cf4d7298 UsbDk: Added documentation on WDF log generation
Also added a .reg file to quickly add the registry settings needed for
the log generation.

Signed-off-by: Leonid Bloch <leonid@daynix.com>
Signed-off-by: Dmitry Fleytman <dfleytma@redhat.com>
2016-01-21 14:24:48 +02:00
Dmitry Fleytman
db0053897f msi: Add 32-bit UsbDkHelper.dll to 64-bit MSIs
Needed for WoW64 clients.

Signed-off-by: Dmitry Fleytman <dfleytma@redhat.com>
2015-10-28 14:59:48 +02:00
Dmitry Fleytman
6d353a69a3 Trace: Fix binary trace scripts
Signed-off-by: Dmitry Fleytman <dfleytma@redhat.com>
2015-10-27 16:00:53 +02:00
Dmitry Fleytman
78f7717261 Trace: Enable all trace flags by default
Signed-off-by: Dmitry Fleytman <dfleytma@redhat.com>
2015-10-27 15:33:32 +02:00
Dmitry Fleytman
6f8e22cffa tools: Add scripts for binary tracing
Signed-off-by: Dmitry Fleytman <dfleytma@redhat.com>
2015-09-24 14:11:18 +03:00
Dmitry Fleytman
5ce1042575 tools: Disable useless trace script echo-ing
Signed-off-by: Dmitry Fleytman <dfleytma@redhat.com>
2015-09-24 14:09:16 +03:00
Dmitry Fleytman
458ad0f9a6 Installer: Fix MSI reinstallation and downgrade
Signed-off-by: Dmitry Fleytman <dfleytma@redhat.com>
2015-06-18 19:52:14 +03:00
Dmitry Fleytman
59f8d972b2 MSI: Reject installation of 32 bit MSI on 64 bit system
Signed-off-by: Dmitry Fleytman <dfleytma@redhat.com>
2015-03-31 11:19:35 +03:00
Dmitry Fleytman
0bb27db81f WXS: Fix/beautify indentation
Signed-off-by: Dmitry Fleytman <dfleytma@redhat.com>
2015-03-31 11:16:50 +03:00
Dmitry Fleytman
3b8dc91ec3 Build: Fix MSI deletion before rebuild
Signed-off-by: Dmitry Fleytman <dfleytma@redhat.com>
2015-02-26 10:31:37 +02:00
Dmitry Fleytman
cb5e0a578b Build: Add package version to MSI name
Signed-off-by: Dmitry Fleytman <dfleytma@redhat.com>
2015-02-17 17:48:30 +02:00
Dmitry Fleytman
f3e611df9d Install: Introduce MSI creation scripts
Signed-off-by: Dmitry Fleytman <dfleytma@redhat.com>
2014-12-04 16:35:07 +02:00
Dmitry Fleytman
d9aa8f4621 Build: Add version information into binaries
Signed-off-by: Dmitry Fleytman <dfleytma@redhat.com>
2014-08-12 11:29:47 +03:00
Dmitry Fleytman
ed08ca71a2 Build: Introduce script for batch builds
Signed-off-by: Dmitry Fleytman <dfleytma@redhat.com>
2014-07-31 15:53:17 +03:00
Pavel Gurvich
a77d8161e4 UsbDk: Add license-related files and headers
Signed-off-by: Pavel Gurvich <pavel@daynix.com>
Signed-off-by: Dmitry Fleytman <dfleytma@redhat.com>
2014-05-20 11:56:20 +03:00
Dmitry Fleytman
6840a56678 Introduce simple script for WPP tracing
Signed-off-by: Dmitry Fleytman <dfleytma@redhat.com>
2014-05-11 19:26:09 +03:00