I recently switched from py2exe to PyInstaller. My primary reason for 
doing so was because I found that py2exe cannot embed icons in an 
executable on my new Windows 8.1 x64 PC. I am impressed by PyInstaller and 
it definitely seems to be an improvement over py2exe.

In my working with PyInstaller, however, I have encountered an issue. For 
legal reasons, I cannot bundle the following files in the folder with my 
application: "Microsoft.VC90.CRT.manifest", "msvcm90.dll", "msvcp90.dll", 
and "msvcr90.dll". To work around this issue, when I was using py2exe, I 
ran the Microsoft Visual C++ 2008 Redistributable Setup EXE 
("vcredist_x86.exe") available from Microsoft as part of my program's 
installation process. This installed the MSVCRT files in a subfolder of the 
Windows directory. I then used a manifest for my EXE which pointed to those 
MSVCRT files.

I am not exactly sure how to do this with PyInstaller. I discovered that 
"[ProgramName].exe" will still run even if I delete the 4 MSVCRT files in 
the application folder. I thought that I might need to modify the 
"[ProgramName].exe.manifest" file to point to the MSVCRT files in the 
subfolder of the Windows directory. However, I found the program still ran 
even if I deleted that manifest file.

Now I am somewhat confused. Is there a manifest embedded in the EXE created 
by PyInstaller that will use the MSVCRT files in the Windows directory? In 
other words, how can I accomplish what I want? Is it as simple as deleting 
the MSVCRT files in the application folder? 

Thank you.

-- Timothy

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pyinstaller.
For more options, visit https://groups.google.com/d/optout.

Reply via email to