Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f63921f

Browse files
committed
Merged revisions 66881 via svnmerge from
svn+ssh://[email protected]/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. ........
1 parent 1c9313f commit f63921f

2 files changed

Lines changed: 10 additions & 3 deletions

File tree

Misc/NEWS

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,11 @@ Extension Modules
5858

5959
- Issue #3659: Subclasses of str didn't work as SQL parameters.
6060

61+
Build
62+
-----
63+
64+
- Issue #4018: Disable "for me" installations on Vista.
65+
6166

6267
What's New in Python 3.0 release candidate 1
6368
============================================

Tools/msi/msi.py

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

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

0 commit comments

Comments
 (0)