forked from IDI-Systems/SSProCloud-Docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall.sh
executable file
·30 lines (23 loc) · 841 Bytes
/
install.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/bash
USE_64BIT=${USE_64BIT:-yes}
set -e
LOG=ssprocloud-docker.log
> $LOG
echo "Installing SSProCloud prerequisites"
echo "Follow installation instructions of any installer that will show"
echo ""
if [ -f /home/wineuser/ssprocloud/ssprocloudserver.msi ]; then
if [ "${USE_64BIT}" = "no" ]; then
echo "Installing 32-bit prefix..." 2>&1 | tee -a $LOG
WINEARCH=win32 wine wineboot >>$LOG 2>&1
echo "Installing mdac28..." 2>&1 | tee -a $LOG
winetricks mdac28 >>$LOG 2>&1
echo "Installing SSProCloud (32-bit)..." 2>&1 | tee -a $LOG
else
echo "Installing SSProCloud (64-bit)..." 2>&1 | tee -a $LOG
fi
wine /home/wineuser/ssprocloud/ssprocloudserver.msi >>$LOG 2>&1
else
echo "Skipping SSProCloud installation - installer not found!"
fi
echo "Installation complete!"