 悬赏园豆:50
                [已关闭问题]
                悬赏园豆:50
                [已关闭问题] 
            
                 
        用VS2008的setup project制作了一个Web应用程序的安装包,在自定义的安装过程中会打开一个IE进程并跳转到对应的页面。具体代码如下:
        public override void Install(IDictionary stateSaver)
        {
            base.Install(stateSaver);
            Process p = new Process();
            p.StartInfo.FileName = "IExplore.exe";
            p.StartInfo.Arguments = string.Format("http://localhost/{0}/Install/Default.aspx", this.Context.Parameters["virtualDir"]);
            p.StartInfo.WindowStyle = ProcessWindowStyle.Maximized;
            p.Start();
            p.WaitForExit();
}
IE虽然已打开并且也跳转到了对应的页面。但此IE安全级别特别高,无法下载与执行页面上的JavaScript脚本。
注:此问题在Windows server 2003及IE6下存在。