Ticket #117 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

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

comment:1 Changed 3 years ago by jasper

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.

comment:2 Changed 3 years ago by michelpons

  • Version set to 1.2.0.9
  • Milestone set to Maintenance of Phase II

comment:3 Changed 3 years ago by jasper

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in commit 263 for Phase II
Fixed in commit 264 for Phase III

Note: See TracTickets for help on using tickets.