Some debug info (I promise I'll revert it in just a few minutes)

This commit is contained in:
rdb 2010-11-13 16:01:36 +00:00
parent 5541054c0f
commit f9c1772ef5
2 changed files with 4 additions and 2 deletions

View File

@ -271,7 +271,6 @@ class Installer:
if not archive.exists(): if not archive.exists():
continue continue
print archive
mf = Multifile() mf = Multifile()
# Make sure that it isn't mounted before altering it, just to be safe # Make sure that it isn't mounted before altering it, just to be safe
vfs.unmount(archive) vfs.unmount(archive)

View File

@ -895,15 +895,18 @@ class Packager:
command = 'mt -inputresource:"%s";#%d -out:"%s" > nul' % ( command = 'mt -inputresource:"%s";#%d -out:"%s" > nul' % (
file.filename.toOsSpecific(), file.filename.toOsSpecific(),
resindex, tempFile.toOsSpecific()) resindex, tempFile.toOsSpecific())
print command
try: try:
out = os.system(command) out = os.system(command)
except: except:
print "failed"
pass pass
afilenames = None afilenames = None
if tempFile.exists(): if tempFile.exists():
afilenames = self.__parseManifest(tempFile) afilenames = self.__parseManifest(tempFile)
tempFile.unlink() print tempFile
#tempFile.unlink()
# Also check for an explicit private-assembly # Also check for an explicit private-assembly
# manifest file on disk. # manifest file on disk.