mirror of
https://github.com/GAM-team/GAM.git
synced 2026-06-28 01:41:36 +00:00
extract msi for openssl
This commit is contained in:
@@ -1,12 +1,19 @@
|
||||
until powershell Install-WindowsFeature Net-Framework-Core; do echo "trying again..."; done
|
||||
cinst -y --forcex86 python3
|
||||
#cinst -y --forcex86 openssl.light
|
||||
cd ~/pybuild
|
||||
if [ ! -e Win32OpenSSL_Light-1_1_1b.exe ]; then
|
||||
wget --quiet https://slproweb.com/download/Win32OpenSSL_Light-1_1_1b.exe
|
||||
msifile=Win32OpenSSL_Light-${BUILD_OPENSSL_VERSION//./_}.msi
|
||||
if [ ! -e $msifile ]; then
|
||||
echo "Downloading $msifile..."
|
||||
wget --quiet https://slproweb.com/download/$msifile
|
||||
fi
|
||||
./Win32OpenSSL_Light-1_1_1b.exe /silent /sp- /suppressmsgboxes /DIR=$ProgramFiles\OpenSSL -f
|
||||
cp -v /c/Program\ Files/OpenSSL/*.dll /c/Python37/DLLs
|
||||
if { ! -e ssl/libeay32.dll ]; then
|
||||
msiexec /a $msifile /qn TARGETDIR=ssl
|
||||
fi
|
||||
echo "OpenSSL dlls..."
|
||||
ls -al ssl
|
||||
echo "Python dlls..."
|
||||
ls -al /c/Python37/DLLs
|
||||
cp -v ssl/*.dll /c/Python37/DLLs
|
||||
export PATH=$PATH:/c/Python37/scripts
|
||||
until cinst -y wixtoolset; do echo "trying again..."; done
|
||||
pip install --upgrade pip
|
||||
|
||||
@@ -1,10 +1,17 @@
|
||||
until powershell Install-WindowsFeature Net-Framework-Core; do echo "trying again..."; done
|
||||
cinst -y python3
|
||||
cd ~/pybuild
|
||||
if [ ! -e Win64OpenSSL_Light-1_1_1b.exe ]; then
|
||||
wget --quiet https://slproweb.com/download/Win64OpenSSL_Light-1_1_1b.exe
|
||||
msifile=Win64OpenSSL_Light-${BUILD_OPENSSL_VERSION//./_}.msi
|
||||
if [ ! -e $msifile ]; then
|
||||
wget --quiet https://slproweb.com/download/$msifile
|
||||
fi
|
||||
./Win64OpenSSL_Light-1_1_1b.exe /silent /sp- /suppressmsgboxes /DIR=$ProgramFiles\OpenSSL -f
|
||||
if { ! -e ssl/libeay32.dll ]; then
|
||||
msiexec /a $msifile /qn TARGETDIR=ssl
|
||||
fi
|
||||
echo "OpenSSL dlls..."
|
||||
ls -al ssl
|
||||
echo "Python dlls..."
|
||||
ls -al /c/Python37/DLLs
|
||||
cp -v /c/Program\ Files/OpenSSL/bin/*.dll /c/Python37/DLLs
|
||||
export PATH=$PATH:/c/Python37/scripts
|
||||
until cinst -y wixtoolset; do echo "trying again..."; done
|
||||
|
||||
Reference in New Issue
Block a user