Microsoft MVP성태의 닷넷 이야기
오류 유형: 23. MSI 설치 시 로그 파일 생성하는 레지스트리 설정 [링크 복사], [링크+제목 복사],
조회: 20384
글쓴 사람
정성태 (techsharer at outlook.com)
홈페이지
첨부 파일
 
(연관된 글이 2개 있습니다.)

최근 들어, 느끼는 점이 있다면 마이크로소프트의 오류 로그가 상당히 정확해지고 있다는 점입니다. (물론 ^^ 아직 아쉬운 점도 있긴 하지만.)

MSI 설치 관련해서도 지난번에 썼던 "VS.NET 2005 SP1 설치 도중 오류"에서의 문제 해결에 큰 역할을 했던 것이 바로 MSI 로그 파일에 실렸던 내용 때문이었습니다.

그런데, 모든 MSI 설치 파일들이 이와 같이 로그 파일을 남겨주는 것은 아닙니다. VS.NET 2005와 같은 제품들은 명시적으로 로그를 남기도록 설정되어져 있겠지만, 많은 MSI 파일들은 설치 시에 아무런 로그도 남지 않을 수 있습니다.

실제로, 이런 경우 다음과 같이 이벤트 로그에 로그를 남기기 위한 단서만을 제공하는 것으로 끝나는 경우도 있습니다.

ts_install_error_1.png

Product: Microsoft Visual Studio 2005 Team Suite - ENU - Update '{D93F9C7C-AB57-44C8-BAD6-1494674BCAF7}' could not be installed. 
Error code 1642. Windows Installer can create logs to help troubleshoot issues with installing software packages. 
Use the following link for instructions on turning on logging support: http://go.microsoft.com/fwlink/?LinkId=23127

이런 경우에는 위의 이벤트 로그에 소개된 데로, "http://go.microsoft.com/fwlink/?LinkId=23127"을 방문하시면 MSI 설치 시 로그 파일을 남기기 위한 자세한 레지스트리 설정 방법이 나와 있습니다.

KB223300 토픽인데, 이것을 간단히 정리해 보면 다음과 같은 레지스트리 설정을 해주면 MSI 설치 로그가 자세히 남는다고 합니다.

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Installer
Reg_SZ: Logging
Value: voicewarmup 

혹시나, 여러분들이 설치 시 오류만으로는 정확한 원인을 알 수 없는 경우를 만난다면 위와 같은 레지스트리 설정을 통해서 생성되는 자세한 오류 로그를 확인해 보시는 것이 도움이 될 것입니다. 물론... 그 오류 로그를 통해서 원인과 해결책을 파악하시게 되면, ^^ 자신의 블로그에 이를 써 주시길 바랍니다. 아마도 국내 S/W 개발 속도의 0.1% (혹은 그 이상으로) 향상에 도움을 주게 될 것입니다.^^


[2007-01-31] 내용 추가:
여러 개의 패키지가 설치되는 경우에는 위와 같은 옵션을 주시면 되지만, 단일 MSI 파일을 설치하실 때는 다음과 같은 정도로 직접 설치 옵션을 주시면 해당 폴더에 원하는 파일명으로 로그 파일을 생성하실 수 있습니다.

D:\>msiexec /lv install.log /i "setup.msi"




[이 토픽에 대해서 여러분들과 의견을 공유하고 싶습니다. 틀리거나 미흡한 부분 또는 의문 사항이 있으시면 언제든 댓글 남겨주십시오.]

[연관 글]






[최초 등록일: ]
[최종 수정일: 6/22/2021]

Creative Commons License
이 저작물은 크리에이티브 커먼즈 코리아 저작자표시-비영리-변경금지 2.0 대한민국 라이센스에 따라 이용하실 수 있습니다.
by SeongTae Jeong, mailto:techsharer at outlook.com

비밀번호

댓글 작성자
 



2014-01-16 02시16분
How to Force an MSI Package to Install Using Administrator Mode
; http://www.howtogeek.com/178826/how-to-force-an-msi-package-to-install-using-administrator-mode/
정성태
2016-04-08 09시11분
MSI 내용을 풀어내는 방법

msiexec /a [...msi path...] /qb TARGETDIR=c:\temp\msi
정성태
2021-07-30 09시32분
Opening OLE2 COM Structured Storage Documents with PowerShell
; https://chentiangemalc.wordpress.com/2021/07/29/opening-ole2-com-structured-storage-documents-with-powershell/

