Skip to content

Commit c689eb7

Browse files
author
martin.v.loewis
committed
Issue #4018: Disable "for me" installations on Vista.
git-svn-id: http://svn.python.org/projects/python/trunk@66881 6015fed2-1504-0410-9fe1-9d1591cc4771
1 parent 4138751 commit c689eb7

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

Misc/NEWS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ Library
3232
Build
3333
-----
3434

35+
- Issue #4018: Disable "for me" installations on Vista.
36+
3537
- Issue #3758: Add ``patchcheck`` build target to .PHONY.
3638

3739

Tools/msi/msi.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,8 @@ def build_database():
217217
schema, ProductName="Python "+full_current_version+productsuffix,
218218
ProductCode=product_code,
219219
ProductVersion=current_version,
220-
Manufacturer=u"Python Software Foundation")
220+
Manufacturer=u"Python Software Foundation",
221+
request_uac = True)
221222
# The default sequencing of the RemoveExistingProducts action causes
222223
# removal of files that got just installed. Place it after
223224
# InstallInitialize, so we first uninstall everything, but still roll
@@ -697,10 +698,11 @@ def add_ui(db):
697698
"AdminInstall", "Next", "Cancel")
698699
whichusers.title("Select whether to install [ProductName] for all users of this computer.")
699700
# A radio group with two options: allusers, justme
700-
g = whichusers.radiogroup("AdminInstall", 135, 60, 160, 50, 3,
701+
g = whichusers.radiogroup("AdminInstall", 135, 60, 235, 80, 3,
701702
"WhichUsers", "", "Next")
703+
g.condition("Disable", "VersionNT=600") # Not available on Vista and Windows 2008
702704
g.add("ALL", 0, 5, 150, 20, "Install for all users")
703-
g.add("JUSTME", 0, 25, 150, 20, "Install just for me")
705+
g.add("JUSTME", 0, 25, 235, 20, "Install just for me (not available on Windows Vista)")
704706

705707
whichusers.back("Back", None, active=0)
706708

0 commit comments

Comments
 (0)