Need help to finish DMD zip/7z release generator (alpha release)

Brad Anderson eco at gnuk.net
Wed Sep 4 17:34:36 PDT 2013


I've noticed the you support MSVC builds but require some
environment variables to be set.  As part of my installer#22 pull
request[1] I worked out how to retrieve both the Visual C and SDK
paths from the registry.  You could retrieve them from there
instead of requiring environment variables if you'd like.
Obviously just getting everything working in the release
generator (great work, by the way) comes first but this would be
one less thing people would need to do before they can use it).



Visual Studio 12.0 (2013):
HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\12.0\Setup\VC\ProductDir
(libraries are in <productdir>\lib (32-bit) or
<productdir>\lib\amd64)

Visual Studio 11.0 (2012):
HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\11.0\Setup\VC\ProductDir
(libraries are in <productdir>\lib (32-bit) or
<productdir>\lib\amd64)

Visual Studio 10.0 (2013):
HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\10.0\Setup\VC\ProductDir
(libraries are in <productdir>\lib (32-bit) or
<productdir>\lib\amd64)



Windows Kit 8.1:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows Kits\Installed
Roots\KitsRoot81
(libraries are in <kitroot>\Lib\winv6.3\um\{x86,x64,arm})

Windows Kit 8.0:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows Kits\Installed
Roots\KitsRoot
(libraries are in <kitroot>\Lib\winv6.3\um\{x86,x64,arm})

Microsoft SDK 7.1A:
HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft
SDKs\Windows\v7.1A\InstallationFolder
(libraries are in <sdkroot>\Lib (32-bit) or <sdkroot>\Lib\x64)

Microsoft SDK 7.0A:
HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft
SDKs\Windows\v7.0A\InstallationFolder
(libraries are in <sdkroot>\Lib (32-bit) or <sdkroot>\Lib\x64)

1. https://github.com/D-Programming-Language/installer/pull/22


More information about the Digitalmars-d mailing list