COM structured storage is popular storage format used in many legacy applications and some modern ones. Examples include:

    Microsoft Office 97–2003 documents (.DOC, .DOT, .XLS, .XLT, .PPT, .POT, PUB, .VSD, .MPP, .MSG)
    Macros in Office 2007+ documents (vbaProject.bin file embedded in document)
    Windows Installer Files (.MSI, .MSP, .MST)
    Microsoft Picture It! / Microsoft Digital Image files (.MIX)
    Internet Explorer RSS Feeds Windows RSS Platform files (.feed-ms)
    Windows 7 StickyNotes (.SNT)
    Windows 7 jumplists files
    Thumbs.db
    Microsoft SQL 2000 Server DTS packages
    Autodesk Revit
    Autodesk Inventor
    FlashPix
    Altium Designer
정성태

... 16  17  18  19  20  21  22  23  24  25  26  27  [28]  29  30  ...
NoWriterDateCnt.TitleFile(s)
12939정성태1/25/20227562.NET Framework: 1140. C# - ffmpeg(FFmpeg.AutoGen)를 이용해 MP3 오디오 파일 인코딩/디코딩하는 예제파일 다운로드1
12938정성태1/24/20229898개발 환경 구성: 633. Docker Desktop + k8s 환경에서 local 이미지를 사용하는 방법
12937정성태1/24/20227732.NET Framework: 1139. C# - ffmpeg(FFmpeg.AutoGen)를 이용해 오디오(mp2) 인코딩하는 예제(encode_audio.c) [2]파일 다운로드1
12936정성태1/22/20227643.NET Framework: 1138. C# - ffmpeg(FFmpeg.AutoGen)를 이용해 멀티미디어 파일의 메타데이터를 보여주는 예제(metadata.c)파일 다운로드1
12935정성태1/22/20227861.NET Framework: 1137. ffmpeg의 파일 해시 예제(ffhash.c)를 C#으로 포팅파일 다운로드1
12934정성태1/22/20227428오류 유형: 788. Warning C6262 Function uses '65564' bytes of stack: exceeds /analyze:stacksize '16384'. Consider moving some data to heap. [2]
12933정성태1/21/20227983.NET Framework: 1136. C# - ffmpeg(FFmpeg.AutoGen)를 이용해 MP2 오디오 파일 디코딩 예제(decode_audio.c)파일 다운로드1
12932정성태1/20/20228424.NET Framework: 1135. C# - ffmpeg(FFmpeg.AutoGen)로 하드웨어 가속기를 이용한 비디오 디코딩 예제(hw_decode.c) [2]파일 다운로드1
12931정성태1/20/20226503개발 환경 구성: 632. ASP.NET Core 프로젝트를 AKS/k8s에 올리는 과정
12930정성태1/19/20227195개발 환경 구성: 631. AKS/k8s의 Volume에 파일 복사하는 방법
12929정성태1/19/20226957개발 환경 구성: 630. AKS/k8s의 Pod에 Volume 연결하는 방법
12928정성태1/18/20227099개발 환경 구성: 629. AKS/Kubernetes에서 호스팅 중인 pod에 shell(/bin/bash)로 진입하는 방법
12927정성태1/18/20226876개발 환경 구성: 628. AKS 환경에 응용 프로그램 배포 방법
12926정성태1/17/20227383오류 유형: 787. AKS - pod 배포 시 ErrImagePull/ImagePullBackOff 오류
12925정성태1/17/20227455개발 환경 구성: 627. AKS의 준비 단계 - ACR(Azure Container Registry)에 docker 이미지 배포
12924정성태1/15/20228945.NET Framework: 1134. C# - ffmpeg(FFmpeg.AutoGen)를 이용한 비디오 디코딩 예제(decode_video.c) [2]파일 다운로드1
12923정성태1/15/20227817개발 환경 구성: 626. ffmpeg.exe를 사용해 비디오 파일을 MPEG1 포맷으로 변경하는 방법
12922정성태1/14/20226904개발 환경 구성: 625. AKS - Azure Kubernetes Service 생성 및 SLO/SLA 변경 방법
12921정성태1/14/20225799개발 환경 구성: 624. Docker Desktop에서 별도 서버에 설치한 docker registry에 이미지 올리는 방법
12920정성태1/14/20226582오류 유형: 786. Camtasia - An error occurred with the camera: Failed to Add Video Sampler.
12919정성태1/13/20226417Windows: 199. Host Network Service (HNS)에 의해서 점유되는 포트
12918정성태1/13/20226631Linux: 47. WSL - shell script에서 설정한 환경 변수가 스크립트 실행 후 반영되지 않는 문제
12917정성태1/12/20225837오류 유형: 785. C# - The type or namespace name '...' could not be found (are you missing a using directive or an assembly reference?)
12916정성태1/12/20225603오류 유형: 784. TFS - One or more source control bindings for this solution are not valid and are listed below.
12915정성태1/11/20225905오류 유형: 783. Visual Studio - We didn't find any interpreters
12914정성태1/11/20227912VS.NET IDE: 172. 비주얼 스튜디오 2022의 파이선 개발 환경 지원
... 16  17  18  19  20  21  22  23  24  25  26  27  [28]  29  30  ...