网上找到: protected override void OnAfterInstall(System.Collections.IDictionary savedState)
{
base.OnAfterInstall(savedState); Assembly asm = Assembly.GetExecutingAssembly();
string path = asm.Location.Remove(asm.Location.LastIndexOf("\\")) + "\\";
System.Diagnostics.Process.Start(path + "\\VIOSYS.exe");
}可是这是安装后用户还没有点击“关闭”时就执行了。
点击关闭后再执行程序应该怎么弄法?thanks
{
base.OnAfterInstall(savedState); Assembly asm = Assembly.GetExecutingAssembly();
string path = asm.Location.Remove(asm.Location.LastIndexOf("\\")) + "\\";
System.Diagnostics.Process.Start(path + "\\VIOSYS.exe");
}可是这是安装后用户还没有点击“关闭”时就执行了。
点击关闭后再执行程序应该怎么弄法?thanks
看我那么晚帮你看帖子你也应该把分都给我吧,呵呵