Ticket #117 (closed defect: fixed)
add a console-less version of cobiaRegister
Reported by: | jasper | Owned by: | jasper |
---|---|---|---|
Priority: | minor | Milestone: | Maintenance of Phase II |
Component: | Registrar | Version: | 1.2.0.9 |
Keywords: | Cc: |
Description
When cobiaRegister is invoked on a PMC dll from e.g. NSIS installers (ExecWait?), the console window shows.
Perhaps we should add w wCobiaRegister that does not have a console, or add a command line option to suppress the console.
Change History
Note: See
TracTickets for help on using
tickets.
Making a WinMain? based executable using its parent's console, if there is one, or detecting that there isn't one, is straight forward. Getting the parent console to wait until a WinMain? exe is done however is not. The simplest option to implement is wCapeRegister that forwards all command line options to capeRegister, hides its console, captures its output and (if not empty) shows a message box with the output. In addition add a -s (silent) option to cobiaRegister so that the ...OK! message is not printed anymore.