seafile/msi
2012-10-30 10:53:07 +08:00
..
bin [win] add windows package files 2012-08-21 14:43:23 +08:00
custom update windows installer 2012-10-15 20:07:47 +08:00
en_US.wxl add i18n support in applet 2012-10-30 10:53:07 +08:00
Includes.wxi add i18n support in applet 2012-10-30 10:53:07 +08:00
Makefile add i18n support in applet 2012-10-30 10:53:07 +08:00
manual.en.txt add i18n support in applet 2012-10-30 10:53:07 +08:00
manual.txt update windows installer 2012-10-15 20:07:47 +08:00
MyInstallDirDlg.wxs add i18n support in applet 2012-10-30 10:53:07 +08:00
README.markdown put a user manual in Seafile dir 2012-09-10 13:46:28 +08:00
seafdir.ico put a user manual in Seafile dir 2012-09-10 13:46:28 +08:00
seafile-background.bmp [win] add windows package files 2012-08-21 14:43:23 +08:00
seafile-top-banner.bmp [win] add windows package files 2012-08-21 14:43:23 +08:00
seafile.wxs add i18n support in applet 2012-10-30 10:53:07 +08:00
strip-files.py put a user manual in Seafile dir 2012-09-10 13:46:28 +08:00
WixUI_InstallDir_NoLicense.wxs update windows installer 2012-10-15 20:07:47 +08:00
zh_CN.wxl add i18n support in applet 2012-10-30 10:53:07 +08:00

How to build seafile Windows MSI installer

  • Download Wix toolset.

    http://wix.sourceforge.net/downloadv35.html

    And extract downloaded zip file to someplace, such as c:/wix. And add it to system PATH.

  • Download Paraffin.exe:

    http://www.wintellect.com/CS/files/folders/7420/download.aspx

    And put Paraffin.exe to c:/wix

  • Compile & install ccnet:

    cd ccnet; make && make install cd seafile; make && make install

  • cd msi/custom; make; make x64;

  • ./dll2pyd.sh; ./setupwin.sh /c/pack

  • strip files for reduce size:

    cd /c/pack; python strip-files.py

  • Compile msi using Wix:

    cd /c/pack; make fragment.wxs; ; make ;

  • Now you have the package available in /c/pack/seafile.msi

Edit fragment.wxs

Edit the line contains seafile-applet. Modify the Id attribute.

From: <File Id="file_bin_28 Checksum="yes" Source="bin\seafile-applet.exe" /> To:

Upgrade

Every time a new version is released, you just need to edit Includes.wxi:

  1. Generate a new
  2. Update

And go through the compiling process above.