這幾天重裝計(jì)算機(jī),碰到一系列的關(guān)于WINDOWS INSTALLER的出錯(cuò)信息,在網(wǎng)上查了一些相關(guān)資料,終于一一解決了.
問(wèn)題一: 一、所有使用installer安裝的程序,均不能正常安裝,提示:“不能訪問(wèn)windows installer 服務(wù)??赡苣阍诎踩J较逻\(yùn)行 windows ,或者windows installer 沒(méi)有正確的安裝。請(qǐng)和你的支持人員聯(lián)系以獲得幫助” 二、察看windows installer服務(wù),一般為停用。如果試圖在service中啟用,有時(shí)會(huì)發(fā)現(xiàn),被系統(tǒng)禁用,再啟動(dòng),提示:“指定的服務(wù)已標(biāo)記為刪除” 三、如果試圖重新安裝InstMsiW.exe,提示:“指定的服務(wù)已存在” 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服務(wù)。 二、下載InstMsiW.exe,用winrar解壓開。進(jìn)入目錄。 三、右擊msi.inf ,點(diǎn)擊安裝,右擊mspatcha.inf ,點(diǎn)擊安裝。 四、再用msiexec.exe /regserver 啟用服務(wù)。 問(wèn)題二: 以上的問(wèn)題解決后,在我安裝vpc的時(shí)候,又碰到這個(gè)問(wèn)題:Error -1607: Unable to Install InstallShield Scripting Run Time 查了相關(guān)的資料后,發(fā)現(xiàn)我安裝的系統(tǒng)里沒(méi)有ISScript.exe. 所以我下載并更新了IkernelUpdate.exe and IsScript7x.zip...問(wèn)題就解決了。 當(dāng)然很多時(shí)候出錯(cuò)的原因不一定相同,解決的方法也不一定一樣,我只是把我的解決方法拿出來(lái),算是一個(gè)參考。 1. 先用msiexec /unregserver 停掉windows installer服務(wù)。
2. 從網(wǎng)上下載新的windows installer,安裝。 3. 右健點(diǎn)擊我的電腦,打開管理中的服務(wù)與應(yīng)用程序,點(diǎn)擊服務(wù),找到windows installer啟動(dòng)。 |
|