Hi  Edwards,
I am using cx_Freeze 4.3.4 if i use the solution provided by you i get this
issue
error: error in setup script: command 'bdist_msi' has no such option
'install_icon'

I tried to upgrade the cx_Freeze version while updating I got this error
ImportError: No module named machinery
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info
Check the logs for full command output.

Could you tell me what is the mistake I am doing?

On Mon, Sep 16, 2019 at 8:13 PM Grant Edwards <grant.b.edwa...@gmail.com>
wrote:

> On 2019-09-16, sridhar G <sri90...@gmail.com> wrote:
>
> > I am new to python, I am trying to develop an application using
> PySide,its
> > almost done.But i want to add icon to uninstall list of application in
> > windows,
>
> This seems to work for me:
>
>     build_exe_options = {
>             "include_files": ['myapp.ico'],
>             }
>
>     bdist_msi_options = {
>             "install_icon": "myapp.ico",
>             }
>
>     base = "Win32GUI"
>
>     setup(name = "My App",
>               version = "1.00",
>               description = "My Applicatoin",
>               author="My Name",
>               options = {"build_exe": build_exe_options, "bdist_msi":
> bdist_msi_options},
>               executables = [Executable("myapp.py",
>                                         base=base,
>                                         icon='myapp.ico',
>               )])
>
> --
> Grant Edwards               grant.b.edwards        Yow! Send your
> questions to
>                                   at               ``ASK ZIPPY'', Box
> 40474,
>                               gmail.com            San Francisco, CA
> 94140,
>                                                    USA
>
>
>
> _______________________________________________
> cx-freeze-users mailing list
> cx-freeze-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/cx-freeze-users
>
_______________________________________________
cx-freeze-users mailing list
cx-freeze-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cx-freeze-users

Reply via email to