百度空间 | 百度首页 
 
查看文章
 
VC6.0安装程序安装出错解决方法
2007-07-05 19:33

文章来源:http://blog.neupioneer.com/more.asp?id=21403

            最近几天安装VC6.0老是出错,开始装在E;后来卸载了想装在C,结果有很多文件还装在E盘.最后把VC6.0卸载后,并把注册表里面有关VisualStudio,有关项全部删除后,把安装路径才搞对...安装到最后快完成的时候,又出现错误提示 "安装程序无法创建一个DCOM用户帐号来注册 D:\ProgramFiles\Microsoft

Visual Studio\Common\Tools \VS-Ent98\Vanalyzr\valec.exe ”,以下收集的一些解决方案。

         网上很多人说重装操作系统,很明显这是不明智的选择.........如果你不使用Visual Studio Analyzer,

可以在安装时选择Custom,然后在Enterprise Tools中清除掉Visual Studio Analyzer,再安装就没有这

个问题了,如果一定要使用Visual Studio Analyzer,可以在安装后在进行配置工作。

-------------------------------------------------------------------------------------------------------------------------------

VC 6.0 安装程序安装出错解决方法之葵花宝典, 解决您安装的问题

以下是从微软网站找到的解决方法,由moonet翻译。

适用于InstallShield 6.x 制作的安装程序

可能出现的安装错误包括:不支持此接口,RPC占位不兼容,Ikernel错误等等常见错误

1、在NT平台下(包括Win NT,Win 2000,Win XP),请使用管理员身份登陆后运行安装程序,请确认身份,否则不能进行安装;

2、如果您刚运行完一个安装程序,请稍等几秒再启动下一个安装程序,因为安装程序表面上已经完毕,实际上程序还在进行后期清理,内存中还有 Ikernel.exe(安装程序引擎)驻留,所以如果您此时启动另一个安装程序,将出现错误。

3、如果您安装的过程中出现错误,请使用任务管理器察看是否有 Ikernel.exe 这个进程存在,如果存在而且此时您确认没有安装程序在运行,您可以结束这个进程后再进行安装。

4、清理干净系统和您系统账户下的 Temp 目录。例如:您系统安装在C盘,windows目录是 winnt ,那么您的系统 Temp 目录是:c:winnt emp ,如果您是以“陆国暾”的账户登陆的,您的个人 Temp 目录是:C:Documents and Settings陆国暾Local SettingsTemp
请您清理完以上2个目录(删除所有目录内文件)再进安装。

5、删除目录: Program Files\Common Files\InstallShield 以后再进行安装

6、删除目录: Program Files\Common Files\InstallShieldEngine 以后再进行安装

7、请重新安装IE 5.X 或者 6.0,如果您是NT平台,请重新安装微软的Service Pack。

8、跟COM接口有关系,此种情况出现概率较小,如感兴趣,可以参照InstallShield解决方案:http://support.installshield.com/kb/view.asp?articleid=Q104986

9、可能潜在引起问题的文件:Stdole32.tlb, stdole2.tlb, or Stdole.tlb ,这3个文件的丢失可能导致安装失败,这3个文件是系统核心文件,如果缺失,请从其它相同操作系统的机器上拷贝到本机的相应目录下。

10、如果您使用的是Win98,强烈建议您安装微软的DCom补丁,该补丁的下载地址为:http://www.microsoft.com/com/dcom/dcom98/download.asp

11、确认您使用的是最新的InstallShield引擎,这条是针对安装程序制作员,请使用 InstallShield最新版本,并保持更新,使您制作出来的安装程序包含的引擎是最新的。

12、默认模拟级别必须设为:标识,其步骤为:
a、单击Windows开始菜单;
b、选择“运行”;
c、输入 DCOMCNFG ,然后确定;
d、如果有任何警告提示,请选择否;
e、“分布式COM配置属性”对话框出现;
f、选择“默认属性”页;
g、将“默认级别”下拉框选择称“标识”;
h、点击应用后确定。

