Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

Installer creates a C:\VS11Root folder #8

Closed
cremor opened this issue Jan 14, 2015 · 4 comments
Closed

Installer creates a C:\VS11Root folder #8

cremor opened this issue Jan 14, 2015 · 4 comments

Comments

@cremor
Copy link

cremor commented Jan 14, 2015

Whenever I install Code Contracts, the installer creates a C:\VS11Root folder that seems to contain the Visual Studio extension. This happens with machines where VS2010 or VS2013 is installed (haven't tested VS2012).

@sryze
Copy link

sryze commented Feb 5, 2015

I noticed this too. Shouldn't this be <DirectoryRef Id="VS11_ROOT_FOLDER">?

@sharwell
Copy link
Member

I have a pretty good idea how to fix this - I had to do it for another MSI I created.

@billings7
Copy link
Contributor

@sharwell I'm not a wix expert, but could it be that the id in ManagedContracts.wxs line 249 is the same as the value passed to Condition a few lines below? Its the same for VS10 and VS11, but VS12 and VS14 use VSXX_ROOT_FOLDER_EXISTS for the condition instead.

@yaakov-h
Copy link
Contributor

Good point.

VS12 and VS14 use <![CDATA[Installed OR VSXX_ROOT_FOLDER_EXISTS]]> whereas VS10 and VS11 use VS10_ROOT_FOLDER.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants