Link to home
Start Free TrialLog in
Avatar of thready
thready

asked on

C# command line app, invisible to windows installer

Hi Experts,
I need to create a C# command line app that won't show a window popup when called from a windows installer.  Is my best bet a "console application" or an "empty project"?  I need the return code of the main to indicate the success or failure of the command line.

Thanks,
Mike
ASKER CERTIFIED SOLUTION
Avatar of Miguel Oz
Miguel Oz
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of thready
thready

ASKER

You rock.  Thanks!
Avatar of thready

ASKER

Side question, sorry - do you know if it's possible to create a c# forms application that would not have any UI that could also redirect its output?  Or would "console" not even be available in this type of project?   I ask this because the command line is part of an installer and I don't want to see the black window come up while it does its thing...

Thanks,
Mike
Set this property to Hidden(not visible) when you run console app.
Avatar of thready

ASKER

Thank you very much! :-)