build: windows setup script fix

* removed headless coati usage
* added automatic installer editing. YEAH!
This commit is contained in:
malte_langkabel
2016-02-24 12:58:14 +01:00
parent 39e7789acd
commit c5b96a63ba
2 changed files with 14 additions and 6 deletions
Binary file not shown.
+14 -6
View File
@@ -15,6 +15,16 @@ BASE_DIR=`dirname "$CLEANED_PATH_TO_SCRIPT"`
cd $BASE_DIR/..
if [ $REBUILD = false ]; then
echo -e "$INFO REBUILD flag is set to false. Do you want to proceed?"
read -p "Press [Enter] key to continue"
fi
if [ $OBFUSCATE = false ]; then
echo -e "$INFO OBFUSCATE flag is set to false. Do you want to proceed?"
read -p "Press [Enter] key to continue"
fi
echo -e "$INFO Did you set the correct version number for the installers?"
read -p "Press [Enter] key to continue"
@@ -52,13 +62,11 @@ rm bin/app/data/projects/tutorial/tutorial.coatidb
rm -rf temp
mkdir -p temp
cd temp
echo -e "$INFO Please wait until Coati created the database for tictactoe. Close Coati to continue"
../bin/app/Release/Coati.exe -p ../bin/app/data/projects/tictactoe/tictactoe.coatiproject
echo -e "$INFO Please wait until Coati created the database for tictactoe."
read -p "Press [Enter] key to continue"
echo -e "$INFO Please wait until Coati created the database for tutorial. Close Coati to continue"
../bin/app/Release/Coati.exe -p ../bin/app/data/projects/tutorial/tutorial.coatiproject
echo -e "$INFO Please wait until Coati created the database for tutorial."
read -p "Press [Enter] key to continue"
cd ..
rm -rf temp
@@ -86,8 +94,8 @@ echo -e "$INFO building the installer (trail)"
# EDIT THE INSTALLERS
echo -e "$INFO Please edit the msi files of the installers"
read -p "Press [Enter] key to continue"
"C:/Program Files (x86)/Microsoft SDKs/Windows/v7.1A/Bin/MsiTran.Exe" -a "deployment/windows/transform.mst" "deployment/windows/CoatiAppSetup/CoatiSetup/Release/Coati.msi"
"C:/Program Files (x86)/Microsoft SDKs/Windows/v7.1A/Bin/MsiTran.Exe" -a "deployment/windows/transform.mst" "deployment/windows/CoatiTrialSetup/CoatiSetup/Release/CoatiTrial.msi"
# CREATING PACKAGE FOLDERS (APP)