@ -24,7 +24,7 @@ frameworks-> Visual C++ MFC for ARM64 (which also brings in ATL for ARM64).
3. Use Add or Remove Programs to find the Windows SDK installed with VS
3. Use Add or Remove Programs to find the Windows SDK installed with VS
and modify it to include the debuggers .
and modify it to include the debuggers .
4. Run this script , which will build a < sha1 > . zip , something like this :
4. Run this script , which will build a < sha1 > . zip , something like this :
python package_from_installed . py 20 19| 2022 - w 10.0 .17763 .0 | < SDK version >
python package_from_installed . py 20 22 - w 10.0 .22621 .0 | < SDK version >
Express is not yet supported by this script , but patches welcome ( it ' s not too
Express is not yet supported by this script , but patches welcome ( it ' s not too
useful as the resulting zip can ' t be redistributed, and most will presumably
useful as the resulting zip can ' t be redistributed, and most will presumably
@ -51,7 +51,7 @@ import get_toolchain_if_necessary
_vs_version = None
_vs_version = None
_win_version = None
_win_version = None
_vc_tools = None
_vc_tools = None
SUPPORTED_VS_VERSIONS = [ ' 20 19' , ' 20 22' ]
SUPPORTED_VS_VERSIONS = [ ' 20 22' ]
_allow_multiple_vs_installs = False
_allow_multiple_vs_installs = False
@ -481,11 +481,11 @@ def main():
if sys . version_info [ 0 ] < 3 :
if sys . version_info [ 0 ] < 3 :
print ( ' This script requires Python 3 ' )
print ( ' This script requires Python 3 ' )
sys . exit ( 10 )
sys . exit ( 10 )
usage = ' usage: % prog [options] 20 19|20 22'
usage = ' usage: % prog [options] 20 22'
parser = optparse . OptionParser ( usage )
parser = optparse . OptionParser ( usage )
parser . add_option ( ' -w ' , ' --winver ' , action = ' store ' , type = ' string ' ,
parser . add_option ( ' -w ' , ' --winver ' , action = ' store ' , type = ' string ' ,
dest = ' winver ' , default = ' 10.0. 18362 .0' ,
dest = ' winver ' , default = ' 10.0. 22621 .0' ,
help = ' Windows SDK version, such as 10.0. 18362 .0' )
help = ' Windows SDK version, such as 10.0. 22621 .0' )
parser . add_option ( ' -d ' , ' --dryrun ' , action = ' store_true ' , dest = ' dryrun ' ,
parser . add_option ( ' -d ' , ' --dryrun ' , action = ' store_true ' , dest = ' dryrun ' ,
default = False ,
default = False ,
help = ' scan for file existence and prints statistics ' )
help = ' scan for file existence and prints statistics ' )
@ -507,7 +507,7 @@ def main():
files = BuildRepackageFileList ( options . repackage_dir )
files = BuildRepackageFileList ( options . repackage_dir )
else :
else :
if len ( args ) != 1 or args [ 0 ] not in SUPPORTED_VS_VERSIONS :
if len ( args ) != 1 or args [ 0 ] not in SUPPORTED_VS_VERSIONS :
print ( ' Must specify 20 19 or 20 22' )
print ( ' Must specify 20 22' )
parser . print_help ( ) ;
parser . print_help ( ) ;
return 1
return 1