Windows Home Server Add-in WIX Example

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

You can use this WIX file example to construct a WIX file for your custom Windows Home Server Add-in. The example demonstrates a WIX file for a fictitious company and will need to be customized for your Add-in.

Note

The repeated "?" character in some elements indicates that you will need to supply a unique value for your Add-in.

Example

 <?xml version="1.0" encoding="utf-8"?>
<Wix xmlns="https://schemas.microsoft.com/wix/2003/01/wi">
  <Product Name="Windows Home Server 3rd party Tab" 
    Id="?????????????????????????"
    UpgradeCode='????????????????????????'
    Manufacturer='ACME Corporation' Version="$(env.MSIVersion)"
    Language='1033' Codepage='1252'>
    <Package Id='????????-????-????-????-????????????' Manufacturer="ACME" InstallerVersion="200" Platforms="Intel" Languages="1033" Compressed="yes" SummaryCodepage="1252" />
    <Property Id="ALLUSERS"><![CDATA[2]]></Property>
    <Property Id="WHSLogo"><![CDATA[1]]></Property>
    <Directory Id="TARGETDIR" Name="SourceDir">
      <Directory Id='ProgramFilesFolder' Name='PFiles'>
        <Directory Id='Q' Name='WHSgrp' LongName="Windows Home Server">
            <Component Id="HomeServerConsoleTab.ThirdParty.dll" Guid="????????????????????????????">
          <File Id="HomeServerConsoleTab.ThirdParty.dll" Name="3rdparty.DLL" LongName="HomeServerConsoleTab.ThirdParty.dll" src="..\dll\bin\debug\HomeServerConsoleTab.ThirdParty.dll" Vital="yes" KeyPath="yes" DiskId="1" />      
            </Component>
        </Directory>
      </Directory>
      <Directory Id="ProgramMenuFolder" SourceName="PMenu" />
      <Directory Id="DesktopFolder" Name="Desktop" />
    </Directory>

    <Feature Id="DefaultFeature" Level="1">
      <ComponentRef Id="HomeServerConsoleTab.ThirdParty.dll" />
    </Feature>

    <Media Id="1" EmbedCab="yes" Cabinet="HomeServerConsoleTab_ThirdParty_cab" />
  </Product>
</Wix>.