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
fdb12a3f
Kaydet (Commit)
fdb12a3f
authored
Nis 07, 2009
tarafından
Georg Brandl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Revert 3k change to msilib, which is executed with Python 2.x.
üst
d99fe9fe
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
msilib.py
Tools/msi/msilib.py
+4
-4
No files found.
Tools/msi/msilib.py
Dosyayı görüntüle @
fdb12a3f
...
...
@@ -5,7 +5,7 @@ import win32com.client.gencache
import
win32com.client
import
pythoncom
,
pywintypes
from
win32com.client
import
constants
import
re
,
string
,
os
,
sets
,
glob
,
subprocess
,
sys
,
winreg
,
struct
import
re
,
string
,
os
,
sets
,
glob
,
subprocess
,
sys
,
_
winreg
,
struct
try
:
basestring
...
...
@@ -387,9 +387,9 @@ class CAB:
(
r"Software\Microsoft\Win32SDK\Directories"
,
"Install Dir"
),
]:
try
:
key
=
winreg
.
OpenKey
(
_winreg
.
HKEY_LOCAL_MACHINE
,
k
)
dir
=
winreg
.
QueryValueEx
(
key
,
v
)[
0
]
winreg
.
CloseKey
(
key
)
key
=
_
winreg
.
OpenKey
(
_winreg
.
HKEY_LOCAL_MACHINE
,
k
)
dir
=
_
winreg
.
QueryValueEx
(
key
,
v
)[
0
]
_
winreg
.
CloseKey
(
key
)
except
(
WindowsError
,
IndexError
):
continue
cabarc
=
os
.
path
.
join
(
dir
,
r"Bin"
,
"cabarc.exe"
)
...
...
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