diff options
| author | Martin v. Löwis <martin@v.loewis.de> | 2008-10-13 11:28:58 (GMT) |
|---|---|---|
| committer | Martin v. Löwis <martin@v.loewis.de> | 2008-10-13 11:28:58 (GMT) |
| commit | a6474664d07504494c33e999bf0a00fe7a0c8d5f (patch) | |
| tree | cb1b7181cca4c7c825e8331cff5fc12375a1f0ba /Tools/msi/msi.py | |
| parent | 28032821b3bb479f58990e3b52610a4e19118c4b (diff) | |
| download | cpython-a6474664d07504494c33e999bf0a00fe7a0c8d5f.zip cpython-a6474664d07504494c33e999bf0a00fe7a0c8d5f.tar.gz cpython-a6474664d07504494c33e999bf0a00fe7a0c8d5f.tar.bz2 | |
Merged revisions 66881 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r66881 | martin.v.loewis | 2008-10-13 13:23:35 +0200 (Mo, 13 Okt 2008) | 2 lines
Issue #4018: Disable "for me" installations on Vista.
........
Diffstat (limited to 'Tools/msi/msi.py')
| -rw-r--r-- | Tools/msi/msi.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Tools/msi/msi.py b/Tools/msi/msi.py index bb74d53..e2ff6c1 100644 --- a/Tools/msi/msi.py +++ b/Tools/msi/msi.py @@ -216,7 +216,8 @@ def build_database(): schema, ProductName="Python "+full_current_version+productsuffix, ProductCode=product_code, ProductVersion=current_version, - Manufacturer=u"Python Software Foundation") + Manufacturer=u"Python Software Foundation", + request_uac = True) # The default sequencing of the RemoveExistingProducts action causes # removal of files that got just installed. Place it after # InstallInitialize, so we first uninstall everything, but still roll @@ -696,10 +697,11 @@ def add_ui(db): "AdminInstall", "Next", "Cancel") whichusers.title("Select whether to install [ProductName] for all users of this computer.") # A radio group with two options: allusers, justme - g = whichusers.radiogroup("AdminInstall", 135, 60, 160, 50, 3, + g = whichusers.radiogroup("AdminInstall", 135, 60, 235, 80, 3, "WhichUsers", "", "Next") + g.condition("Disable", "VersionNT=600") # Not available on Vista and Windows 2008 g.add("ALL", 0, 5, 150, 20, "Install for all users") - g.add("JUSTME", 0, 25, 150, 20, "Install just for me") + g.add("JUSTME", 0, 25, 235, 20, "Install just for me (not available on Windows Vista)") whichusers.back("Back", None, active=0) |
