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
fdb12a3f
Commit
fdb12a3f
authored
Apr 07, 2009
by
Georg Brandl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert 3k change to msilib, which is executed with Python 2.x.
parent
d99fe9fe
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Tools/msi/msilib.py
Tools/msi/msilib.py
+4
-4
No files found.
Tools/msi/msilib.py
View file @
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