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
19b1aaa4
Kaydet (Commit)
19b1aaa4
authored
Ara 04, 2007
tarafından
Christian Heimes
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Added VS 2005 and VS 2008 to the search path for cabarc.exe
üst
9acba044
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
5 deletions
+10
-5
msilib.py
Tools/msi/msilib.py
+10
-5
No files found.
Tools/msi/msilib.py
Dosyayı görüntüle @
19b1aaa4
...
@@ -376,14 +376,19 @@ class CAB:
...
@@ -376,14 +376,19 @@ class CAB:
except
OSError
:
except
OSError
:
pass
pass
for
k
,
v
in
[(
r"Software\Microsoft\VisualStudio\7.1\Setup\VS"
,
"VS7CommonBinDir"
),
for
k
,
v
in
[(
r"Software\Microsoft\VisualStudio\7.1\Setup\VS"
,
"VS7CommonBinDir"
),
(
r"Software\Microsoft\Win32SDK\Directories"
,
"Install Dir"
)]:
(
r"Software\Microsoft\VisualStudio\8.0\Setup\VS"
,
"VS7CommonBinDir"
),
(
r"Software\Microsoft\VisualStudio\9.0\Setup\VS"
,
"VS7CommonBinDir"
),
(
r"Software\Microsoft\Win32SDK\Directories"
,
"Install Dir"
),
]:
try
:
try
:
key
=
_winreg
.
OpenKey
(
_winreg
.
HKEY_LOCAL_MACHINE
,
k
)
key
=
_winreg
.
OpenKey
(
_winreg
.
HKEY_LOCAL_MACHINE
,
k
)
except
WindowsError
:
dir
=
_winreg
.
QueryValueEx
(
key
,
v
)[
0
]
_winreg
.
CloseKey
(
key
)
except
(
WindowsError
,
IndexError
):
continue
cabarc
=
os
.
path
.
join
(
dir
,
r"Bin"
,
"cabarc.exe"
)
if
not
os
.
path
.
exists
(
cabarc
):
continue
continue
cabarc
=
os
.
path
.
join
(
_winreg
.
QueryValueEx
(
key
,
v
)[
0
],
r"Bin"
,
"cabarc.exe"
)
_winreg
.
CloseKey
(
key
)
if
not
os
.
path
.
exists
(
cabarc
):
continue
break
break
else
:
else
:
print
"WARNING: cabarc.exe not found in registry"
print
"WARNING: cabarc.exe not found in registry"
...
...
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