-
Notifications
You must be signed in to change notification settings - Fork 123
Packaging
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).
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
.
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.
Modify the version number in CmisSync/CmisSync.Lib/StaticDefines.cs
.
- Copy DotCMIS.dll from external location to Extras/
- Run
make dist
(this produces a tar.bz2 archive) - Run
rpmbuild -ta cmissync-<version>.tar.bz2
TODO
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.