Citect deployment restart notification message

I would like to create my own deployment restart notification message.

That should be possible with the [Deployment]AskRestartFunc citect.ini parameter.

'Prompt' is selected as the update method.

I wrote a simple cicode function wich displays a message. (this function works when started in the kernel)

After deploying ,when using this cicode function as the AskRestartFunc the inbuilt notification dialog is not used (that's good).

But also my own message does not appear on the screen ?

Has somenone experience with this deployment AskRestartFunc ? What ami doing wrong ?