[PATCH V2] wix: add help for bundle and changegroup topics

Yuya Nishihara yuya at tcha.org
Tue Dec 22 23:17:08 CST 2015


On Tue, 22 Dec 2015 13:04:45 -0500, Matt Harbison wrote:
> On Tue, 22 Dec 2015 10:34:58 -0500, Yuya Nishihara <yuya at tcha.org> wrote:
> >   help.wxs(33) : error LGHT0267 : Found orphaned Component  
> > 'help.internals'.
> >   If this is a Product, every Component must have at least one parent  
> > Feature.
> >   To include a Component in a Module, you must include it directly as a
> >   Component element of the Module element or indirectly via ComponentRef,
> >   ComponentGroup, or ComponentGroupRef elements.
> >
> > Perhaps we'll need a ComponentGroup that contains help.root and
> > help.internaldir?
> 
> What command line did you use, so I can check it?  After installing wix,  
> there is only help in the start menu.  A flow diagram appears to show that  
> wixcop.exe is what processes the *.wxs files.  But when I ran it on some  
> of the *.wxs without my changes, it complained about not declaring the  
> encoding as utf-8 and then spewed about whitespace errors.  So I figured I  
> was doing it wrong.

I've checked out thg-winbuild, disabled several error checks about missing
tools, made dummy files that would be built, and run it.

  (on Linux host)
  % hg clone https://bitbucket.org/tortoisehg/thg-winbuild/
  % cd thg-winbuild
  % mkdir build ../output
  % cd build
  % ln -s ../../hg
  % cd hg
  % for n in doc/*.?.txt; do touch ${n%.txt}.html; done

  (on Windows guest)
  > cd thg-winbuild
  > set PYTHONPATH=build\hg
  > python setup.py --hg-dev
  (.. comment out error checks in setup.py until it can run ..)
  > python setup.py --hg-dev --only-msi

As you can see, this isn't right way to build msi. I did that way because
my Windows VM is XP and I don't want to make it connected to the internet.


More information about the Mercurial-devel mailing list