Skip to content

VS2017DevEnvSearch does not find VS2017 if there are BuildTools installed. #5597

@jbialobr

Description

@jbialobr

Bugs

  • Which version of WiX are you building with?

3.11.0.1528-rc2

  • Which version of Visual Studio are you building with (if any)?

msbuild

  • Which version of .NET are you building with?

v4.0.30319

  • If the problem occurs when installing your packages built with WiX, what is the version of Windows the package is running on?

10

  • Describe the problem and the steps to reproduce it.

I add VS2017DEVENV propertyref to enable installing VSIX extension for VS 2017
<PropertyRef Id="VS2017DEVENV" />

The installer does not find VS2017 if there are BuildTools installed.

AppSearch: Property: VS2017DEVENV, Signature: VS2017DevEnvSearch
MSI (c) (34:70) [10:08:43:256]: Note: 1: 1322 2:  
MSI (c) (34:70) [10:08:43:256]: Note: 1: 1322 2:  
MSI (c) (34:70) [10:08:43:256]: Note: 1: 1324 2: Common7\IDE 3: 1 
MSI (c) (34:70) [10:08:43:256]: Note: 1: 1324 2: Common7\IDE 3: 1 
AppSearch: Property: VS2017_IDE_DIR, Signature: VS2017EnvironmentDirectorySearch
MSI (c) (34:70) [10:08:43:258]: PROPERTY CHANGE: Adding VS2017_IDE_DIR property. Its value is 'C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\IDE\'.

Full log: BuildToolsInstalled.txt

The installer finds VS2017 if the BuildTools are not installed.

AppSearch: Property: VS2017DEVENV, Signature: VS2017DevEnvSearch
MSI (c) (98:F8) [09:50:37:400]: Note: 1: 1322 2:  
MSI (c) (98:F8) [09:50:37:400]: Note: 1: 1322 2:  
MSI (c) (98:F8) [09:50:37:400]: Note: 1: 1324 2: Common7\IDE 3: 1 
MSI (c) (98:F8) [09:50:37:400]: Note: 1: 1324 2: Common7\IDE 3: 1 
MSI (c) (98:F8) [09:50:37:400]: PROPERTY CHANGE: Adding VS2017DEVENV property. Its value is 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\devenv.exe'.
AppSearch: Property: VS2017_IDE_DIR, Signature: VS2017EnvironmentDirectorySearch
MSI (c) (98:F8) [09:50:37:401]: PROPERTY CHANGE: Adding VS2017_IDE_DIR property. Its value is 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\'.

Full log: NoBuildTools.txt

  • Describe the behavior you expected and how it differed from the actual behavior.

The installer should find VS2017 regardless the BuildTools are installed.

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions