Use VSWhere to locate Visual Studio and redistributables
This commit is contained in:
parent
96ff51d598
commit
a42328d971
3 changed files with 13 additions and 7 deletions
|
|
@ -86,7 +86,7 @@
|
|||
InstallCondition="VCRedist_Present = 2"
|
||||
Vital="yes"
|
||||
Compressed="yes"
|
||||
SourceFile="$(env.VCREDIST_INSTALLER)"
|
||||
SourceFile="$(env.VCToolsRedistDir)vcredist_$(env.ARCH).exe"
|
||||
InstallCommand="/install /quiet /norestart">
|
||||
<!-- Newer version installed is fine -->
|
||||
<ExitCode Value="1638" Behavior="success" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue