Lines Matching +full:cancel +full:- +full:in +full:- +full:progress
3 # See "FOO" in comments refers to MSDN sections with the title FOO.
12 # Settings can be overridden in config.py below
22 # Text to be displayed as the version in dialogs etc.
32 # Name of certificate in default store to sign MSI with
51 for l in lines:
70 # used in the Upgrade table of future packages to make the future
74 upgrade_code_snapshot='{92A24481-3ECB-40FC-8836-04B7966EC0D5}'
75 upgrade_code='{65E6DE48-A358-434D-AA4F-4AF72DB4718F}'
76 upgrade_code_64='{6A965A0C-6EE6-4E3A-9983-3263F56311EC}'
107 # Well-known component UUIDs
111 # from 1 to 2 (due to what I consider a bug in MSI)
116 "24":"{9B81E618-2301-4035-AC77-75D9ABEB7301}",
117 "25":"{2e41b118-38bd-4c1b-a840-6977efd1b911}",
118 "26":"{34ebecac-f046-4e1c-b0e3-9bac3cdaacfa}",
119 "27":"{4fe21c76-1760-437b-a2f2-99909130a175}",
136 warning = "WARNING: %s - libpythonXX.a not built"
144 gendef_command = '%s - %s' % (gendef, dll_path)
145 dlltool_command = "%s --dllname %s --def %s --output-lib %s" % \
148 dlltool_command += " -m i386:x86-64"
150 dlltool_command += " -m i386 --as-flags=--32"
154 for line in gendef_pipe.readlines():
169 # Target files (.def and .a) go in PCBuild directory
185 # Bump the last digit of the code by one, so that 32-bit and 64-bit
187 digit = hex((int(product_code[-2],16)+1)%16)[-1]
188 product_code = product_code[:-2] + digit + '}'
208 # condition in which to install pythonxy.dll in system32:
210 # b) it is NT, the user is privileged, and has chosen per-machine installation
221 productsuffix = " (64-bit)"
227 msiname = "python-%s%s.msi" % (full_current_version, msilib.arch_ext)
237 # back in case the installation is interrupted
241 # We cannot set ALLUSERS in the property table, as this cannot be
242 # reset if the user choses a per-user installation. Instead, we
259 # either both per-machine or per-user.
282 # Installer collects the product codes of the earlier releases in
283 # these properties. In order to allow modification of the properties,
289 then a list of buttons: back, next, cancel. Optionally a bitmap at the
293 default, cancel, bitmap=true)"""
295 ruler = self.h - 36
304 # text, in VerdanaBold10
309 """Add a back button with a given title, the tab-next button,
310 its name in the Control table, possibly initially disabled.
317 return self.pushbutton(name, 180, self.h-27 , 56, 17, flags, title, next)
319 def cancel(self, title, next, name = "Cancel", active = 1): member in PyDialog
320 """Add a cancel button with a given title, the tab-next button,
321 its name in the Control table, possibly initially disabled.
328 return self.pushbutton(name, 304, self.h-27, 56, 17, flags, title, next)
331 """Add a Next button with a given title, the tab-next button,
332 its name in the Control table, possibly initially disabled.
339 return self.pushbutton(name, 236, self.h-27, 56, 17, flags, title, next)
342 """Add a button with a given title, the tab-next button,
343 its name in the Control table, giving its x position; the
344 y-position is aligned with the other buttons.
347 return self.pushbutton(name, int(self.w*xpos - 28), self.h-27, 56, 17, 3, title, next)
365 raise "Run icons.mak in PC directory"
399 ("Progress1", "Install"), # modified in maintenance type dlg
411 …compileargs = r'"[#python.exe]" -Wi "[TARGETDIR]Lib\compileall.py" -f -x "bad_coding|badsyntax|sit…
412 …compileoargs = r'"[#python.exe]" -O -Wi "[TARGETDIR]Lib\compileall.py" -f -x "bad_coding|badsyntax…
413 …lib2to3args = r'"[#python.exe]" -c "import lib2to3.pygram, lib2to3.patcomp;lib2to3.patcomp.Pattern…
414 updatepipargs = r'"[#python.exe]" -m ensurepip -U --default-pip'
415 removepipargs = r'"[#python.exe]" -B -m ensurepip._uninstall'
428 # msidbCustomActionTypeNoImpersonate (2048); run action in system account, not user account
447 # In the user interface, assume all-users installation if privileged.
462 [("PathAddition", "=-*Path", "[TARGETDIR];[TARGETDIR]Scripts;[~]", "REGISTRY.path")])
496 fatal.cancel("Cancel", "Back", active = 0)
501 c=fatal.next("Finish", "Cancel", name="Finish")
511 user_exit.cancel("Cancel", "Back", active = 0)
517 c = user_exit.next("Finish", "Cancel", name="Finish")
524 exit_dialog.cancel("Cancel", "Back", active = 0)
538 c = exit_dialog.next("Finish", "Cancel", name="Finish")
549 r"{\DlgFontBold8}Files in Use")
551 "Some files that need to be updated are currently in use.")
553 … Close these applications and then click Retry to continue the installation or Cancel to exit it.")
560 c=inuse.cancel("Retry", "Exit", name="Retry")
575 error.pushbutton("C",42,72,81,21,3,"Cancel",None).event("EndDialog","ErrorCancel")
581 # Global "Query Cancel" dialog
582 cancel = Dialog(db, "CancelDlg", 50, 10, 260, 85, 3, title,
584 cancel.text("Text", 48, 15, 194, 30, 3,
585 "Are you sure you want to cancel [ProductName] installation?")
586 cancel.control("Icon", "Icon", 15, 15, 24, 24, 5242881, None,
588 c=cancel.pushbutton("Yes", 72, 57, 56, 17, 3, "Yes", "No")
591 c=cancel.pushbutton("No", 132, 57, 56, 17, 3, "No", "Yes")
608 "Cancel", "Cancel", "Cancel")
618 c=prep.cancel("Cancel", None)
624 "Next", "Next", "Cancel")
633 c = seldlg.next("Next >", "Cancel")
644 c = seldlg.cancel("Cancel", "DirectoryCombo")
660 title, "Tree", "Next", "Cancel")
665 … "Click on the icons in the tree below to change the way features will be installed.")
670 c=features.next("Next >", "Cancel")
675 c=features.cancel("Cancel", "Tree")
724 # take into account whether the previous installation was per-user
725 # or per-machine. We currently don't support going back to this
727 # find how to reset the ALLUSERS property, and how to re-run
730 # and in the Property table, but installer fails according to the documentation
733 "AdminInstall", "Next", "Cancel")
744 c = whichusers.next("Next >", "Cancel")
748 c = whichusers.cancel("Cancel", "AdminInstall")
760 c = advanced.cancel("Ok", "CompilePyc", name="Ok") # Button just has location of cancel button.
777 # Installation Progress dialog (modeless)
778 progress = PyDialog(db, "ProgressDlg", x, y, w, h, modeless, title,
779 "Cancel", "Cancel", "Cancel", bitmap=False)
780 progress.text("Title", 20, 15, 200, 15, 0x30003,
782 progress.text("Text", 35, 65, 300, 30, 3,
785 progress.text("StatusLabel", 35, 100, 35, 20, 3, "Status:")
787 c=progress.text("ActionText", 70, 100, w-70, 20, 3, "Pondering...")
790 #c=progress.text("ActionData", 35, 140, 300, 20, 3, None)
793 c=progress.control("ProgressBar", "ProgressBar", 35, 120, 300, 10, 65537,
794 None, "Progress done", None, None)
795 c.mapping("SetProgress", "Progress")
797 progress.back("< Back", "Next", active=False)
798 progress.next("Next >", "Cancel", active=False)
799 progress.cancel("Cancel", "Back").event("SpawnDialog", "CancelDlg")
803 "Next", "Next", "Cancel")
814 c=maint.next("Finish", "Cancel")
815 # Change installation: Change progress dialog to "Change", then ask
820 # Reinstall: Change progress dialog to "Repair", then invoke reinstall
827 # Uninstall: Change progress to "Remove", then invoke uninstall
838 maint.cancel("Cancel", "RepairRadioGroup").event("SpawnDialog", "CancelDlg")
858 shared_crt = Feature(db, "SharedCRT", "MSVCRT", "C Run-Time (system-wide)", 0,
860 private_crt = Feature(db, "PrivateCRT", "MSVCRT", "C Run-Time (private)", 0,
905 for f in files:
919 for name, pat, file in (("bzip2","bzip2-*", "LICENSE"),
920 ("Berkeley DB", "bsddb-*", "LICENSE"),
921 ("openssl", "openssl-*", "LICENSE"),
922 ("Tcl", "tcl-8*", "license.terms"),
923 ("Tk", "tk-8*", "license.terms"),
924 ("Tix", "tix-*", "license.terms")):
937 """By default, all components in the Python installer
981 # plus another copy of the manifest in the DLLs directory, with the manifest
989 # Actually, don't do that anymore - no DLL in DLLs should have a manifest
1006 # Add all .py files in Lib, except lib-tk, test
1013 if dir == ".svn" or dir.startswith("plat-"):
1015 elif dir in ["lib-tk", "idlelib", "Icons"]:
1019 elif dir in ['test', 'tests', 'data', 'output']:
1035 if dir=='site-packages':
1043 if dir.endswith('.egg-info'):
1045 lib.add_file('PKG-INFO')
1047 lib.add_file('zip-safe')
1057 lib.add_file("Sine-1000Hz-300ms.aif")
1092 # This should contain all non-.svn files listed in subversion
1093 for f in os.listdir(lib.absolute):
1098 print "WARNING: New file %s in email/test/data" % f
1099 for f in os.listdir(lib.absolute):
1109 for f in extensions:
1135 for f in glob.glob1(tcldir, "*.dll"):
1138 for f in glob.glob1(srcdir+"/"+PCBUILD, "*.pyd"):
1140 if f in dlls: continue
1150 for f in dlls:
1153 # Add the mingw-format library
1165 for f in os.listdir(lib.absolute):
1173 for f in ['i18n', 'pynche', 'Scripts', 'versioncheck', 'webchecker']:
1197 for f in tmpfiles:
1205 # -1 for Root specifies "dependent on ALLUSERS property"
1253 ("py.IDLE", -1, pat % (testprefix, "", ewi), "",
1254 r'"[TARGETDIR]pythonw.exe" "[TARGETDIR]Lib\idlelib\idle.pyw" -e "%1"',
1256 ("pyw.IDLE", -1, pat % (testprefix, "NoCon", ewi), "",
1257 r'"[TARGETDIR]pythonw.exe" "[TARGETDIR]Lib\idlelib\idle.pyw" -e "%1"',
1262 ("py.ext", -1, r"Software\Classes\."+ext, "",
1264 ("pyw.ext", -1, r"Software\Classes\."+ext+'w', "",
1266 ("pyc.ext", -1, r"Software\Classes\."+ext+'c', "",
1268 ("pyo.ext", -1, r"Software\Classes\."+ext+'o', "",
1271 ("py.mime", -1, r"Software\Classes\."+ext, "Content Type",
1273 ("pyw.mime", -1, r"Software\Classes\."+ext+'w', "Content Type",
1276 ("py.open", -1, pat % (testprefix, "", "open"), "",
1278 ("pyw.open", -1, pat % (testprefix, "NoCon", "open"), "",
1280 ("pyc.open", -1, pat % (testprefix, "Compiled", "open"), "",
1284 ("py.icon", -1, pat2 % (testprefix, ""), "",
1286 ("pyw.icon", -1, pat2 % (testprefix, "NoCon"), "",
1288 ("pyc.icon", -1, pat2 % (testprefix, "Compiled"), "",
1291 ("py.txt", -1, pat3 % (testprefix, ""), "",
1293 ("pyw.txt", -1, pat3 % (testprefix, "NoCon"), "",
1295 ("pyc.txt", -1, pat3 % (testprefix, "Compiled"), "",
1298 ("py.drop", -1, pat4 % (testprefix, ""), "",
1299 "{60254CA5-953B-11CF-8C96-00AA00B8708C}", "REGISTRY.def"),
1300 ("pyw.drop", -1, pat4 % (testprefix, "NoCon"), "",
1301 "{60254CA5-953B-11CF-8C96-00AA00B8708C}", "REGISTRY.def"),
1302 ("pyc.drop", -1, pat4 % (testprefix, "Compiled"), "",
1303 "{60254CA5-953B-11CF-8C96-00AA00B8708C}", "REGISTRY.def"),
1309 [("InstallPath", -1, prefix+r"\InstallPath", "", "[TARGETDIR]", "REGISTRY"),
1310 ("InstallGroup", -1, prefix+r"\InstallPath\InstallGroup", "",
1312 ("PythonPath", -1, prefix+r"\PythonPath", "",
1313 r"[TARGETDIR]Lib;[TARGETDIR]DLLs;[TARGETDIR]Lib\lib-tk", "REGISTRY"),
1314 ("Documentation", -1, prefix+r"\Help\Main Python Documentation", "",
1316 ("Modules", -1, prefix+r"\Modules", "+", None, "REGISTRY"),
1317 ("AppPaths", -1, r"Software\Microsoft\Windows\CurrentVersion\App Paths\Python.exe",
1319 ("DisplayIcon", -1,
1323 ("EnsurePipRun", -1, prefix+r"\EnsurePipRun", "", "#1", "REGISTRY.ensurepip"),
1348 ## Non-advertised shortcuts: must be associated with a registry component
1361 path = "python-%s%s-pdb.zip" % (full_current_version, msilib.arch_ext)
1363 for f in glob.glob1(os.path.join(srcdir, PCBUILD), "*.pdb"):
1364 if f not in pdbexclude and not f.endswith('_d.pdb'):
1386 for i, n in enumerate(modules):
1395 for module in modules:
1400 for e in m.Errors:
1403 for s in e.ModuleKeys: print s,
1406 for s in e.DatabaseKeys: print s,
1421 maxmedia = -1
1430 for cabname, count in cab_and_filecount:
1437 # The merge module sets ALLUSERS to 1 in the property table.