# HG changeset patch # User Steve Borho # Date 2010-11-26 22:18:19 # Node ID 79388a8325dc8a5c43d09c620fef825321c4f70c # Parent dd24f3e7ca9e68a49fd7f38803e4d98469cad6e4 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. diff --git a/contrib/wix/dist.wxs b/contrib/wix/dist.wxs new file mode 100644 --- /dev/null +++ b/contrib/wix/dist.wxs @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/contrib/wix/guids.wxi b/contrib/wix/guids.wxi --- a/contrib/wix/guids.wxi +++ b/contrib/wix/guids.wxi @@ -8,6 +8,9 @@ + + + @@ -42,5 +45,6 @@ + diff --git a/contrib/wix/hg.cmd b/contrib/wix/hg.cmd new file mode 100644 --- /dev/null +++ b/contrib/wix/hg.cmd @@ -0,0 +1,3 @@ +@echo off +rem launch hg.exe from parent folder +"%~dp0\..\hg.exe" %* diff --git a/contrib/wix/mercurial.wxs b/contrib/wix/mercurial.wxs --- a/contrib/wix/mercurial.wxs +++ b/contrib/wix/mercurial.wxs @@ -8,6 +8,12 @@ + + + + + + - - + Permanent="no" Value="[INSTALLDIR]bin" Action="set" /> + + + + + + + @@ -101,12 +112,14 @@ + +