Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
eba774b4
Commit
eba774b4
authored
Oct 13, 2008
by
Martin v. Löwis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #4018: Disable "for me" installations on Vista.
parent
76f71a52
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
Misc/NEWS
Misc/NEWS
+2
-0
Tools/msi/msi.py
Tools/msi/msi.py
+5
-3
No files found.
Misc/NEWS
View file @
eba774b4
...
@@ -32,6 +32,8 @@ Library
...
@@ -32,6 +32,8 @@ Library
Build
Build
-----
-----
- Issue #4018: Disable "for me" installations on Vista.
- Issue #3758: Add ``patchcheck`` build target to .PHONY.
- Issue #3758: Add ``patchcheck`` build target to .PHONY.
...
...
Tools/msi/msi.py
View file @
eba774b4
...
@@ -217,7 +217,8 @@ def build_database():
...
@@ -217,7 +217,8 @@ def build_database():
schema
,
ProductName
=
"Python "
+
full_current_version
+
productsuffix
,
schema
,
ProductName
=
"Python "
+
full_current_version
+
productsuffix
,
ProductCode
=
product_code
,
ProductCode
=
product_code
,
ProductVersion
=
current_version
,
ProductVersion
=
current_version
,
Manufacturer
=
u"Python Software Foundation"
)
Manufacturer
=
u"Python Software Foundation"
,
request_uac
=
True
)
# The default sequencing of the RemoveExistingProducts action causes
# The default sequencing of the RemoveExistingProducts action causes
# removal of files that got just installed. Place it after
# removal of files that got just installed. Place it after
# InstallInitialize, so we first uninstall everything, but still roll
# InstallInitialize, so we first uninstall everything, but still roll
...
@@ -697,10 +698,11 @@ def add_ui(db):
...
@@ -697,10 +698,11 @@ def add_ui(db):
"AdminInstall"
,
"Next"
,
"Cancel"
)
"AdminInstall"
,
"Next"
,
"Cancel"
)
whichusers
.
title
(
"Select whether to install [ProductName] for all users of this computer."
)
whichusers
.
title
(
"Select whether to install [ProductName] for all users of this computer."
)
# A radio group with two options: allusers, justme
# A radio group with two options: allusers, justme
g
=
whichusers
.
radiogroup
(
"AdminInstall"
,
135
,
60
,
160
,
5
0
,
3
,
g
=
whichusers
.
radiogroup
(
"AdminInstall"
,
135
,
60
,
235
,
8
0
,
3
,
"WhichUsers"
,
""
,
"Next"
)
"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
(
"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
)
whichusers
.
back
(
"Back"
,
None
,
active
=
0
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment