Delphi安装NT服务程序时,不出现提示信息
来源:互联网 发布:光盘重装ubuntu系统 编辑:程序博客网 时间:2024/05/21 14:55
如果我们不加上"/silent",那么Delphi在安装和卸载NT服务程序时候,都会出现一个提示信息,不希望出现这个提示信息,那么使用如下命令:
1,安装:“你的nt程序 /install /silent”。
2,卸载:“你的nt程序 /uninstall /silent”。
这是Delphi中注册服务方法声明,Silent是决定是否提示的参数:
procedure TServiceApplication.RegisterServices(Install, Silent: Boolean);
下面是具体出现提示的代码:
if Success and not Silent then
if Install then
DisplayMessage(SServiceInstallOK, mtInformation)
else
DisplayMessage(SServiceUninstallOK, mtInformation);
看到这些,我想大家就知道为什么不加那个"/silent"参数会出现提示了!
- Delphi安装NT服务程序时,不出现提示信息
- delphi NT服务程序制作
- 用DELPHI进行NT、2000、2003服务程序的调试
- 运用Delphi编写Windows NT中服务程序
- .NET 1.1安装不了提示安装程序初始化时出错或提示windows intall服务不可用
- Delphi 编写Windows NT服务
- 编写NT服务程序
- NT服务程序
- 用DELPHI编写NT服务时,如何指定依存关系?
- 用DELPHI编写NT服务时,如何指定依存关系
- 小程序无网络状态时不刷新提示信息
- Delphi关机程序NT版
- Delphi开发NT Service程序
- 解决Delphi 7不出现代码提示的问题
- 按NT服务运行程序
- 【Delphi】Hint提示信息
- delphi信息框提示
- nt service 1072 无需重启,重复安装服务程序或服务驱动的方法
- C++学习路线
- json-lib 之jsonConfig详细使用
- SOE开发中常用的两个方法
- 解析xml格式的字符串的案例
- 浅谈RGB和YUV
- Delphi安装NT服务程序时,不出现提示信息
- 指令
- JUnit4 详解
- emca -config dbcontrol db 报错,错误提示为 job_queue_processes 必须大于等于1
- 计算机神书『编码:隐匿在计算机软硬件背后的语言』
- java学习路线
- android TranslateAnimation
- 获得字符串对应的字节长度
- 问题八十:打印菱形