[Python-Dev] Re: [Python-checkins] python/nondist/sandbox/msi
msilib.py, 1.2, 1.3
Thomas Heller
theller at python.net
Tue Jan 6 13:44:28 EST 2004
loewis at users.sourceforge.net writes:
> Update of /cvsroot/python/python/nondist/sandbox/msi
> In directory sc8-pr-cvs1:/tmp/cvs-serv17402
>
> Modified Files:
> msilib.py
> Log Message:
> Locate cabarc in registry.
> except OSError:
> pass
> ! for k, v in [(r"Software\Microsoft\VisualStudio\7.1\Setup\VS", "VS7CommonBinDir"),
> ! (r"Software\Microsoft\Win32SDK\Directories", "Install Dir")]:
> ! try:
> ! key = _winreg.OpenKey(_winreg.HKEY_LOCAL_MACHINE, k)
> ! except WindowsError:
> ! continue
> ! cabarc = os.path.join(_winreg.QueryValueEx(key, v)[0], r"Bin", "cabarc.exe")
> ! _winreg.CloseKey(key)
> ! assert os.path.exists(cabarc), cabarc
The above assert fails for me, there's no cabarc.exe in the
VS7CommonBinDir: Do I have to install additional software, apart from
VS.NET 2003?
Thomas
More information about the Python-Dev
mailing list