13、引起安装程序错误的还有下列注册表项无法读取(账户等级低):
HKEY_LOCAL_MACHINE\SOFTWARE\ClassesCLSID
HKEY_LOCAL_MACHINE\SOFTWARE\ClassesInterface
HKEY_LOCAL_MACHINE\SOFTWARE\ClassesTypeLib

请使用 regedt32.exe 来改变账户等级,请改变成以下等级:

Administrator (on the local machine)
System
Created Owner

14、请使用 regedit32.exe 检查HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersion下的CommonFilesDir键值后面没有空格或者使用了Tab。比如“C:Program FilesCommon Files”是正确的,但是“C:Program FilesCommon Files ”或者“C:Program FilesCommon Files ”是错误的,请删除掉空格。

增加一点:如果用户安装过ACDSee 5.0试用版,将会造成和安装程序冲突,建议卸载ACDSee 5.0试用版再安装。

以下是英文原文:

Professional 6.x Users

Insufficient permissions on the machine. If you are using a Windows NT or a Windows 2000 machine, you need to have administrative permission to run an InstallShield Professional 6.x setup. Make sure you have the correct permissions.

If you just ran an InstallShield setup, the engine takes a few seconds at the end of the installation to clean up. During this time Ikernel.exe (the engine file) is running in memory from a previous process; that is why you are not allowed to launch another setup. Waiting a few seconds and running the setup again should resolve this.

Check and make sure Ikernel.exe is not in memory. If it is, and no setup is running at the time, end that task.

Clean out the Temp directory.

Delete the Program FilesCommon FilesInstallShield folder and then rerun the setup.

Delete the Program FilesCommon FilesInstallShieldEngine folder and then rerun the setup.

Reinstalling Internet Explorer (IE) 5.x can also repair a number of corrupted/missing core Windows files from your machine, so reinstalling IE 5.x and the NT service pack is also suggested.

You may not have sufficient COM permissions. For information on how to troubleshoot this, see Knowledge Base article Q104986, INFO: Initialization Error Troubleshooting.

A potential cause is missing Stdole32.tlb, stdole2.tlb, or Stdole.tlb files. These are core Windows files and should exist on your machine. Make sure that if you get these files from another machine, the machine is running the same operating system as the target machine.

If you are trying to install to a Windows 98 machine, download and run DCom98.exe from the following site: http://www.microsoft.com/com/dcom/dcom98/download.asp.

Make sure that you are using the latest version of the InstallShield engine. To install the latest engine, see Knowledge Base article Q105097, INFO: Install the Latest Version of Ikernel.exe.

The Default Impersonation Level must be set to Identify. Verify that the DCOM Configuration Properties Defaults Impersonation Level is set correctly. Users that have their Default Impersonation Level set to Anonymous experience this error message. To change the impersonation level, please follow the steps below:
Click on the Start button
Select Run
Enter DCOMCNFG then click OK
Select NO for any Warning screens that are presented
The "Distributed COM Configuration Properties" screen is displayed
Select the "Default Properties" tab
The "Defaults Impersonation Level" field must be set to "Identify"
Select Apply then OK

The said symptom occurs if the user does not have access privileges for the following registry keys:
HKEY_LOCAL_MACHINESOFTWAREClassesCLSID
HKEY_LOCAL_MACHINESOFTWAREClassesInterface
HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib

Use regedt32.exe* to alter the security settings. Give Full Control to following user types:

Administrator (on the local machine)
System
Created Owner


Using Regedit.exe* check the value of CommonFilesDir registry entry under HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersion, to ensure that there are no trailing spaces or tab characters in the text of that value.
* Warning: These instructions involve modifying the Windows Registry. Modifications to the Windows registry, if not done correctly, can cause serious problems to a Windows system. Please consider exporting any keys you modify to a .reg file as a backup.

