win: fix custom actions on Visual Studio != 2013
authorJulien Gilli <julien.gilli@joyent.com>
Fri, 19 Jun 2015 17:24:14 +0000 (10:24 -0700)
committerJoão Reis <reis@janeasystems.com>
Mon, 24 Aug 2015 11:05:15 +0000 (12:05 +0100)
commit0acc9b27958375b0fae27ec292b6e18aae5a2a19
tree0e9ee0edc8f4c55e4b86f243a536e5474350d3f3
parent5c77031f95287fbf2c1c64da789581cfd4298f5a
win: fix custom actions on Visual Studio != 2013

This is a port of joyent/node@16bcd68dc5f449c331499ced22aa626dbb2cdefc .

Original commit message:

  The original change that added support for running custom actions
  during the install process
  (joyent/node@e7c84f82c730bddb7450dc56065aab11b93ffd30) assumed that
  Visual Studio 2013 is used to generate the installer file.

  However, that is not always the case, and older versions of Visual
  Studio should allow users to generate Windows installer files. This
  change makes the custom actions visual studio project use the visual
  studio version that is found by vcbuild.bat.

Reviewed-By: João Reis <reis@janeasystems.com>
  PR-URL: https://github.com/joyent/node/pull/25569

PR-URL: https://github.com/nodejs/node/pull/2365
Reviewed-By: Alexis Campailla <alexis@janeasystems.com>
tools/msvs/msi/custom_actions.vcxproj
vcbuild.bat