Re: [dabo-users] Trying to create an exe from a dabo app

Author: Fiyawerx

Posted: 2009-06-29 at 17:35:20

Thanks for the info Paul. Work's about out so I'll give this a shot tomorrow

AM and report back. Appreciate the help.

On Mon, Jun 29, 2009 at 5:06 PM, Paul McNett <p@ulmcnett.com> wrote:

> Fiyawerx wrote:

> > With some editing I've been able to get it to wrap up the program, but

> now

> > when I try to run it, I get an error telling me to check the main log,

> and

> > it's not actually printing any errors, just blank. Going to try to go

> > through your setup file again and make sure I'm not doing anything

> stupid.

> > Mostly it was setting the variable names in the file itself and removing

> > some references to your manifest and other such.

>

> What version of py2exe are you using? I vaguely remember something like

> that for older versions.

>

> What is your bundle setting? Here's the file I use (buildwin.bat) for

> building my exe:

>

> {{{

> del /q dist

> rmdir /s /q dist build

>

> rem --> must be --bundle 3 for pywincomm to work...

> python -OO setup.py py2exe --bundle 3 %1

> rem python -OO setup.py py2exe

>

> copy c:\python25\lib\site-packages\wx-2.8-msw-unicode\wx\MSVCP71.dll dist

> copy c:\python25\lib\site-packages\wx-2.8-msw-unicode\wx\gdiplus.dll dist

> copy c:\windows\system32\mfc71.dll dist

>

> move dist\main*.exe dist\shutter_studio.exe

> iscc setup.iss

> }}}

>

> The iscc line is for innosetup. I run buildwin.bat which runs py2exe and

> then innosetup leaving me with a setup.exe file for the application.

> This is what I distribute.

>

> It's been working well for about 3 years now.

>

>

> > Can anyone point me in the right direction for removing your menu bars

> > altogether from an app? I thought I had read that you can do it by

> setting

> > MenubarClass to None, and I had set that with a custom property, and it

> > seemed to work in my python app, but then when it exe's I end up getting

> an

> > unknown error about getMenuBarClass method, is there a 'proper' way to

> > disable a menu bar? I don't need one at all in this application.

>

> Can you show us the exact output you get when setting form.MenuBarClass

> to None? Probably the de-facto way to not have a menubar is to set

> form.ShowMenuBar to False.

>

>

> http://paul.dabodev.com/doc/api/dabodoc/dabo.ui.uiwx.dForm.dForm.html#Properties_ShowMenuBar

>

> Paul

> _______________________________________________

> Post Messages to: Dabo-users@leafe.com

> Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users

> Searchable Archives: http://leafe.com/archives/search/dabo-users

> This message:

> http://leafe.com/archives/byMID/4A492CD1.4060003@ulmcnett.com

>

--- StripMime Report -- processed MIME parts ---

multipart/alternative

text/plain (text body -- kept)

text/html

---

©2009 Fiyawerx