Just curious. Why do you need to prevent the user from changing the icon? Is there some security exploit that employs icons?
From: Peter Irbizon
Sent: Tuesday, August 23, 2011 3:15 PM
Subject: [Py2exe-users] how to use icon in my application incorporated in exe?
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.