资源预览内容
第1页 / 共6页
第2页 / 共6页
第3页 / 共6页
第4页 / 共6页
第5页 / 共6页
第6页 / 共6页
亲,该文档总共6页全部预览完了,如果喜欢就下载吧!
资源描述
2007-07-05 19:33文章来源:http:/blog.neupioneer.com/more.asp?id=21403 最近几天安装VC6.0老是出错,开始装在E;后来卸载了想装在C,结果有很多文件还装在E盘.最后把VC6.0卸载后,并把注册表里面有关VisualStudio,有关项全部删除后,把安装路径才搞对.安装到最后快完成的时候,又出现错误提示 安装程序无法创建一个DCOM用户帐号来注册 D:ProgramFilesMicrosoftVisual StudioCommonTools VS-Ent98Vanalyzrvalec.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 FilesCommon FilesInstallShield 以后再进行安装6、删除目录: Program FilesCommon FilesInstallShieldEngine 以后再进行安装7、请重新安装IE 5.X 或者 6.0,如果您是NT平台,请重新安装微软的Service Pack。8、跟COM接口有关系,此种情况出现概率较小,如感兴趣,可以参照InstallShield解决方案:http:/support.installshield.com/kb/view.asp?articleid=Q1049869、可能潜在引起问题的文件:Stdole32.tlb, stdole2.tlb, or Stdole.tlb ,这3个文件的丢失可能导致安装失败,这3个文件是系统核心文件,如果缺失,请从其它相同操作系统的机器上拷贝到本机的相应目录下。10、如果您使用的是Win98,强烈建议您安装微软的DCom补丁,该补丁的下载地址为:http:/www.microsoft.com/com/dcom/dcom98/download.asp11、确认您使用的是最新的InstallShield引擎,这条是针对安装程序制作员,请使用 InstallShield最新版本,并保持更新,使您制作出来的安装程序包含的引擎是最新的。12、默认模拟级别必须设为:标识,其步骤为:a、单击Windows开始菜单;b、选择“运行”;c、输入 DCOMCNFG ,然后确定;d、如果有任何警告提示,请选择否;e、“分布式COM配置属性”对话框出现;f、选择“默认属性”页;g、将“默认级别”下拉框选择称“标识”;h、点击应用后确定。13、引起安装程序错误的还有下列注册表项无法读取(账户等级低):HKEY_LOCAL_MACHINESOFTWAREClassesCLSID HKEY_LOCAL_MACHINESOFTWAREClassesInterface HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib请使用 regedt32.exe 来改变账户等级,请改变成以下等级:Administrator (on the local machine) System Created Owner14、请使用 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 UsersInsufficient 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
收藏 下载该资源
网站客服QQ:2055934822
金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号