我做了一个WEB安装部署程序,用的是VS自带的部署工具,我里面还判断了有一个控件有没有装,没有装的话,运行另一个进程去装,
Process MyProcess=new Process();
MyProcess.StartInfo.FileName=this.Context.Parameters["targetdir"]+"\\NetAdvantageAspNET51.msi";
MyProcess.StartInfo.WindowStyle=ProcessWindowStyle.Normal;
MyProcess.Start();
MyProcess.WaitForExit();
MyProcess.Close();
这样是可以检测到那个NetAdvantageAspNET51.msi,并且自动进行安装,可是后来跳出来一个提示框,说:
Error 1500.Another installation is in progress.You must complete that installation beegore continuing this one.
它的意思是另一个安装程序在运行,我的想法是想把那个控件的安装程序打进那个安装包里面,我该如何做呢,请高手解决问题?
Process MyProcess=new Process();
MyProcess.StartInfo.FileName=this.Context.Parameters["targetdir"]+"\\NetAdvantageAspNET51.msi";
MyProcess.StartInfo.WindowStyle=ProcessWindowStyle.Normal;
MyProcess.Start();
MyProcess.WaitForExit();
MyProcess.Close();
这样是可以检测到那个NetAdvantageAspNET51.msi,并且自动进行安装,可是后来跳出来一个提示框,说:
Error 1500.Another installation is in progress.You must complete that installation beegore continuing this one.
它的意思是另一个安装程序在运行,我的想法是想把那个控件的安装程序打进那个安装包里面,我该如何做呢,请高手解决问题?
解决方案 »
- $('addName'+id).select(); 这个在javascript脚本中$的作用是什么啊
- 我刚刚不小心把数据库里的90多个存储过程手动删除了,如何恢复>?
- 有没有DropDownList下拉菜单中可以帮定多个CheckBox的控件
- asp.net 中的异常处理,如何疲敝错误页面
- datagrid中.添加一新行后(里面有若干个textbox)怎么用button把们们找出来?
- 在asp.net中调用ActiveX控件的问题
- Ado错误,没有注册类别,怎么解决?
- .NET怎么解析java webservice返回结果的xml
- 我用 dec.exe 反编译加过密的 asp 文件,结果不满意
- 新手问:ASP.NET中,如何用程序实现在指定的sql server数据库添加一张表。
- 如何让数据库自动修改数据
- 梅花雨的Calendar.js在ASP.NET2.0中使用为什么会出错?谁能帮忙解决?
出错信息是这个:
Error 1500.Another installation is in progress.You must complete that installation beegore continuing this one.
Process MyProcess=new Process();
MyProcess.StartInfo.FileName=this.Context.Parameters["targetdir"]+"\\NetAdvantageAspNET51.msi";
MyProcess.StartInfo.WindowStyle=ProcessWindowStyle.Normal;
MyProcess.Start();
MyProcess.WaitForExit();
MyProcess.Close();另一个是用osql.exe的,也是一个进程,首先执行的是上面一个进程,可是在安装那个控件的时候就会弹出提示:Error 1500.Another installation is in progress.You must complete that installation before continuing this one.是怎么回事啊,是不是不能用2个进程啊,望高手解决啊,关键是没有分数了,只要能够解决,下次一定补上,在线等啊
http://community.csdn.net/Expert/TopicView.asp?id=5258732