网上找到:        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