Skip to content
Nicolas Raoul edited this page May 8, 2014 · 40 revisions

First, right-click on the CmisSync.Lib project, choose "Properties", then in the "Application" tab click on "Assembly Information..." and:

  • Increment the "Assembly version",
  • Generate a new UUID (for instance here).

Windows

To create a Windows installer package (MSI), you will need to install WiX 3.5.

If you have Visual C#:

  • Right-click the solution and select "Clean",
  • Right-click the "Installer" project and select "Rebuild",
  • Right-click the "InstallerBootstrapper" project and select "Rebuild".

A .exe installer has been generated in CmisSync\Windows\InstallerBootstrapper\bin\Debug.

Command-line

Also doable via command line in CmisSync\Windows:

build

This will create CmisSync.msi in the Installer\bin\Debug directory.
But not sure how to create the bootstrapper.

Linux RPM

Modify the version number in CmisSync/CmisSync.Lib/StaticDefines.cs.

  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

Modify the version number in CmisSync/CmisSync.Lib/StaticDefines.cs.

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.