所有功能都已安装在WIX中

时间:2014-04-07 11:41:42

标签: wix windows-installer wix3.5 wix3.6 wix3.7

我只是WIX的初学者。我正在尝试实现功能明智的安装,但即使我只选择CustomizeDlg中的一个功能,所有功能都已安装。

请帮我解决这个问题。

以下是代码:

<Feature ConfigurableDirectory="INETPUB"  Title="Complete ALDRES" Id="All" Level="1" Display="expand">
      <ComponentRef Id="CreateWebSiteFolder"/>
      <ComponentRef Id="AddAppPoolAndWebsite"/>

      <Feature Id="WebUIInstallation" InstallDefault="followParent" Title="WebUI" Level="32761"  >
        <ComponentRef Id="CreateWebUIFolder"/>
        <ComponentGroupRef Id="WebUIComponents" />
        <ComponentRef Id="AddWebUIVD"/>
      </Feature>
      <Feature Id="AdminInstallation" InstallDefault="followParent" Title="Admin" Level="32762">
        <ComponentRef Id="CreateAdminFolder"/>
        <ComponentGroupRef Id="AdminComponents" />
        <ComponentRef Id="AddAdminUIVD"/>
      </Feature>
      <Feature Id="WindowsServiceInstallation" InstallDefault="followParent" Title="Windows Service" Level="32763">
        <ComponentRef Id="CreateWindowsServicesFolder"/>
        <ComponentGroupRef Id="ALDRACServiceComponents" />
        <ComponentGroupRef Id="EODServiceComponents" />
        <ComponentGroupRef Id="InvoicingComponents" />
        <ComponentRef Id="CreateALDRACServicesFolder" />
        <ComponentRef Id="CreateEODServicesFolder" />
        <ComponentRef Id="CreateINVOICINGServicesFolder" />
      </Feature>

    </Feature>

0 个答案:

没有答案