@@ -405,7 +405,6 @@ def add_ui(db):
405405 ("ErrorDialog" , "ErrorDlg" ),
406406 ("Progress1" , "Install" ), # modified in maintenance type dlg
407407 ("Progress2" , "installs" ),
408- ("ModifyPath" , "0" ),
409408 ("MaintenanceForm_Action" , "Repair" )])
410409
411410 # Fonts, see "TextStyle Table"
@@ -635,11 +634,7 @@ def add_ui(db):
635634 c .event ("SpawnDialog" , "ExistingDirectoryDlg" , 'TargetExists=1 and REMOVEOLDVERSION="" and REMOVEOLDSNAPSHOT=""' , 2 )
636635 c .event ("SetTargetPath" , "TARGETDIR" , 'TargetExists=0 or REMOVEOLDVERSION<>"" or REMOVEOLDSNAPSHOT<>""' , 3 )
637636 c .event ("SpawnWaitDialog" , "WaitForCostingDlg" , "CostingComplete=1" , 4 )
638- #c.event("NewDialog", "PathInfoDlg", "1=1", 5) # Show this once no matter what.
639- c .event ("NewDialog" , "PathInfoDlg" , 'TargetExists=0 or REMOVEOLDVERSION<>"" or REMOVEOLDSNAPSHOT<>""' , 5 )
640-
641- # SelectFeaturesDlg is no longer directly shown from here. PathInfoDlg
642- # currently takes care of showing it.
637+ c .event ("NewDialog" , "SelectFeaturesDlg" , 'TargetExists=0 or REMOVEOLDVERSION<>"" or REMOVEOLDSNAPSHOT<>""' , 5 )
643638
644639 c = seldlg .cancel ("Cancel" , "DirectoryCombo" )
645640 c .event ("SpawnDialog" , "CancelDlg" )
@@ -654,38 +649,6 @@ def add_ui(db):
654649 c = seldlg .pushbutton ("NewDir" , 324 , 70 , 30 , 18 , 3 , "New" , None )
655650 c .event ("DirectoryListNew" , "0" )
656651
657-
658- #####################################################################
659- # PathInfoDlg
660- path_dialog = PyDialog (db , "PathInfoDlg" , x , y , w , h , modal , title ,
661- "Yes" , "No" , "Yes" )
662- path_dialog .title ("New for Python 3.3" )
663- path_dialog .text ("News" , 135 , 65 , 240 , 130 , 0x30003 ,
664- "New in 3.3 is the ability to add [TARGETDIR] to\n "
665- "your system's Path variable. This option allows you\n "
666- "to type `python` at a command prompt without\n "
667- "requiring anything else on your part.\n \n "
668- "However, users of multiple versions need to be\n "
669- "aware that this will overrule the behavior of any\n "
670- "existing Python installations that you have placed\n "
671- "on the Path.\n \n "
672- "If you choose to enable this feature, it will be\n "
673- "applied after you logout."
674- )
675-
676- path_dialog .text ("Question" , 135 , 235 , 240 , 40 , 0x30003 ,
677- "{\\ VerdanaBold10}Would you like to add Python to the Path?" )
678-
679- c = path_dialog .back ("< Back" , "No" )
680- c .event ("NewDialog" , "SelectDirectoryDlg" )
681-
682- c = path_dialog .next ("Yes" , "Back" , name = "Yes" )
683- c .event ("[ModifyPath]" , "1" , order = 1 )
684- c .event ("NewDialog" , "SelectFeaturesDlg" , order = 2 )
685-
686- c = path_dialog .cancel ("No" , "Yes" , name = "No" )
687- c .event ("NewDialog" , "SelectFeaturesDlg" , order = 1 )
688-
689652 #####################################################################
690653 # SelectFeaturesDlg
691654 features = PyDialog (db , "SelectFeaturesDlg" , x , y , w , h , modal | track_disk_space ,
@@ -697,7 +660,7 @@ def add_ui(db):
697660 "Click on the icons in the tree below to change the way features will be installed." )
698661
699662 c = features .back ("< Back" , "Next" )
700- c .event ("NewDialog" , "PathInfoDlg " )
663+ c .event ("NewDialog" , "SelectDirectoryDlg " )
701664
702665 c = features .next ("Next >" , "Cancel" )
703666 c .mapping ("SelectionNoItems" , "Enabled" )
@@ -890,6 +853,8 @@ def add_features(db):
890853 level = 0 )
891854 private_crt = Feature (db , "PrivateCRT" , "MSVCRT" , "C Run-Time (private)" , 0 ,
892855 level = 0 )
856+ add_data (db , "Condition" , [("SharedCRT" , 1 , sys32cond ),
857+ ("PrivateCRT" , 1 , "not " + sys32cond )])
893858 # We don't support advertisement of extensions
894859 ext_feature = Feature (db , "Extensions" , "Register Extensions" ,
895860 "Make this Python installation the default Python installation" , 3 ,
@@ -914,9 +879,6 @@ def add_features(db):
914879 "prompt without needing the full path." , 13 ,
915880 parent = default_feature , attributes = 2 | 8 ,
916881 level = 2 )
917- add_data (db , "Condition" , [("SharedCRT" , 1 , sys32cond ),
918- ("PrivateCRT" , 1 , "not " + sys32cond ),
919- ("PrependPath" , 1 , "ModifyPath='0'" )])
920882
921883def extract_msvcr100 ():
922884 # Find the redistributable files
0 commit comments