Product 설치 실패 issue 는 까다로운 경우가 많습니다만… 최근에 종료한 Case 도 그 중 하나입니다. 앞서 Blogging 한 내용을 보셨듯이, 설치 실패 issue 는 Log 또는 Debugger 의 Exception 정보에 의존합니다.
Visual Studio 2008 Standard Edition 을 설치할 때 다음과 같이 오류가 발생하였습니다.
해당 Log 를 확인하여 보면 (%temp%\dd_install_vs_XXXX.txt)
***ERRORLOG EVENT*** : ISetupComponent::Pre/Post/Install() failed in ISetupManager::InternalInstallManager() with HRESULT -2147023293.
…
[01/28/10,10:47:19] Setup.exe: GetGlobalCustomProperty - Property: {383F0141-C682-4665-A69B-756E719C968D} - PropertyName: Process Return Code - Value: 1603
[01/28/10,10:47:19] Setup.exe: SETUP EXIT CODE – 1603
를 찾을 수 있었습니다.
내부 DB 를 검색해 보아도 감이 안잡힐 경우 Debugger 를 Attach 해서 확인합니다.
많은 setup.exe Process 가 creating 되기 때문에, (setup.exe 뿐만 아니라 다른 Process 가 많이 올라 왔다가 사라집니다.) 이 때는 유용한 Tool 이 있는데, Process Explorer 입니다.
Options > Difference Highlight Duration > 10 sec 으로 변경하여 마지막에 올라오는 Process 를 확인 한 후 해당 Process 에 Debugger 를 Attach 해서 확인하여 보면 어느 Process 에서 문제가 발생했는지 추측해 볼 수 있습니다.
해당 issue 는 OSE.exe 가 마지막으로 올라오고 오류가 발생했습니다. OSE.exe 에 Debugger 를 Attach 하니 바로 정보가 보입니다.
Exception 정보는 OfficeMUI.ko-kr 때문인데, 해당 Machine 은 Office 2007 이 비정상적으로 설치되어 있었습니다. (삭제가 되지 않습니다.) http://support.microsoft.com/kb/928218/en-us 의 내용을 참고하여 Office 2007 을 삭제하니 정상적으로 설치가 됩니다.
Visual Studio 웹 제작 도구 구성요소(Web Authoring Component) 는 %temp% 의 SetupExe(20100128XXXXXX).log를 남기는데, 그 로그 내용을 확인했으면, Debugger 까지 붙일 필요 없이 쉽게 문제가 해결 되었을 텐데 말이죠.
아래는 오류 내용입니다. :’(
Executing chained package: OfficeMUI.ko-kr 01/28/2010 10:35:07 Configuring chained package: OfficeMUI.ko-kr PERF: TickCount=1768734 Name=Verify MSI local install source Description=Begin function OSE is detected as a registered service. Service binary is reported at location: C:\Program Files\Common Files\Microsoft Shared\Source Engine\OSE.EXE OSE service binary is detected at location: C:\Program Files\Common Files\Microsoft Shared\Source Engine\OSE.EXE File at m:\92157bb928483c32b80724\visualwebdeveloper.ww\ose.exe has version: 12.0.4518.1014 File at C:\Program Files\Common Files\Microsoft Shared\Source Engine\OSE.EXE has version: 12.0.4518.1014 Running OSE version 12.0.4518.1014 OSE is detected as a registered service. Service binary is reported at location: C:\Program Files\Common Files\Microsoft Shared\Source Engine\OSE.EXE OSE service binary is detected at location: C:\Program Files\Common Files\Microsoft Shared\Source Engine\OSE.EXE File at m:\92157bb928483c32b80724\visualwebdeveloper.ww\ose.exe has version: 12.0.4518.1014 File at C:\Program Files\Common Files\Microsoft Shared\Source Engine\OSE.EXE has version: 12.0.4518.1014 Running OSE version 12.0.4518.1014 LIS: wait for package "{90120000-006E-0412-0000-0000000FF1CE}" to complete caching LIS failed to cache download "{90120000-006E-0412-0000-0000000FF1CE}-C" resource "Setup.xml". Cache Error 0x80070017 Source Resolution aborted LIS: start caching file "Setup.xml" LIS failed to cache download "{90120000-006E-0412-0000-0000000FF1CE}-C" resource "OfficeMUI.xml". Cache Error 0x80070017 Source Resolution aborted LIS: start caching file "OfficeMUI.xml" LIS failed to cache download "{90120000-006E-0412-0000-0000000FF1CE}-C" resource "OfficeMUI.msi". Cache Error 0x80070017 Source Resolution aborted Log level changed from: Standard to: Verbose Error: LIS: Failed to cache download "{90120000-006E-0412-0000-0000000FF1CE}-C" resource "OfficeMUI.msi". HResult: 0x80070017. Rolling back chain 01/28/2010 10:41:18 Rolling back package: OfficeMUI.ko-kr |
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall 의 정보를 확인하는 것도 잊지 말아주세요. :-)
덧글