build: windows installer fix
* added project specific icons to windows installer * implemented automatic generation of the version number for the windows installer
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
VERSION_STRING=$(git describe --long)
|
||||
VERSION_STRING="${VERSION_STRING//-/_}"
|
||||
VERSION_STRING="${VERSION_STRING//./_}"
|
||||
VERSION_STRING="${VERSION_STRING%_*}"
|
||||
VERSION_STRING="${VERSION_STRING//_/.}"
|
||||
|
||||
echo "installer version is $VERSION_STRING"
|
||||
|
||||
rm -rf build
|
||||
mkdir build
|
||||
|
||||
@@ -7,7 +15,8 @@ mkdir build
|
||||
rm -rf bin
|
||||
mkdir bin
|
||||
|
||||
candle.exe -dprojectVersion="0.9.0" coati.wxs customActions.wxs dialogShortcuts.wxs installDir.wxs appDataDir.wxs -out build/ > build/compileLog.txt
|
||||
|
||||
candle.exe -dprojectVersion="$VERSION_STRING" coati.wxs customActions.wxs dialogShortcuts.wxs installDir.wxs appDataDir.wxs -out build/ > build/compileLog.txt
|
||||
light.exe -ext WixUIExtension build/coati.wixobj build/customActions.wixobj build/dialogShortcuts.wixobj build/installDir.wixobj build/appDataDir.wixobj -out build/coati.msi > build/linkLog.txt
|
||||
|
||||
cp -u -r build/coati.msi bin
|
||||
|
||||
Reference in New Issue
Block a user