>     And it's setting the icon table that throws the exception because of
>     unsupported byte array data type.
>
>
> I'm not familiar with MSIs, but you might want to look at msilib.Binary:
>
> http://docs.python.org/3.3/library/msilib#msilib.Binary
>
> Thomas

That worked! Here's what I did

icon_table = [
    ('MyAppIco', msilib.Binary('MyApp.ico'))
    ]

property_table = [
    ('ARPPRODUCTICON', 'MyAppIco'),
    ]

msi_data = {
    'Icon': icon_table,
    'Property': property_table,
    }

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
cx-freeze-users mailing list
cx-freeze-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cx-freeze-users

Reply via email to