There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
Allow us to tell patcher the path to where VS is installed
When determining the install path for VS 2012, it looks for an environment variable that only gets set if the Visual Studio "Common Tools" (C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\Tools) get installed, which they always do
in a normal install, unless you use the "/adminfile" VS install method and choose to not install C++.
In helpers.cs (patcher source code), it first gets the tools path:
installPath = Environment.ExpandEnvironmentVariables("%VS110COMNTOOLS%");
Then, it goes up 2 folder levels and assumes that's the real VS 2012 install folder:
installPath = new DirectoryInfo(installPath).Parent.Parent.FullName;
The problem is "VS110COMNTOOLS" environment variable won't always exist. Please, let us tell the patcher where the 2012 install path is (via config setting or command-line argument). Very simple and removes your stress of trying to guess where the
path is, and allows people to use this when the patcher can't guess the path.