[mapguide-internals] About the WiX installer

Jackie Ng jumpinjackie at gmail.com
Sun Mar 1 20:15:12 EST 2009

About the "build everything" batch files.

I've put in top-level batch files for:

- MapGuide (Server and Web)
- Maestro

And so far, they run beautifully. But I can't complete the holy trinity,
because the wix installer part is tripping me up. This is because:

1. The paraffin regeneration scripts use a hard-coded path.
2. I can't seem to pass custom wix pre-processor values from msbuild.

1. can be solved via environment variables or parameterization. 
2. I have no idea. The msbuild method of passing values doesn't work :-)

I guess I could bypass msbuild and directly use the wix tools (candle,
light, etc) for more fine-grained control, but I would like to stick with
msbuild if possible. Any ideas?

- Jackie

Jackie Ng wrote:
> Okay, now that I have commit access. I want to lay out my current plans
> wrt the (wix installer / build system), before I go and cause any damage
> :-)
> 1. One-click "build everything" batch files.
> I was surprised that MapGuide did not have a batch file that would build
> everything like FDO did. So I wrote one myself, which is based on the FDO
> one and Jason's old build instructions here
> (http://wiki.osgeo.org/wiki/Building_MapGuide_on_Windows).
> 2. Use the Apache source in Oem\LinuxApt instead of maintaining a separate
> binary distribution.
> The reason I prefer using the Apache source is because building it as
> simple as typing:
> nmake /f Makefile.win _apacher
> nmake /f Makefile.win installr INSTDIR=theinstallationdirectory
> This does not incur any additional overhead in pre-requisite libraries. It
> also has the side benefit of being synchronised with the Linux Apt package
> (whenever the apache distro is updated, so will this one)
> Thoughts?
> - Jackie
> Jackie Ng wrote:
>> Hi All,
>> I'm trying to grok the WiX installer files. When trying to build the wix
>> installers, it is erroring out because it can't find a whole load of
>> files. 
>> Given a checkout of the mapguide svn trunk, what do I need to do to
>> ensure the wix installers build without problems?
>> - Jackie

View this message in context: http://n2.nabble.com/About-the-WiX-installer-tp2339047p2407007.html
Sent from the MapGuide Internals mailing list archive at Nabble.com.

More information about the mapguide-internals mailing list