2008년 03월 11일
VC 2008 manifest 관련 배포시 실행안되는 문제
"Unable to start program"
This application has failed to start because the application configuration is incorrect.
Review manifest file for possible errors. Reinstalling the application may fix this problem.
혹은, 정말 왜 실행이 안되는지 알 수 없는 메시지만을 뿌려내고 종료되는 문제 봉착.
-------------------------------------------------------------------------------------------------------
해결방법은 다음의 3가지중 하나
1. MSVCRT 혹은 MFC를 static 으로 링크한다
2. Visual C++ 200x Redistributable Package 를 다운받아 깔게 한다.
(http://www.microsoft.com/downloads/details.aspx?familyid=9B2DA534-3E03-4391-8A4D-074B9F2BC1BF&displaylang=en)
3. installer 를 만들 때 manifest 파일 안에 dependency로서 명기된 폴더를 직접 생성하여 dll 을 같이 배포하는 기능을 추가한다.
C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_x-ww_d08d0375
--------------------------------------------------------------------------------------------------------
내 생각엔 1번이 최고인 듯.
# by | 2008/03/11 11:57 | 게임 개발 | 트랙백 | 덧글(1)





☞ 내 이글루에 이 글과 관련된 글 쓰기 (트랙백 보내기) [도움말]