Skip to content

Packaging

Nicolas Raoul edited this page Sep 26, 2013 · 5 revisions

First step for any platform: Modify the version number in CmisSync/CmisSync.Lib/StaticDefines.cs.

Windows

To create a Windows installer package (MSI), install WiX 3.5, restart Windows, go to directory CmisSync\Windows and run:

build installer

This will create CmisSync.msi in the same directory.
Rename it to CmisSync_<version>.msi.

Linux RPM

  1. Copy DotCMIS.dll from external location to Extras/
  2. Run make dist (this produces a tar.bz2 archive)
  3. Run rpmbuild -ta cmissync-<version>.tar.bz2

Linux DEB

TODO

Mac

To create the CmisSync.app Mac bundle, make sure the project is focused in Monodevelop, select Project from the menu bar and click "Create Mac Installer...". Make sure to select Don't link assemblies.

Save the CmisSync.app somewhere. We need to copy some files over:

cp CmisSync/Mac/config CmisSync.app/Contents/MonoBundle/config
cp /Library/Frameworks/Mono.framework/Versions/Current/lib/libintl.dylib CmisSync.app/Contents/Resources

Note: Adjust CmisSync.app/Contents/Resources to where you saved the bundle.

Now you have a working bundle that you can run by double-clicking.

Clone this wiki locally