• Bruce Dawson's avatar
    Use -prerelease flag to vswhere when packaging VS · 5a80eab0
    Bruce Dawson authored
    With VS 2017 Update 3 Preview 4 the behavior of vswhere was changed so
    that it only reports on non-prerelease versions by default. This can be
    overridden by passing -prerelease. This broke our packaging setup. A
    temporary fix was used to package Preview 4 and this is the permanent.
    
    When -prerelease is passed then vswhere will report on all installed
    versions of VS, whether prerelease or not. The script will package the
    first one that it encounters. For best results you should only install
    one copy of VS when packaging it.
    
    Trivia: the original RTW version of VS 2017 was incorrectly tagged as
    isPrerelease: 1 which means that without the -prerelease flag it
    doesn't show up either!
    
    BUG=683729
    
    Change-Id: I98c1acb671dccef7ede4443fbbf498796946c52b
    Reviewed-on: https://chromium-review.googlesource.com/578767Reviewed-by: 's avatarScott Graham <scottmg@chromium.org>
    Commit-Queue: Bruce Dawson <brucedawson@chromium.org>
    5a80eab0
package_from_installed.py 18.3 KB