contrib/wix/dist.wxs
author Steve Borho <steve@borho.org>
Fri, 26 Nov 2010 16:18:19 -0600
branchstable
changeset 13041 79388a8325dc
child 13042 bd9bc4123920
permissions -rw-r--r--
wix: switch Mercurial Windows installer to use py2exe --bundle 3 --bundle 3 leaves all of the compiled C extensions and other DLLs outside of the library.zip, so we no longer add the installer folder to the system PATH. Instead, we now ship a small bin/hg.cmd and it is placed in the PATH. Switching to py2exe --bundle 3 is necessary because the higher bundle options are not supported on x64.

<?xml version="1.0" encoding="utf-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">

  <?include guids.wxi ?>

  <Fragment>
    <DirectoryRef Id="INSTALLDIR" FileSource="$(var.SourceDir)">
      <Component Id="distOutput" Guid="$(var.dist.guid)">
        <File Name="library.zip" KeyPath="yes" />
        <File Name="mercurial.base85.pyd" />
        <File Name="mercurial.bdiff.pyd" />
        <File Name="mercurial.diffhelpers.pyd" />
        <File Name="mercurial.mpatch.pyd" />
        <File Name="mercurial.osutil.pyd" />
        <File Name="mercurial.parsers.pyd" />
        <File Name="pyexpat.pyd" />
        <File Name="python26.dll" />
        <File Name="pythoncom26.dll" />
        <File Name="pywintypes26.dll" />
        <File Name="bz2.pyd" />
        <File Name="select.pyd" />
        <File Name="unicodedata.pyd" />
        <File Name="win32api.pyd" />
        <File Name="win32com.shell.shell.pyd" />
        <File Name="win32console.pyd" />
        <File Name="win32file.pyd" />
        <File Name="win32gui.pyd" />
        <File Name="win32pipe.pyd" />
        <File Name="win32process.pyd" />
        <File Name="_elementtree.pyd" />
        <File Name="_hashlib.pyd" />
        <File Name="_socket.pyd" />
        <File Name="_ssl.pyd" />
        <File Name="_win32sysloader.pyd" />
      </Component>
    </DirectoryRef>
  </Fragment>

</Wix>