Microsoft MVP성태의 닷넷 이야기
SDK : 16. MsiQueryProductState API [링크 복사], [링크+제목 복사],
조회: 11197
글쓴 사람
정성태 (techsharer at outlook.com)
홈페이지
첨부 파일
 

Mailbag: How to detect the presence of the Visual C++ 9.0 runtime redistributable package
; http://blogs.msdn.com/astebner/archive/2009/01/29/9384143.aspx

SxS 폴더에 설치되는 VC++ 런타임 모듈들은 설치 유무를 확인하기가 애매하죠.
이런 상황에서 MsiQueryProductState를 사용해서 체크할 수 있다고 하는군요. (참고로, Windows Installer 4.0 이상이 설치된 경우에만 가용합니다.)

Visual C++ 2008(SP1)에 대해서는 다음과 같은 제폼 코드를 넣어주면 된다고 합니다.

[Visual C++ 2008 runtime files]
Visual C++ 2008 Redistributable Package (x86) - {FF66E9F6-83E7-3A3E-AF14-8DE9A809A6A4}
Visual C++ 2008 Redistributable Package (x64) - {350AA351-21FA-3270-8B7A-835434E766AD}
Visual C++ 2008 Redistributable Package (ia64) - {2B547B43-DB50-3139-9EBE-37D419E0F5FA}

[Visual C++ 2008 SP1 runtime files ]
Visual C++ 2008 SP1 Redistributable Package (x86) - {9A25302D-30C0-39D9-BD6F-21E6EC160475}
Visual C++ 2008 SP1 Redistributable Package (x64) - {8220EEFE-38CD-377E-8595-13398D740ACE}
Visual C++ 2008 SP1 Redistributable Package (ia64) - {5827ECE1-AEB0-328E-B813-6FC68622C1F9}

허긴... ^^ 레지스트리의 Uninstall 하위에서 직접 검색하는 방법도 있긴 하죠.








[최초 등록일: ]
[최종 수정일: 7/5/2021]


비밀번호

댓글 작성자
 




... 31  32  33  34  35  36  37  38  [39]  40  41  42  43  44  45  ...
NoWriterDateCnt.TitleFile(s)
213정성태4/13/20069042Introduction to the MSN Messenger Activity SDK
212정성태4/13/200611098FIN_WAIT_2 상태에 대하여
211정성태4/13/20069715Override CLR Assembly Probing Logic
210정성태4/13/200610173Web.config의 기본 <appSettings /> Handler 교체
209정성태3/25/200610064Win32 FileID API Library
208정성태4/13/20069661(거의)모든 DB 에 대한 ADO.NET Data Provider (유료)목록
205정성태4/13/20069733Static Code Analyzer
206정성태4/13/20069419    답변글 Visual C++ Express를 사용한 보안 응용 프로그램 빌드
203정성태4/13/20069325WGF (Windows Graphic Foundation) [1]
202정성태4/13/20069157사용자 컴퓨터 환경 조사 결과(외국 사례)
201정성태4/13/200612994MySQLDirect .NET Data Provider
207정성태4/13/20068703    답변글 무료: Download Connector/Net 1.0 (MySQL) [1]
200정성태4/13/20069115Understanding Classic COM Interoperability With .NET Applications파일 다운로드1
199정성태4/13/20069401How to get a V2.0 ICorDebug object
198정성태4/13/20069470Whidbey breaking change --- Caching binding failures [1]
197정성태4/13/20068767The JIT does dead-code elimination in Debuggable code
195정성태4/13/20068849910442 - Working with Web Resources in ASP.NET 2.0
194정성태4/13/20069401ASP.NET 2.0 WebPart - SQL Server Error 26: Error Locating Server/Instance Specified
193정성태4/13/20069390WCF - Breaking Changes between Jan CTP and Feb CTP파일 다운로드1
192정성태4/13/20068947Cassini Update
191정성태4/13/200610014LeechBlocker ISAPI Filter
189정성태4/13/20069300The New Anonymous Types Feature in C# 3.0 [1]
188정성태3/8/20069358Microsoft Anti-Cross Site Scripting Library V1.0
196정성태4/13/20068861    답변글 왜 사용해야 하는가?
187정성태4/13/20068703제 1회 INETA 세미나
186정성태4/13/20069417Internet Information Services (IIS) 6.0 Manager for Windows XP
... 31  32  33  34  35  36  37  38  [39]  40  41  42  43  44  45  ...