<div dir="ltr">On 2 September 2013 11:41, Brad Anderson <span dir="ltr"><<a href="mailto:eco@gnuk.net" target="_blank">eco@gnuk.net</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div class=""><div class="h5">On Sunday, 1 September 2013 at 21:08:24 UTC, Walter Bright wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
On 9/1/2013 1:56 PM, Andrej Mitrovic wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
On 9/1/13, Brad Anderson <<a href="mailto:eco@gnuk.net" target="_blank">eco@gnuk.net</a>> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

What I need from you guys and your different VS installs is,<br>
for each one, a bug report with what is necessary to get it<br>
installed. Then we can add it to the modern version of my<br>
floppy disk "linker collection".<br>
</blockquote>
<br>
This can be automated easily enough.  The installer can detect<br>
what versions of VS are installed and either set an environment<br>
variable or modify sc.ini (your choice).  It could probably be<br>
made forward compatible since Microsoft has been using basically<br>
the same paths and registry keys for every new release since at<br>
least VS 2005.<br>
</blockquote>
<br>
Yes, and VS comes out what, maybe once a year? This is possible to<br>
implement and maintain. If it weren't, then installing VS plugins<br>
would be impossible, but as far as I know it mostly works out of the<br>
box (hell, VisualD does it, so why can't we do something as simple as<br>
detect VS paths?)<br>
<br>
</blockquote>
<br>
Pull requests are, of course, welcome.<br>
</blockquote>
<br>
</div></div><a href="https://github.com/D-Programming-Language/installer/pull/22" target="_blank">https://github.com/D-<u></u>Programming-Language/<u></u>installer/pull/22</a><br>
<br>
It can detect (through registry keys) the paths of Visual C++ 10, 11, and 12 (2010, 2012, and 2013) and Windows SDK 7.0A, 7.1A, 8.0, and 8.1.  It modifies the sc.ini installed from the zip file by substituting the defaults with the detected paths (which makes it important I have accurately reflected what the sc.ini defaults will be).<br>

<br>
I only have VC 10 to test with myself (and lack the disk space to have concurrent installations of all 3).  I installed the Windows SDK 7.0A (comes with VC 10), 8.0, and 8.1 though I couldn't actually use 8.0 and 8.1 successfully because of the path tail issue Dmitry pointed out (and you opened a pull request to fix).<br>

<br>
The combination of VC 10 and SDK 8.1 did not work (link errors) but VC 10 with 7.0A worked perfectly.  I imagine you need to pair the SDK with the version of VC that was released around the same time.<br>
</blockquote></div><br></div><div class="gmail_extra">Huzzah! Give the man a beer! :)</div><div class="gmail_extra"><br></div><div class="gmail_extra">How about the DirectX SDK? <a href="http://www.microsoft.com/en-us/download/details.aspx?id=6812">http://www.microsoft.com/en-us/download/details.aspx?id=6812</a></div>
<div class="gmail_extra">It's super standard aswell for anyone working on multimedia software.</div><div class="gmail_extra">It has an environment variable on my machine: DXSDK_DIR = C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\</div>
</div>