2011-11-29 3 views
2

http://wix.tramontana.co.hu/tutorial/getting-started/putting-it-to-use http://www.codeproject.com/KB/install/WixTutorial.aspxASP.NET WebSites에 WIX 설치를 만드는 방법은 무엇입니까? 나는이의 알고

자습서 ... 그러나 나는 웹 사이트를 설치하고 IIS 구성을위한 빠른 해결책을 찾을 수 없습니다. 사이트의 각 파일을 수동으로 추가해야합니까?

+0

읽기 wix.chm 파일 (http://wix.sourceforge.net/) 당신에게 많은 도움이됩니다 – vinay

답변

1

각 파일을 수동으로 추가하지 않아도됩니다. 대신 Paraffin을 사용하여 웹 프로젝트에서 필요한 파일을 수집 할 수 있습니다.

BeforeBuild 작업을 추가하기 위해 수동으로 Wix 프로젝트 파일을 수정하여 빌드 중에 (로컬 또는 서버에서) 자동으로 실행되도록 구성했습니다. 다음은 예제입니다. 이것을 시작점으로 사용할 수 있습니다. 에서

<Target Name="BeforeBuild"> 
    <!-- Set the WebClient.wxs file as not read-only --> 
    <Exec Command="attrib -R &quot;$(ProjectDir)WebClient.wxs&quot;" /> 
    <!-- Run paraffin to generate the wix component for the web client. This assumes that web project has already been packaged. 
    This is automatically done on the build server by setting the property 'DeployOnBuild' to true. --> 
    <Exec Command="paraffin -update WebClient.wxs -dir ..\RM.Web\obj\$(Platform)\$(Configuration)\Package\PackageTmp\" /> 
    <!-- Set the WebClient.wxs file back as read-only --> 
    <Exec Command="attrib +R &quot;$(ProjectDir)WebClient.wxs&quot;" /> 
    </Target> 
+0

감사합니다, joerage! – rgargente

+1

파라핀이 표준 열보다 더 낫지 않은지 ... – Ivan

관련 문제