You could base64 the image and use the embedded image function from wx to import the module from a python file. That would prevent them from changing the icon.

On Tue, Aug 23, 2011 at 6:15 PM, Peter Irbizon <peterirbizon@gmail.com> wrote:
Hello,
I would like to incorporate png and icon file into exe and then use it during program run (to show it in about dialog and system tray). How can I do it?
For example now I use self.staticon.set_from_file(os.path.join(module_path(), "icon.ico")) but I would like to prevent user from changeing this icon. Thanks
 
I found this http://www.py2exe.org/index.cgi/CustomIcons but it is for wx.

------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management
Up to 160% more powerful than alternatives and 25% more efficient.
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev

_______________________________________________
Py2exe-users mailing list
Py2exe-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/py2exe-users