views:

85

answers:

1

I have a CustomDialog I made to let the user configure settings. Normally I want this to be launched from a menu item within the main application which works fine.

But during the install, I want to launch just the dialog to let the user configure the settings. Is there a way I can have both?

+1  A: 

With a little supporting code you can -- see e.g. wizard.py which launches an almost-stand-alone custom dialog subclass "wizard".

Alex Martelli
I get this error:Traceback (most recent call last): File "C:\Documents and Settings\gpinero\Local Settings\Temp\wizard.py", line 14, in ? from PythonCardPrototype import model, resImportError: No module named PythonCardPrototype
Greg
So edit wizard.py to import those entries from the module you have them in, instead of from the module PythonCardPrototype that you don't have (or at least don't have accessible on your python path).
Alex Martelli