建了一个Windows服务,然后在Setup里添加了主输出Installers(windows 服务)
内容文件是一个网站。但是我在Installers里的写了一个方法,然后在安装的时候没有弹出窗口阿,方法如下:public override void Install(IDictionary stateSaver)
{
MessageBox.Show("测试", "信息提示", MessageBoxButtons.OK, MessageBoxIcon.Warning);
}
内容文件是一个网站。但是我在Installers里的写了一个方法,然后在安装的时候没有弹出窗口阿,方法如下:public override void Install(IDictionary stateSaver)
{
MessageBox.Show("测试", "信息提示", MessageBoxButtons.OK, MessageBoxIcon.Warning);
}
http://www.cnblogs.com/ryan-world/archive/2010/06/10/1755228.html
那Windows Installer是安装服务啊(就是我要用的服务吧),但是我勾选了“允许服务与桌面交互”也没弹出窗口阿。
Windows Service下的MessageBox