To build a .zip or .tar.gz/.tar.bz2 package, just go to
xpinstall/packager (in the objdir, if any) and type:
This will select a default package format, depending on the OS.
To specify a specific package format, use
format is one of
DMG (MacOS only),
The resulting package is placed in the
On platforms that support it, you can just go to
xpinstall/packager (again, in the objdir if you use one) and type
This will do nothing on platforms that have no installer.
The installer will be placed in
dist/install/stub (windows) or
msvcirt.dll: These files must be copied to the %MOZ_SRC%\redist\microsoft\system directory on your build system. Without these files, the build will not fail, but the package you create will have problems on rare Windows systems that don't already have the files installed (mostly Win95) as described in bug 27601.