[CP-7394] Add new --signcmd argument to build.py to allow user defined signing script

Signed-off-by: Ben Chalmers <Ben.Chalmers@citrix.com>
[CP-7394] Ensure old --sign and --addcert commands continue to function

Use 'continue' to ensure argptr doesn't overrun the length of sys.argv

Signed-off-by: Ben Chalmers <Ben.Chalmers@citrix.com>
[CP-7394] Document --signcmd argument

Signed-off-by: Ben Chalmers <Ben.Chalmers@citrix.com>
[CP-7377] [CP-7376] Add HOSTTIME=utc option to installers

Added to installwizard.msi and citrixxendrivers*.msi

use argument HOSTTIME=utc for UTC hosttime,
or HOSTTIME=local for the default (treating xentime as local clock)

No hosttime argument will use whatever was previously set (and local
if nothing was previously set)

Signed-off-by: Ben Chalmers <Ben.Chalmers@citrix.com>
[CP-7448] Remove device_id modification logic from tools installer

No need to change device id under any circumstances
No need to update nsis installer under usual circumstances
NSIS installer is updated if NSIS drivers are still found to be
  installed, but an uninstaller isn't found

Signed-off-by: Ben Chalmers <Ben.Chalmers@citrix.com>
Merge pull request #37 from benchalmers/cp-7377

[CP-7377] [CP-7376] Add HOSTTIME=utc option to installers
Merge pull request #36 from benchalmers/cp-7448

[CP-7448] Remove device_id modification logic from tools installer
Update xenvif with some more checks to try to better diagnose CA-125725

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Merge pull request #35 from benchalmers/cp-7394

[CP-7394] Add new argument --signcmd to build.py allow a user specified tool / script to sign binaries
[CP-7736] Add build number and tools hotfix number text files to installer build artifacts
Merge pull request #38 from benchalmers/cp-7736

[CP-7736] Add build number and tools hotfix number text files to install...
[CP-3711] Remove code to set XenVif Bootflags

Signed-off-by: Ben Chalmers <Ben.Chalmers@citrix.com>
Merge pull request #39 from benchalmers/cp-3711

[CP-3711] Remove code to set XenVif Bootflags
[CA-127357] Fix upgrade from XS 5.5 tools to standard tools

5.5 (George) tools have a different driver name which we must
check for and accept

5.5 tools can require interaction on silent uninstalls, so we
have to upgrade to latest legacy tools and uninstall them instead

Signed-off-by: Ben Chalmers <Ben.Chalmers@citrix.com>
Merge pull request #40 from benchalmers/ca-127357

[CA-127357] Fix upgrade from XS 5.5 tools to standard tools
[CA-127851] Adjust checksum algorithm in XENVIF

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>