Win2003的 Windows Installer出错的问题!

salinalee 2004-06-16 01:11:06
不论安装还是卸载 都会提示我

无法访问Windows Installer 服务。

如何解决??谢谢各位大侠了!
...全文
573 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
jimmyge 2004-06-16
  • 打赏
  • 举报
回复
关于install的修复
这几天被Winodws install损坏弄得晕头转向,总算找到修复方法。

1,点击此处下载installer.reg文件;双击该文件,将文件内容导入注册表。

2,重启电脑并按F8键,直到菜单出现, 选择安全模式,并按“Enter",进入“安全模式”。

3,在“开始”菜单,选择“运行”,键入cmb, 并在提示后键入 msiexec /regserver,并回车,

4,重启电脑,问题就解决了。
salinalee 2004-06-16
  • 打赏
  • 举报
回复
InstMsiW.exe 那儿有下载?
弋丿 2004-06-16
  • 打赏
  • 举报
回复

一、所有使用installer安装的程序,均不能正常安装,提示:“不能访问windows installer 服务。可能你在安全模式下运行 windows ,或者windows installer 没有正确的安装”

二、察看windows installer服务,一般为停用。如果试图在service中启用,有时会发现,被系统禁用,再启动,提示:“指定的服务已标记为删除”

三、如果试图重新安装InstMsiW.exe,提示:“指定的服务已存在”

resolution:
The MSI Installer can be a real pain. It may be that one of the files required by it is corrupt. Here's what you do. Run msiexec /unregserver again. Then delete msiexec.exe from the system32 directory. Potentially, you could rerun the install at this point but for some reason this doesn't always work. Instead, download a fresh copy of the windows installer, use an unzipping tool to extract it, go into the folder and manually install from the inf files. To do this, right click on it and select install. Make sure you do msi.inf first, and then mspatcha.inf or you get a missing file error (likely because msiexec.exe is missing). After all this run msiexec.exe /regserver to recreate the service.

一、先用msiexec /unregserver 停掉windows installer服务。

二、下载InstMsiW.exe,用winrar解压开。进入目录。

三、右击msi.inf ,点击安装,右击mspatcha.inf ,点击安装。

四、再用msiexec.exe /regserver 启用服务。

问题二:

以上的问题解决后,在我安装vpc的时候,又碰到这个问题:Error -1607: Unable to Install InstallShield Scripting Run Time

查了相关的资料后,发现我安装的系统里没有ISScript.exe.

所以我下载并更新了IkernelUpdate.exe and IsScript7x.zip...问题就解决了。
k4 2004-06-16
  • 打赏
  • 举报
回复
Q:由于一些软件制作的问题导致windows installer不能正常工作
A:恢复步骤如下:
Microsoft Windows Installer V2.0 For Win2000
http://www.skycn.com/soft/11602.html

Microsoft Windows Installer V2.0 For Win9x/ME
http://www.skycn.com/soft/11601.html
1.再次安装windows installer2.0,运行instmsiw.exe
如果说"服务已经安装"然后直接退出安装就再跟着做,否则你重装就OK了!

2.删除注册表中的[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSIServer]
然后运行instmsiw.exe

3.绝招:
(1) 删除msiserver 服务
运行regedit,删除下面的MSIServer 服务
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSIServer]
把下面的内容存为unmsiserver.reg 文件,然后双击左键,把它合并进注册表中
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;unmsiserver.reg
Windows Registry Editor Version 5.00
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSIServer]
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

(2) 删除msi 的文件
用下面的脚本存为一个unmsi.inf文件,然后在inf文件上右键单击install,就会删除一些msi的dll,这时windows 的 sfc机制可能警告一些系统文件被修改要求插入win2k的光盘,不理睬它。这个脚本是我从instmsiw.exe中修改得来的。
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;unmsi.inf
;;;;;;;;;;;;;;;;;
[Version]
signature = "$Windows NT$"
Class = %ExceptionClassDesc%
ClassGUID = {F5776D81-AE53-4935-8E84-B0B283D8BCEF}
Provider = %Microsoft%
CatalogFile = msi.cat
ComponentId = {2E742517-5D48-4DBD-BF93-48FDCF36E634} ; GUID assigned to the Windows Installer
DriverVer=03-13-2001, 2.0.2460.1

[SourceDisksNames]
1 = %msi_media%

[SourceDisksFiles]
msi.dll = 1
msihnd.dll = 1
msimsg.dll = 1
msiexec.exe = 1
msisip.dll = 1

[DestinationDirs]
Msi.SystemFiles = 11 ; %windir%\system32
Msi.DllCacheFiles = 11,dllcache ; %windir%\system32\dllcache

[DefaultInstall]
DelFiles = Msi.SystemFiles,Msi.DllCacheFiles

[Msi.DllCacheFiles]
msi.dll
msihnd.dll
msimsg.dll
msiexec.exe
msisip.dll

[Msi.SystemFiles]
msi.dll
msihnd.dll
msimsg.dll
msiexec.exe
msisip.dll

[Strings]
Microsoft = "Microsoft Corporation"
msi_media = "Microsoft Windows Installer Distribution Media"
ExceptionClassDesc = "Microsoft Windows Installer"

(3) 重新启动,按F8键,进入带命令行的安全模式,执行下面的命令
regsvr32 /u %windir%\msi.dll
del %windir%\msi.dll

(4) 重启动,运行instmsiw.exe,安装windows installer2.0 ,一切正常了。
seawind999 2004-06-16
  • 打赏
  • 举报
回复
在管理工具>服务>启动Windows Installer服务!!!

6,850

社区成员

发帖
与我相关
我的任务
社区描述
Windows 2016/2012/2008/2003/2000/NT
社区管理员
  • Windows Server社区
  • qishine
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