2010-12-22 4 views
0

WIX를 사용하여 화면에 찾아보기 단추를 표시하려고합니다.찾아보기 대화 상자에서 WIX

나는이

나는 기능 트리를 사용하여 버튼을 찾아 얻을 수 있어요

alt text

처럼 싶지만 여러 기능을 해달라고으로 나는 이미지로 정확한합니다.

누군가 나를 안내 해줄 수 있습니까?

내가
<Media Id="1" Cabinet="media1.cab" EmbedCab="yes" /> 
<Property Id="INSTALLLOCATION" Value="C:\Program Files" /> 

    <Directory Id="TARGETDIR" Name="SourceDir"> 
     <Directory Id="ProgramFilesFolder"> 
    <Directory Id="APPLICATIONFOLDER" Name="My Program" > 
       <!-- TODO: Remove the comments around this Component element and the ComponentRef below in order to add resources to this installer. --> 
       <Component Id="ProductComponent" Guid="595b18ae-6a72-412e-9b0e-f2893ca9fdf5"> 
     <File Id="SampleFile" Name="File.txt" Source="D:\links.txt"/> 
       </Component> 
      </Directory> 
     </Directory> 
    </Directory> 

<Property Id="ApplicationFolderName" Value="My Program" /> 
<Property Id="WixAppFolder" Value="WixPerMachineFolder" /> 

<Feature Id="ProductFeature" Title="WixProject1" Level="1"> 
     <!-- TODO: Remove the comments around this ComponentRef element and the Component above in order to add resources to this installer. --> 
     <ComponentRef Id="ProductComponent" /> 
    </Feature> 

<Property Id="WIXUI_INSTALLDIR" Value="INSTALLLOCATION" /> 
<UIRef Id="WixUI_InstallDir" /> 
<UIRef Id="WixUI_ErrorProgressText" /> 

<WixVariable Id="WixUILicenseRtf" Value="Files\License.rtf" /> 
<WixVariable Id="WixUIBannerBmp" Value="Bitmaps\bannrbmp.bmp" Overridable="no"/> 
<WixVariable Id="WixUIDialogBmp" Value="Bitmaps\dlgbmp.bmp" Overridable="no"/> 
<WixVariable Id="WixUIExclamationIco" Value="Bitmaps\exclamic.ico" Overridable="no"/> 
<WixVariable Id="WixUIInfoIco" Value="Bitmaps\info.ico" Overridable="no"/> 
<WixVariable Id="WixUINewIco" Value="Bitmaps\New.ico" Overridable="no"/> 
<WixVariable Id="WixUIUpIco" Value="Bitmaps\Up.ico" Overridable="no"/> 

</Product> 

<?xml version="1.0" encoding="UTF-8"?> 

을 사용하고있는 코드이며,이 내가

alt text

무엇입니까 오류입니다
+1

이 tutoral에서 8.4 절을 확인 했 :

그것은 당신의 제품이 추가로 쉬워야한다? http://www.tramontana.co.hu/wix/lesson8.php 아니면 준비가되어있는 XML을 붙여 줄 누군가를 찾고 있습니까? –

+0

필자는 기능 트리가 나타나지 않아야한다는 점을 제외하고는 거의 비슷한 기능을 원합니다. –

답변

2

built in UI components을 사용할 수 있습니다. WixUI_InstallDir Dialog Set을 사용하면 필요한 것을 제공해야합니다.

<UIRef Id="WixUI_InstallDir" /> 
+0

네,하지만 이것을 시도했지만 약간의 오류가 발생합니다. –

+0

어떤 오류가 발생합니까? – heavyd

+0

제 질문에 해당하는 코드를 찾으십시오. –

관련 문제