Boost logo

Boost-Build :

From: Reece Dunn (msclrhd_at_[hidden])
Date: 2006-07-19 19:20:06


Andrei Melnikov wrote:
> On 10/06/06, Reece Dunn <msclrhd_at_[hidden]> wrote:
> > I have attached a simple WiX (Windows Installer for XML) toolset.
> >
> > At the moment, this is very basic and raw. It works - I have been using
> > it in my toolchain for a while now - but it only has minimal functionality.
> >
> > You can't use this in the same run as the build process, so you need
> > to do something like:
> >
> > bjam msvc-7.1
> > bjam wix-2.0
> >
> How should I configure the WiX installation path? using wix : 3.0 :
> d:/experiments/wix-3.0 ; doesn't work.

You need to specify the full path of candle.exe, like you do with cl.exe
for msvc:

   using wix : 3.0 : d:/experiments/wix-3.0/bin/candle.exe ;

Then, you can say things like:

msi MyInstaller
  :
    [ glob ../*.wxs ]
    ../wixui.wixlib
  :
    <localisation>installer.wxl
    <search-path>.

    <variant>debug:<define>builddir=$(INSTALLDIR)/debug
    <variant>release:<define>builddir=$(INSTALLDIR)/release
  ;

HTH,
- Reece
_________________________________________________________________
Be one of the first to try Windows Live Mail.
http://ideas.live.com/programpage.aspx?versionId=5d21c51a-b161-4314-9b0e-4911fb2b2e6d


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk