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

Code Contracts installs itself onto E drive #432

Open
GSPP opened this issue May 28, 2016 · 5 comments
Open

Code Contracts installs itself onto E drive #432

GSPP opened this issue May 28, 2016 · 5 comments

Comments

@GSPP
Copy link

GSPP commented May 28, 2016

After installing Code Contracts I find that it placed files at

E:\VS11Root\Common7\IDE\Extensions\Microsoft\CodeContracts\1.9.10714.2

This appears to be a bug.

This is a large secondary disk in this computer. I never understood why MSI based installers are so prone to place temporary and permanent files on another drive. There must be a reason for that.

Here's what was written:

image

I don't understand why the file times are so old. This drive did not exist at that time. The folder is created at a newer date:

image

So the file dates probably are not the actual create time.

A procmon trace shows the files are unused.

The VS11Root folder also denies my admin account permissions. So there might be a permissions bug. Update: I found that the System process holds handles to that folder. I have no idea why. So this permissions problem is probably an issue with my machine.

@yaakov-h
Copy link
Contributor

Looks like #8. This should be fixed in the latest RC build.

@GSPP
Copy link
Author

GSPP commented May 28, 2016

I think there are 2 bugs: The existence of a VS11 directory and the wrong drive. I also found an E:\AppData folder which was empty.

Why is the installer looking at E: in the first place? That's a bug. Some MSI variable erroneously points there.

@yaakov-h
Copy link
Contributor

Was your current working directory on the E: drive when the MSI was launched?

@GSPP
Copy link
Author

GSPP commented May 28, 2016

I launched it from the Downloads folder on the C: drive. I don't use the E drive. It's a backup drive.

@quixoticaxis
Copy link

quixoticaxis commented Jun 1, 2016

Same problem. I have G:\VS10Root\Common7\IDE\Extensions\Microsoft\CodeContracts\1.9.10714.2 folder while VS2015 is installed on C: drive (default location). Installer is also launched from C:

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

3 participants