Ramin Sabet wrote: > It would be great to add a manifest to the --onefile binary (nicer > than having the .exe and the .exe.manifest). > > I tried this code in your build.py which worked fine: > > def AddManifest(self,dstpath,strManifestPath): > print 'AddManifest',dstpath,strManifestPath > import win32api #, win32con > strManifest=open(strManifestPath,'rt').read() > hdst = win32api.BeginUpdateResource (dstpath, 0) > win32api.UpdateResource (hdst, 24, 1, strManifest) > win32api.EndUpdateResource (hdst, 0) > > Would be great if you could include it with commandline option (like > the icon or version resource) in a future version ...
I never used VS2005, so I don't know what this manifest file is. When is it generated? It looks like this code embeds the manifest within the bootloader, so maybe the correct solution is to build correctly the bootloader, so that the manifest file is already embedded? -- Giovanni Bajo _______________________________________________ PyInstaller mailing list [email protected] http://lists.hpcf.upr.edu/mailman/listinfo/pyinstaller
