Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
2dcd7a0d
Kaydet (Commit)
2dcd7a0d
authored
Haz 12, 2009
tarafından
Martin v. Löwis
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Support AMD64 in msilib. Set Win64 on reglocator.
Fixes #6258.
üst
2c0cdca5
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
5 deletions
+16
-5
bdist_msi.py
Lib/distutils/command/bdist_msi.py
+7
-2
__init__.py
Lib/msilib/__init__.py
+7
-3
NEWS
Misc/NEWS
+2
-0
No files found.
Lib/distutils/command/bdist_msi.py
Dosyayı görüntüle @
2dcd7a0d
...
@@ -342,9 +342,14 @@ class bdist_msi (Command):
...
@@ -342,9 +342,14 @@ class bdist_msi (Command):
exe_action
=
"PythonExe"
+
ver
exe_action
=
"PythonExe"
+
ver
target_dir_prop
=
"TARGETDIR"
+
ver
target_dir_prop
=
"TARGETDIR"
+
ver
exe_prop
=
"PYTHON"
+
ver
exe_prop
=
"PYTHON"
+
ver
if
msilib
.
Win64
:
# type: msidbLocatorTypeRawValue + msidbLocatorType64bit
Type
=
2
+
16
else
:
Type
=
2
add_data
(
self
.
db
,
"RegLocator"
,
add_data
(
self
.
db
,
"RegLocator"
,
[(
machine_reg
,
2
,
install_path
,
None
,
2
),
[(
machine_reg
,
2
,
install_path
,
None
,
Type
),
(
user_reg
,
1
,
install_path
,
None
,
2
)])
(
user_reg
,
1
,
install_path
,
None
,
Type
)])
add_data
(
self
.
db
,
"AppSearch"
,
add_data
(
self
.
db
,
"AppSearch"
,
[(
machine_prop
,
machine_reg
),
[(
machine_prop
,
machine_reg
),
(
user_prop
,
user_reg
)])
(
user_prop
,
user_reg
)])
...
...
Lib/msilib/__init__.py
Dosyayı görüntüle @
2dcd7a0d
...
@@ -2,9 +2,11 @@
...
@@ -2,9 +2,11 @@
# Copyright (C) 2005 Martin v. Lwis
# Copyright (C) 2005 Martin v. Lwis
# Licensed to PSF under a Contributor Agreement.
# Licensed to PSF under a Contributor Agreement.
from
_msi
import
*
from
_msi
import
*
import
os
,
string
,
re
import
os
,
string
,
re
,
sys
Win64
=
0
AMD64
=
"AMD64"
in
sys
.
version
Itanium
=
"Itanium"
in
sys
.
version
Win64
=
AMD64
or
Itanium
# Partially taken from Wine
# Partially taken from Wine
datasizemask
=
0x00ff
datasizemask
=
0x00ff
...
@@ -145,8 +147,10 @@ def init_database(name, schema,
...
@@ -145,8 +147,10 @@ def init_database(name, schema,
si
.
SetProperty
(
PID_TITLE
,
"Installation Database"
)
si
.
SetProperty
(
PID_TITLE
,
"Installation Database"
)
si
.
SetProperty
(
PID_SUBJECT
,
ProductName
)
si
.
SetProperty
(
PID_SUBJECT
,
ProductName
)
si
.
SetProperty
(
PID_AUTHOR
,
Manufacturer
)
si
.
SetProperty
(
PID_AUTHOR
,
Manufacturer
)
if
Win64
:
if
Itanium
:
si
.
SetProperty
(
PID_TEMPLATE
,
"Intel64;1033"
)
si
.
SetProperty
(
PID_TEMPLATE
,
"Intel64;1033"
)
elif
AMD64
:
si
.
SetProperty
(
PID_TEMPLATE
,
"x64;1033"
)
else
:
else
:
si
.
SetProperty
(
PID_TEMPLATE
,
"Intel;1033"
)
si
.
SetProperty
(
PID_TEMPLATE
,
"Intel;1033"
)
si
.
SetProperty
(
PID_REVNUMBER
,
gen_uuid
())
si
.
SetProperty
(
PID_REVNUMBER
,
gen_uuid
())
...
...
Misc/NEWS
Dosyayı görüntüle @
2dcd7a0d
...
@@ -317,6 +317,8 @@ Core and Builtins
...
@@ -317,6 +317,8 @@ Core and Builtins
Library
Library
-------
-------
- Issue #6258: Support AMD64 in bdist_msi.
- Issue #5262: Fixed bug in next rollover time computation in
- Issue #5262: Fixed bug in next rollover time computation in
TimedRotatingFileHandler.
TimedRotatingFileHandler.
...
...
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