-------------------------------------------------------------------------------------------------------------------------------

http://babocs.yculblog.com/post.2464074.html

今天安装vc++6.0的问题和解决方法

问题:

今天在安装由iso做安装程序的vc时,安装快结束时需要重启,重启后,说是安装程序要继续,但是没有找到安装盘,所以安装被迫停止。原来是我的虚拟光驱在电脑重启后没有自动启动,于是偶把msconfig中的deamon启动钩上,把没有安装完全的vc卸载了,然后进行重新安装。在安装快结束时候,进行系统更新时,出现: “安装程序无法创建一个DCOM用户帐号来注册 D:\ProgramFiles\Microsoft Visual Studio\Common\Tools \VS-Ent98\Vanalyzr\valec.exe”
接着出现“安装未成功“等提示。

原因:

这是Visual Studio的一个BUG,是当vc卸载后再安装的时候可能会出现的,只出现在Windows 2000/XP下。问题出在VisualStudioAnalyzer, 它是 Visual Studio 6.0, EnterpriseEdition 中包含产品之一无法创建本地用户帐户, 它需要因更改运行到用于 Windows 2000 中用户安全策略。


解决方案:

如果你不使用Visual Studio Analyzer,可以在安装时选择Custom,然后在Enterprise Tools中清除掉Visual Studio Analyzer。再安装就没有这个问题了。
如果一定要使用Visual Studio Analyzer,可以在安装后在进行配置工作。

以上两个方法的步骤为:
重新安装 Visual Studio 6.0 不 Visual Studio Analyzer EnterpriseEdition:
1. 使用自定义安装, Visual Studio 6.0 企业 - 自定义 页上, 企业工具 , 依次 更改选项
2. Visual Studio 6.0 企业 - 企业工具 页, 选项 , 下进行确保 VisualStudioAnalyzer 复选框未选中。
3. 单击以选中与要安装, 所有其他 VisualStudio 组件, 然后单击 确定
4. 单击 继续 , 然后按照指示操作。
要安装 VisualStudioAnalyzer:
1. 在控制面板, 双击 添加/删除程序 , 然后单击 Microsoft Visual Studio 6.0 企业版
2. 单击 更改/删除
3. 在 Visual Studio 6.0 企业安装, 单击 添加/删除
4. Visual Studio 6.0 企业 - 维护 页, 单击 企业工具 , 然后单击 更改选项
5. Visual Studio 6.0 企业 - 企业工具 页, 选项 , 下单击 VisualStudioAnalyzer , 然后单击 确定
6. Visual Studio 6.0 企业 - 维护 页, 上 继续 , 单击, 然后按照指示操作。
当您收到错误消息, " 症状 " 部分中描述继续 Visual Studio 安装向导。 安装报告失败。
要创建本地帐户, 它将作为运行 VisualStudioAnalyzer:
1. 是运行 Visual Studio 企业 Edition 6.0, 计算机上创建本地用户。 有关如何创建本地用户, 请参阅 Windows 2000 帮助。
2. 运行分布式 COM 配置 (dcomcnfg.exe)。
3. 应用程序 选项卡, 单击 MSVSA 本地事件集中器类 , 然后单击 属性
4. 标识 选项卡, 设置可匹配用户和密码在此过程的步骤 1 中创建 此用户

类别:杂项 | 添加到搜藏 | 分享到i贴吧 | 浏览() | 评论 (5)
 
最近读者:
 
网友评论:
1
2007-08-26 06:37 | 回复
谢谢 提供!!!
 
2
2008-08-13 10:40 | 回复
Thanks!
 
3
2009-03-05 15:20 | 回复
多谢了
 
4
2009-03-06 13:33 | 回复
谢谢
 
5
2009-05-16 12:48 | 回复
谢谢
 
发表评论:
姓 名:
网址或邮箱: (选填)
内 容:
验证码: 请点击后输入四位验证码,字母不区分大小写
      

     

©2009 Baidu