Board index » cppbuilder » TService install and user interface

TService install and user interface


2005-09-02 04:13:35 PM
cppbuilder0
Is it possible to call standard dialogs or create/open custom dialogs
from the TService::Before/AfterInstall and Before/AfterUninstall events?
 
 

Re:TService install and user interface

"Tumurbaatar S." < XXXX@XXXXX.COM >wrote in news: XXXX@XXXXX.COM :
Quote
Is it possible to call standard dialogs or create/open custom dialogs
from the TService::Before/AfterInstall and Before/AfterUninstall events?
There a lot of ifs
msdn.microsoft.com/library/default.asp
 

Re:TService install and user interface

"Tumurbaatar S." < XXXX@XXXXX.COM >wrote in message
Quote
Is it possible to call standard dialogs or create/open custom
dialogs from the TService::Before/AfterInstall and Before/AfterUninstall
events?
Yes, but only if the service executable is being run in the context of a
user account that has access to the Interactive desktop. In other words,
only if a user has logged into the machine and then runs your service
executable directly. In which case, displaying dialogs in those events is
safe to do. Any other scenerio may not be safe, depending on where the
executable is actually being called from.
Gambit
 

{smallsort}