.. | ||
bin | ||
custom | ||
en_US.wxl | ||
Includes.wxi | ||
Makefile | ||
manual.en.txt | ||
manual.txt | ||
MyInstallDirDlg.wxs | ||
README.markdown | ||
seafdir.ico | ||
seafile-background.bmp | ||
seafile-top-banner.bmp | ||
seafile.wxs | ||
strip-files.py | ||
WixUI_InstallDir_NoLicense.wxs | ||
zh_CN.wxl |
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:
- Generate a new
- Update
And go through the compiling process above.