正 文:
昨天帮同事安装SQL2000数据库,可安装到“安装程序正在安装Microsoft数据访问组件(MDAC)”后,提示错误如下:PackageForTheWeb Error,This program is used internally by PackageFromTheWeb. It should not be executed directly.安装程序配置服务器失败。参考服务器错误日志和C:\WINNT\sqlstp.log 了解更多信息。
随后,sql2000会继续安装一段程序,但完毕后,菜单里根本没有sql菜单,安装失败。重复安装了很多次,结果一样无法正常安装。
很多方法试过了,包括清理注册表,清空安装目录等等,都不能解决这个错误。最后,偶在国外的网站上看到一篇文章-
URL:
“
If you really are installing just the components then providing you have
done a dependancy check within InstallShield, things should be OK.
If however, you are trying to deploy MSDE as part of your package then
everything I can find on the matter says "Just Don't Do It". Instead
either:
1. Give the users instructions to install the MSDE package from the CD
if required and then a little application to setup and configure your
database requirements.
2. Or, download the MSDE / SQL Deployment Toolkit and build a separate
installation for your requirements using the templates provided. You can
then call that package from within your own InstallShield project.
”
意思就是两个建议:
一是从CD光盘重新安装;
二是从微软官方网站重新下载mssql2000安装原程序,重新安装。
也就是说本地备份的sql2000安装程序已经被病毒感染并破坏了,需要重新下载或从CD光盘里安装。
建议你立即扫描本地硬盘,包括移动U盘,移动硬盘,进行全面杀毒;病毒杀完后再重新安装。