ClickOnce] The problem about manually singing the manifest when deploying VSTO project

VSTO Project 를 ClickOnce 를 사용하여 배포 했을 때, Windows Vista 및 Windows Server 2003 또는 Windows Server 2008 인 경우 다음과 같은 오류가 발생하여, 설치가 이루어지지 않을 경우가 있습니다.
이는 어디까지나 일반 Application 이 아닌, VSTO(Visual Studio Tools for Office) Projects 와 Microsoft Office 2007 에 적용됩니다.

Project Type
* Document-level projects
* Application-level projects

Microsoft Office version
* 2007 Microsoft Office System

이는 IE 7 과 IEESC(Internet Explorer Enhanced Security Configuration) 설정으로 인한 것 입니다.
위와 같은 경우 Intranet Zone 인 경우, 정상적으로 설치되어야 하나, IEESC 설정으로 인해 Intranet Zone 에 접속하였다 하더라도 Internet Zone 으로 인식하게 되면서 문제가 발생한 것입니다.

이를 해결하기 위해서는 다음과 같은 방법을 사용해야 합니다.

  1. 해당 Intranet Zone 은 Trusted Site 에 포함 시킵니다.
  2. IEESC 기능을 Disable 합니다.
    On Windows Server 2003 :
    Start, Control Panel, Add/Remove Programs, Add/Remove Windows Components
    On Windows Server 2008 :
    Control Panel, Programs and Features, Turn Windows Features on or off
  3. Application 과 Manifest 에 Signing 된 Certificate 을 Client 의 Trusted Publisher 와 Trusted Root Certification Authority 에 저장해야 합니다.
    이는 Certmgr.exe 를 사용하여 가능합니다만, 배포하는 입장에서 이를 일일이 변경한다는 것은 불가능하므로 아래와 같이 command 로도 가능합니다. (이를 Bootstrapper 로 작성하여 포함시키면 됩니다.)
    certmgr –add [Signing 한 Cert] –s Root
    certmgr –add [Signing 한 Cert] –s TrustedPublisher
  4. TAD(Trusted Application Deployment) 기능을 사용하기 위하여, 3rd Company (Verisign, Inc 등) 에 CAs(Certificate Authorities) 를 구입합니다.

ClickOnce Deploy Manifest 관련된 정보는 다음 Link 를 참조하여 주시기 바랍니다.

http://kikiwaka.egloos.com/1603054

by kikiwaka | 2009/04/06 15:30 | MS] Setup & Deploy | 트랙백 | 덧글(0)
트랙백 주소 : http://kikiwaka.egloos.com/tb/2316430
☞ 내 이글루에 이 글과 관련된 글 쓰기 (트랙백 보내기) [도움말]

:         :

:

비공개 덧글



< 이전페이지 다음페이지 >