(self)
return execpath
Microsoft Windows SDK executable directory.
Microsoft Windows SDK executable directory.
Microsoft Windows SDK executable directory .
def WindowsSDKExecutablePath(self):
        """
        Microsoft Windows SDK executable directory.
        """
        # Find WinSDK NetFx Tools registry dir name
        if self.vc_ver <= 11.0:
            netfxver = 35
            arch = ''
        else:
            netfxver = 40
            hidex86 = True if self.vc_ver <= 12.0 else False
            arch = self.pi.current_dir(x64=True, hidex86=hidex86)
        fx = 'WinSDK-NetFx%dTools%s' % (netfxver, arch.replace('\\', '-'))

        # liste all possibles registry paths
        regpaths = []
        if self.vc_ver >= 14.0:
            for ver in self.NetFxSdkVersion:
                regpaths += [os.path.join(self.ri.netfx_sdk, ver, fx)]

        for ver in self.WindowsSdkVersion:
            regpaths += [os.path.join(self.ri.windows_sdk, 'v%sA' % ver, fx)]

        # Return installation folder from the more recent path
        for path in regpaths:
            execpath = self.ri.lookup(path, 'installationfolder')
            if execpath:
                break
        return execpath
def WindowsSDKExecutablePath ( self ) : # Find WinSDK NetFx Tools registry dir name if self . vc_ver <= 11.0 : netfxver = 35 arch = '' else : netfxver = 40 hidex86 = True if self . vc_ver <= 12.0 else False arch = self . pi . current_dir ( x64 = True , hidex86 = hidex86 ) fx = 'WinSDK-NetFx%dTools%s' % ( netfxver , arch . replace ( '\\' , '-' ) ) # liste all possibles registry paths regpaths = [ ] if self . vc_ver >= 14.0 : for ver in self . NetFxSdkVersion : regpaths += [ os . path . join ( self . ri . netfx_sdk , ver , fx ) ] for ver in self . WindowsSdkVersion : regpaths += [ os . path . join ( self . ri . windows_sdk , 'v%sA' % ver , fx ) ] # Return installation folder from the more recent path for path in regpaths : execpath = self . ri . lookup ( path , 'installationfolder' ) if execpath : break return execpath