inital commit

This commit is contained in:
U-DBP\mario.fetka 2013-08-31 00:42:14 +02:00
commit 19b397a02c
126 changed files with 1544 additions and 0 deletions

BIN
binary/program32/AIORuntimes.exe Executable file

Binary file not shown.

BIN
binary/system16/msvcrt.dll Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
binary/system16/plugin.dll Normal file

Binary file not shown.

BIN
binary/system16/vb40016.dll Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
binary/system32/AIORuntimes.dll Executable file

Binary file not shown.

BIN
binary/system32/SDL.dll Executable file

Binary file not shown.

BIN
binary/system32/SDL2.dll Executable file

Binary file not shown.

BIN
binary/system32/atl70.dll Normal file

Binary file not shown.

BIN
binary/system32/atl71.dll Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
binary/system32/cygwin1.dll Executable file

Binary file not shown.

Binary file not shown.

BIN
binary/system32/libeay32.dll Executable file

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
binary/system32/libmmd.dll Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
binary/system32/mci32.ocx Normal file

Binary file not shown.

BIN
binary/system32/mfc70.dll Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
binary/system32/mfc70u.dll Normal file

Binary file not shown.

BIN
binary/system32/mfc71.dll Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
binary/system32/mfc71u.dll Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
binary/system32/msinet.ocx Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
binary/system32/msvci70.dll Normal file

Binary file not shown.

BIN
binary/system32/msvcp70.dll Normal file

Binary file not shown.

BIN
binary/system32/msvcp71.dll Normal file

Binary file not shown.

BIN
binary/system32/msvcr70.dll Normal file

Binary file not shown.

BIN
binary/system32/msvcr71.dll Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
binary/system32/ssleay32.dll Executable file

Binary file not shown.

BIN
binary/system32/sysinfo.ocx Normal file

Binary file not shown.

Binary file not shown.

BIN
binary/system32/vb40032.dll Normal file

Binary file not shown.

Binary file not shown.

BIN
binary/system32/zlib1.dll Normal file

Binary file not shown.

Binary file not shown.

BIN
binary/system64/SDL.dll Executable file

Binary file not shown.

BIN
binary/system64/SDL2.dll Executable file

Binary file not shown.

Binary file not shown.

BIN
binary/system64/cygwin1.dll Executable file

Binary file not shown.

BIN
binary/system64/libeay32.dll Executable file

Binary file not shown.

BIN
binary/system64/ssleay32.dll Executable file

Binary file not shown.

BIN
binary/system64/zlib1.dll Normal file

Binary file not shown.

Binary file not shown.

684
build.sh Executable file
View File

@ -0,0 +1,684 @@
#!/bin/sh
VERSION="1.1.0.0"
KELSRUN="8.6.2"
LEGACYRUN="1_0_0"
RICKRUN="2_2_2"
CYGVER="1.7.24-1"
ZLIBVER="128"
ZLIBWAPIVER="125"
VB1VER="100"
VB2VER="200"
VB3VER="300"
VB4VER="400"
VB5VER="50"
VB6VER="60sp6"
VC1VER="10"
VC2002VER="70sp1"
VC2003VER="71sp1"
AUTOITVER="3.3.9.19"
OPENSSLVER="1_0_1e"
SDL1VER="1.2.15"
SDL2VER="2.0.0"
ADVINSTPATH=/cygdrive/c/Programme/Caphyon/Advanced\ Installer\ 10.3/bin/x86/
OUT=$(mktemp -d /tmp/output.XXXXXXXXXX) || { echo "Failed to create temp dir"; exit 1; }
rm -rf $PWD/binary/*/*
# =============================================================================================
# Old Runtimes
# =============================================================================================
mkdir -p $OUT/yumeyao/x86
echo "Downloading file"
if [ -e $PWD/sources/vcrun$VC1VER.zip.sha1sum ]
then
SHA1SUM=`cat $PWD/sources/vcrun$VC1VER.zip.sha1sum | cut -d " " -f1`
CHECKSUM=`sha1sum $PWD/sources/vcrun$VC1VER.zip | cut -d " " -f1`
if [ "$CHECKSUM" = "$SHA1SUM" ]
then
7z x $PWD/sources/vcrun$VC1VER.zip -o$OUT/yumeyao/x86
fi
else
wget -O $PWD/sources/vcrun$VC1VER.zip http://majorgeeks.mirror.internode.on.net/graphics/required_dlls.zip
sha1sum $PWD/sources/vcrun$VC1VER.zip > $PWD/sources/vcrun$VC1VER.zip.sha1sum
7z x $PWD/sources/vcrun$VC1VER.zip -o$OUT/yumeyao/x86
fi
for i in $OUT/yumeyao/x86/*; do mv $i `echo $i | tr [:upper:] [:lower:]`; done
if [ -e $PWD/sources/YumeYao_MicrosoftOldRuntimeLibraries_Addon_$LEGACYRUN.7z.sha1sum ]
then
SHA1SUM=`cat $PWD/sources/YumeYao_MicrosoftOldRuntimeLibraries_Addon_$LEGACYRUN.7z.sha1sum | cut -d " " -f1`
CHECKSUM=`sha1sum $PWD/sources/YumeYao_MicrosoftOldRuntimeLibraries_Addon_$LEGACYRUN.7z | cut -d " " -f1`
if [ "$CHECKSUM" = "$SHA1SUM" ]
then
7z x $PWD/sources/YumeYao_MicrosoftOldRuntimeLibraries_Addon_$LEGACYRUN.7z -o$OUT/yumeyao/x86
fi
else
wget -O $PWD/sources/YumeYao_MicrosoftOldRuntimeLibraries_Addon_1_0_0.7z http://download1328.mediafire.com/1c38l3r5m3og/bzwsjw0z3dv0j6b/YumeYao_MicrosoftOldRuntimeLibraries_Addon_$LEGACYRUN.7z
sha1sum $PWD/sources/YumeYao_MicrosoftOldRuntimeLibraries_Addon_$LEGACYRUN.7z > $PWD/sources/YumeYao_MicrosoftOldRuntimeLibraries_Addon_$LEGACYRUN.7z.sha1sum
7z x $PWD/sources/YumeYao_MicrosoftOldRuntimeLibraries_Addon_$LEGACYRUN.7z -o$OUT/yumeyao/x86
fi
mv -vf $OUT/yumeyao/x86/*/* $OUT/yumeyao/x86/
for i in $OUT/yumeyao/x86/*; do mv $i `echo $i | tr [:upper:] [:lower:]`; done
mv -vf $OUT/yumeyao/x86/vb40032.dll $PWD/binary/system32
mv -vf $OUT/yumeyao/x86/*.dll $PWD/binary/system16
# =============================================================================================
# Kels Runtime
# =============================================================================================
mkdir -p $OUT/kels/x86/cab
echo "Downloading file"
if [ -e $PWD/sources/Kels_Runtimes_addon_v$KELSRUN.7z.sha1sum ]
then
SHA1SUM=`cat $PWD/sources/Kels_Runtimes_addon_v$KELSRUN.7z.sha1sum | cut -d " " -f1`
CHECKSUM=`sha1sum $PWD/sources/Kels_Runtimes_addon_v$KELSRUN.7z | cut -d " " -f1`
if [ "$CHECKSUM" = "$SHA1SUM" ]
then
7z x $PWD/sources/Kels_Runtimes_addon_v$KELSRUN.7z -o$OUT/kels/x86/cab
cabextract -d $OUT/kels/x86/ $OUT/kels/x86/cab/*.cab
fi
else
wget -O $PWD/sources/Kels_Runtimes_addon_v$KELSRUN.7z http://www.wpiw.net/downloads/addons/Kels_Runtimes_addon_v$KELSRUN.7z
sha1sum $PWD/sources/Kels_Runtimes_addon_v$KELSRUN.7z > $PWD/sources/Kels_Runtimes_addon_v$KELSRUN.7z.sha1sum
7z x $PWD/sources/Kels_Runtimes_addon_v$KELSRUN.7z -o$OUT/kels/x86/cab
cabextract -d $OUT/kels/x86/ $OUT/kels/x86/cab/*.cab
fi
mv -vf $OUT/kels/x86/plugin.dll $PWD/binary/system16
mv -vf $OUT/kels/x86/*.dll $PWD/binary/system32
mv -vf $OUT/kels/x86/*.ocx $PWD/binary/system32
# =============================================================================================
# cygwin
# =============================================================================================
mkdir -p $OUT/cygwin/x86
mkdir -p $OUT/cygwin/x64
echo "Downloading file"
if [ -e $PWD/sources/cygwin32-$CYGVER.tar.bz2.sha1sum ]
then
SHA1SUM=`cat $PWD/sources/cygwin32-$CYGVER.tar.bz2.sha1sum | cut -d " " -f1`
CHECKSUM=`sha1sum $PWD/sources/cygwin32-$CYGVER.tar.bz2 | cut -d " " -f1`
if [ "$CHECKSUM" = "$SHA1SUM" ]
then
tar jxfv $PWD/sources/cygwin32-$CYGVER.tar.bz2 -C $OUT/cygwin/x86
fi
else
wget -O $PWD/sources/cygwin32-$CYGVER.tar.bz2 http://cygwin.digitalnova.at/x86/release/cygwin/cygwin-$CYGVER.tar.bz2
sha1sum $PWD/sources/cygwin32-$CYGVER.tar.bz2 > $PWD/sources/cygwin32-$CYGVER.tar.bz2.sha1sum
tar jxfv $PWD/sources/cygwin32-$CYGVER.tar.bz2 -C $OUT/cygwin/x86
fi
if [ -e $PWD/sources/cygwin64-$CYGVER.tar.bz2.sha1sum ]
then
SHA1SUM=`cat $PWD/sources/cygwin64-$CYGVER.tar.bz2.sha1sum | cut -d " " -f1`
CHECKSUM=`sha1sum $PWD/sources/cygwin64-$CYGVER.tar.bz2 | cut -d " " -f1`
if [ "$CHECKSUM" = "$SHA1SUM" ]
then
tar jxfv $PWD/sources/cygwin64-$CYGVER.tar.bz2 -C $OUT/cygwin/x64
fi
else
wget -O $PWD/sources/cygwin64-$CYGVER.tar.bz2 http://cygwin.digitalnova.at/x86_64/release/cygwin/cygwin-$CYGVER.tar.bz2
sha1sum $PWD/sources/cygwin64-$CYGVER.tar.bz2 > $PWD/sources/cygwin64-$CYGVER.tar.bz2.sha1sum
tar jxfv $PWD/sources/cygwin64-$CYGVER.tar.bz2 -C $OUT/cygwin/x64
fi
mv -vf $OUT/cygwin/x86/usr/bin/cygwin1.dll $PWD/binary/system32
mv -vf $OUT/cygwin/x64/usr/bin/cygwin1.dll $PWD/binary/system64
# =============================================================================================
# zlib
# =============================================================================================
mkdir -p $OUT/zlib/x86
mkdir -p $OUT/zlib/x64
echo "Downloading file"
if [ -e $PWD/sources/zlib$ZLIBVER-dll32.zip.sha1sum ]
then
SHA1SUM=`cat $PWD/sources/zlib$ZLIBVER-dll32.zip.sha1sum | cut -d " " -f1`
CHECKSUM=`sha1sum $PWD/sources/zlib$ZLIBVER-dll32.zip | cut -d " " -f1`
if [ "$CHECKSUM" = "$SHA1SUM" ]
then
7z x $PWD/sources/zlib$ZLIBVER-dll32.zip -o$OUT/zlib/x86
fi
else
wget -O $PWD/sources/zlib$ZLIBVER-dll32.zip http://zlib.net/zlib$ZLIBVER-dll.zip
sha1sum $PWD/sources/zlib$ZLIBVER-dll32.zip > $PWD/sources/zlib$ZLIBVER-dll32.zip.sha1sum
7z x $PWD/sources/zlib$ZLIBVER-dll32.zip -o$OUT/zlib/x86
fi
if [ -e $PWD/sources/zlib$ZLIBVER-dll64.zip.sha1sum ]
then
SHA1SUM=`cat $PWD/sources/zlib$ZLIBVER-dll64.zip.sha1sum | cut -d " " -f1`
CHECKSUM=`sha1sum $PWD/sources/zlib$ZLIBVER-dll64.zip | cut -d " " -f1`
if [ "$CHECKSUM" = "$SHA1SUM" ]
then
7z x $PWD/sources/zlib$ZLIBVER-dll64.zip -o$OUT/zlib/x64
fi
else
wget -O $PWD/sources/zlib$ZLIBVER-dll64.zip http://zlib.net/zlib$ZLIBVER-dll.zip
sha1sum $PWD/sources/zlib$ZLIBVER-dll64.zip > $PWD/sources/zlib$ZLIBVER-dll64.zip.sha1sum
7z x $PWD/sources/zlib$ZLIBVER-dll64.zip -o$OUT/zlib/x64
fi
mv -vf $OUT/zlib/x86/zlib1.dll $PWD/binary/system32
mv -vf $OUT/zlib/x64/zlib1.dll $PWD/binary/system64
# =============================================================================================
# zlib wapi
# =============================================================================================
mkdir -p $OUT/zlibwapi/x86
mkdir -p $OUT/zlibwapi/x64
echo "Downloading file"
if [ -e $PWD/sources/zlibwapi$ZLIBWAPIVER-dll32.zip.sha1sum ]
then
SHA1SUM=`cat $PWD/sources/zlibwapi$ZLIBWAPIVER-dll32.zip.sha1sum | cut -d " " -f1`
CHECKSUM=`sha1sum $PWD/sources/zlibwapi$ZLIBWAPIVER-dll32.zip | cut -d " " -f1`
if [ "$CHECKSUM" = "$SHA1SUM" ]
then
7z x $PWD/sources/zlibwapi$ZLIBWAPIVER-dll32.zip -o$OUT/zlibwapi/x86
fi
else
wget -O $PWD/sources/zlibwapi$ZLIBWAPIVER-dll32.zip http://www.winimage.com/zLibDll/zlib${ZLIBWAPIVER}dll.zip
sha1sum $PWD/sources/zlibwapi$ZLIBWAPIVER-dll32.zip > $PWD/sources/zlibwapi$ZLIBWAPIVER-dll32.zip.sha1sum
7z x $PWD/sources/zlibwapi$ZLIBWAPIVER-dll32.zip -o$OUT/zlibwapi/x86
fi
if [ -e $PWD/sources/zlibwapi$ZLIBWAPIVER-dll64.zip.sha1sum ]
then
SHA1SUM=`cat $PWD/sources/zlibwapi$ZLIBWAPIVER-dll64.zip.sha1sum | cut -d " " -f1`
CHECKSUM=`sha1sum $PWD/sources/zlibwapi$ZLIBWAPIVER-dll64.zip | cut -d " " -f1`
if [ "$CHECKSUM" = "$SHA1SUM" ]
then
7z x $PWD/sources/zlibwapi$ZLIBWAPIVER-dll64.zip -o$OUT/zlibwapi/x64
fi
else
wget -O $PWD/sources/zlibwapi$ZLIBWAPIVER-dll64.zip http://www.winimage.com/zLibDll/zlib${ZLIBWAPIVER}dll.zip
sha1sum $PWD/sources/zlibwapi$ZLIBWAPIVER-dll64.zip > $PWD/sources/zlibwapi$ZLIBWAPIVER-dll64.zip.sha1sum
7z x $PWD/sources/zlibwapi$ZLIBWAPIVER-dll64.zip -o$OUT/zlibwapi/x64
fi
mv -vf $OUT/zlibwapi/x86/dll32/*.dll $PWD/binary/system32
mv -vf $OUT/zlibwapi/x64/dllx64/*.dll $PWD/binary/system64
# =============================================================================================
# VB 1.0.0
# =============================================================================================
mkdir -p $OUT/vb1/x86
echo "Downloading file"
if [ -e $PWD/sources/vbrun$VB1VER.exe.sha1sum ]
then
SHA1SUM=`cat $PWD/sources/vbrun$VB1VER.exe.sha1sum | cut -d " " -f1`
CHECKSUM=`sha1sum $PWD/sources/vbrun$VB1VER.exe | cut -d " " -f1`
if [ "$CHECKSUM" = "$SHA1SUM" ]
then
7z x $PWD/sources/vbrun$VB1VER.exe -o$OUT/vb1/x86
fi
else
wget -O $PWD/sources/vbrun$VB1VER.exe http://download.microsoft.com/download/vb30/sampleaa/1/w9xnt4/en-us/vbrun$VB1VER.exe
sha1sum $PWD/sources/vbrun$VB1VER.exe > $PWD/sources/vbrun$VB1VER.exe.sha1sum
7z x $PWD/sources/vbrun$VB1VER.exe -o$OUT/vb1/x86
fi
mv -vf $OUT/vb1/x86/vbrun100.dll $PWD/binary/system16
# =============================================================================================
# VB 2.0.0
# =============================================================================================
mkdir -p $OUT/vb2/x86
echo "Downloading file"
if [ -e $PWD/sources/vbrun$VB2VER.exe.sha1sum ]
then
SHA1SUM=`cat $PWD/sources/vbrun$VB2VER.exe.sha1sum | cut -d " " -f1`
CHECKSUM=`sha1sum $PWD/sources/vbrun$VB2VER.exe | cut -d " " -f1`
if [ "$CHECKSUM" = "$SHA1SUM" ]
then
7z x $PWD/sources/vbrun$VB2VER.exe -o$OUT/vb2/x86
fi
else
wget -O $PWD/sources/vbrun$VB2VER.exe http://download.microsoft.com/download/vb30/sample39/1/w9xnt4/en-us/vbrun$VB2VER.exe
sha1sum $PWD/sources/vbrun$VB2VER.exe > $PWD/sources/vbrun$VB2VER.exe.sha1sum
7z x $PWD/sources/vbrun$VB2VER.exe -o$OUT/vb2/x86
fi
mv -vf $OUT/vb2/x86/vbrun200.dll $PWD/binary/system16
# =============================================================================================
# VB 3.0.0
# =============================================================================================
mkdir -p $OUT/vb3/x86
echo "Downloading file"
if [ -e $PWD/sources/vbrun$VB3VER.exe.sha1sum ]
then
SHA1SUM=`cat $PWD/sources/vbrun$VB3VER.exe.sha1sum | cut -d " " -f1`
CHECKSUM=`sha1sum $PWD/sources/vbrun$VB3VER.exe | cut -d " " -f1`
if [ "$CHECKSUM" = "$SHA1SUM" ]
then
7z x $PWD/sources/vbrun$VB3VER.exe -o$OUT/vb3/x86
fi
else
wget -O $PWD/sources/vbrun$VB3VER.exe http://download.microsoft.com/download/vb30/utility/1/w9xnt4/en-us/vb3run.exe
sha1sum $PWD/sources/vbrun$VB3VER.exe > $PWD/sources/vbrun$VB3VER.exe.sha1sum
7z x $PWD/sources/vbrun$VB3VER.exe -o$OUT/vb3/x86
fi
mv -vf $OUT/vb3/x86/vbrun300.dll $PWD/binary/system16
# =============================================================================================
# VB 4.0.0
# =============================================================================================
mkdir -p $OUT/vb4/x86
echo "Downloading file"
if [ -e $PWD/sources/vbrun$VB4VER.exe.sha1sum ]
then
SHA1SUM=`cat $PWD/sources/vbrun$VB4VER.exe.sha1sum | cut -d " " -f1`
CHECKSUM=`sha1sum $PWD/sources/vbrun$VB4VER.exe | cut -d " " -f1`
if [ "$CHECKSUM" = "$SHA1SUM" ]
then
7z x $PWD/sources/vbrun$VB4VER.exe -o$OUT/vb4/x86
fi
else
wget -O $PWD/sources/vbrun$VB4VER.exe http://download.microsoft.com/download/vb40ent/sample27/1/w9xnt4/en-us/vb4run.exe
sha1sum $PWD/sources/vbrun$VB4VER.exe > $PWD/sources/vbrun$VB4VER.exe.sha1sum
7z x $PWD/sources/vbrun$VB4VER.exe -o$OUT/vb4/x86
fi
for i in $OUT/vb4/x86/*; do mv $i `echo $i | tr [:upper:] [:lower:]`; done
mv -vf $OUT/vb4/x86/vb40016.dll $PWD/binary/system16
mv -vf $OUT/vb4/x86/vb40032.dll $PWD/binary/system32
# =============================================================================================
# VB 5.0.0
# =============================================================================================
mkdir -p $OUT/vb5/x86
echo "Downloading file"
if [ -e $PWD/sources/vbrun$VB5VER.exe.sha1sum ]
then
SHA1SUM=`cat $PWD/sources/vbrun$VB5VER.exe.sha1sum | cut -d " " -f1`
CHECKSUM=`sha1sum $PWD/sources/vbrun$VB5VER.exe | cut -d " " -f1`
if [ "$CHECKSUM" = "$SHA1SUM" ]
then
7z x $PWD/sources/vbrun$VB5VER.exe -o$OUT/vb5/x86
fi
else
wget -O $PWD/sources/vbrun$VB5VER.exe http://download.microsoft.com/download/vb50pro/utility/1/win98/EN-US/Msvbvm50.exe
sha1sum $PWD/sources/vbrun$VB5VER.exe > $PWD/sources/vbrun$VB5VER.exe.sha1sum
7z x $PWD/sources/vbrun$VB5VER.exe -o$OUT/vb5/x86
fi
for i in $OUT/vb5/x86/*; do mv $i `echo $i | tr [:upper:] [:lower:]`; done
rm -f $OUT/vb5/x86/w95*
mv -vf $OUT/vb5/x86/msvb*.dll $PWD/binary/system32
# =============================================================================================
# VB 6.0.0
# =============================================================================================
mkdir -p $OUT/vb6/x86
echo "Downloading file"
if [ -e $PWD/sources/vbrun$VB6VER.exe.sha1sum ]
then
SHA1SUM=`cat $PWD/sources/vbrun$VB6VER.exe.sha1sum | cut -d " " -f1`
CHECKSUM=`sha1sum $PWD/sources/vbrun$VB6VER.exe | cut -d " " -f1`
if [ "$CHECKSUM" = "$SHA1SUM" ]
then
7z x $PWD/sources/vbrun$VB6VER.exe -o$OUT/vb6/x86
fi
else
wget -O $PWD/sources/vbrun$VB6VER.exe http://download.microsoft.com/download/5/a/d/5ad868a0-8ecd-4bb0-a882-fe53eb7ef348/VB6.0-KB290887-X86.exe
sha1sum $PWD/sources/vbrun$VB6VER.exe > $PWD/sources/vbrun$VB6VER.exe.sha1sum
7z x $PWD/sources/vbrun$VB6VER.exe -o$OUT/vb6/x86
fi
7z x $OUT/vb6/x86/*.exe -o$OUT/vb6/x86
for i in $OUT/vb6/x86/*; do mv $i `echo $i | tr [:upper:] [:lower:]`; done
rm -f $OUT/vb6/x86/w95*
mv -vf $OUT/vb6/x86/msvb*.dll $PWD/binary/system32
# =============================================================================================
# Vc 7.0.0
# =============================================================================================
mkdir -p $OUT/vc70/x86/cab
mkdir -p $OUT/vc70/x86/cabsp
mkdir -p $OUT/vc70/x86/rick
echo "Downloading file"
if [ -e $PWD/sources/vcrun$VC2002VER.zip.sha1sum ]
then
SHA1SUM=`cat $PWD/sources/vcrun$VC2002VER.zip.sha1sum | cut -d " " -f1`
CHECKSUM=`sha1sum $PWD/sources/vcrun$VC2002VER.zip | cut -d " " -f1`
if [ "$CHECKSUM" = "$SHA1SUM" ]
then
7z x $PWD/sources/vcrun$VC2002VER.zip -o$OUT/vc70/x86
fi
else
wget -O $PWD/sources/vcrun$VC2002VER.zip http://spench.net/drupal/files/MFC7.0_Runtime.zip
sha1sum $PWD/sources/vcrun$VC2002VER.zip > $PWD/sources/vcrun$VC2002VER.zip.sha1sum
7z x $PWD/sources/vcrun$VC2002VER.zip -o$OUT/vc70/x86
fi
for i in $OUT/vc70/x86/*; do mv $i `echo $i | tr [:upper:] [:lower:]`; done
if [ -e $PWD/sources/vcrun$VC2002VER-KB837234.exe.sha1sum ]
then
SHA1SUM=`cat $PWD/sources/vcrun$VC2002VER-KB837234.exe.sha1sum | cut -d " " -f1`
CHECKSUM=`sha1sum $PWD/sources/vcrun$VC2002VER-KB837234.exe | cut -d " " -f1`
if [ "$CHECKSUM" = "$SHA1SUM" ]
then
cabextract -d $OUT/vc70/x86/cabsp $PWD/sources/vcrun$VC2002VER-KB837234.exe
fi
else
wget -O $PWD/sources/vcrun$VC2002VER-KB837234.exe http://download.microsoft.com/download/4/1/a/41a70f33-ee71-417c-b830-4d3bd0acac13/VS7.0sp1-KB837234-X86.exe
sha1sum $PWD/sources/vcrun$VC2002VER-KB837234.exe > $PWD/sources/vcrun$VC2002VER-KB837234.exe.sha1sum
cabextract -d $OUT/vc70/x86/cabsp $PWD/sources/vcrun$VC2002VER-KB837234.exe
fi
for i in $OUT/vc70/x86/cabsp/*; do mv $i `echo $i | tr [:upper:] [:lower:]`; done
for i in atl70 msvcr70 msvci70 mfc70 mfc70u mfc70deu mfc70esp mfc70fra mfc70ita mfc70chs mfc70cht mfc70jpn mfc70kor msvcp70
do
mv -vf $OUT/vc70/x86/cabsp/fl_${i}_dll_* $OUT/vc70/x86/${i}.dll
mv -vf $OUT/vc70/x86/cabsp/fl_${i}_dll__* $OUT/vc70/x86/${i}.dll
done
if [ -e $PWD/sources/vcrun$VC2002VER-KB924642.exe.sha1sum ]
then
SHA1SUM=`cat $PWD/sources/vcrun$VC2002VER-KB924642.exe.sha1sum | cut -d " " -f1`
CHECKSUM=`sha1sum $PWD/sources/vcrun$VC2002VER-KB924642.exe | cut -d " " -f1`
if [ "$CHECKSUM" = "$SHA1SUM" ]
then
cabextract -d $OUT/vc70/x86/cab $PWD/sources/vcrun$VC2002VER-KB924642.exe
fi
else
wget -O $PWD/sources/vcrun$VC2002VER-KB924642.exe http://download.microsoft.com/download/6/b/e/6be11d8a-e0c7-429c-ac8c-9860e313ced9/VS7.0sp1-KB924642-X86.exe
sha1sum $PWD/sources/vcrun$VC2002VER-KB924642.exe > $PWD/sources/vcrun$VC2002VER-KB924642.exe.sha1sum
cabextract -d $OUT/vc70/x86/cab $PWD/sources/vcrun$VC2002VER-KB924642.exe
fi
for i in $OUT/vc70/x86/cab/*; do mv $i `echo $i | tr [:upper:] [:lower:]`; done
for i in atl70 msvcr70 msvci70 mfc70 mfc70u mfc70deu mfc70esp mfc70fra mfc70ita mfc70chs mfc70cht mfc70jpn mfc70kor msvcp70
do
mv -vf $OUT/vc70/x86/cab/fl_${i}_dll_* $OUT/vc70/x86/${i}.dll
mv -vf $OUT/vc70/x86/cab/fl_${i}_dll__* $OUT/vc70/x86/${i}.dll
done
if [ -e $PWD/sources/Ricks-YumeYao_MicrosoftVC7891012RuntimeLibraries_Addon_$RICKRUN.7z.sha1sum ]
then
SHA1SUM=`cat $PWD/sources/Ricks-YumeYao_MicrosoftVC7891012RuntimeLibraries_Addon_$RICKRUN.7z.sha1sum | cut -d " " -f1`
CHECKSUM=`sha1sum $PWD/sources/Ricks-YumeYao_MicrosoftVC7891012RuntimeLibraries_Addon_$RICKRUN.7z | cut -d " " -f1`
if [ "$CHECKSUM" = "$SHA1SUM" ]
then
7z x $PWD/sources/Ricks-YumeYao_MicrosoftVC7891012RuntimeLibraries_Addon_$RICKRUN.7z -o$OUT/vc70/x86/rick
fi
else
wget -O $PWD/sources/Ricks-YumeYao_MicrosoftVC7891012RuntimeLibraries_Addon_$RICKRUN.7z http://brianspcrepair.com/ricktendo/Archive/Ricks-YumeYao_MicrosoftVC7891012RuntimeLibraries_Addon_$RICKRUN.7z
sha1sum $PWD/sources/Ricks-YumeYao_MicrosoftVC7891012RuntimeLibraries_Addon_$RICKRUN.7z > $PWD/sources/Ricks-YumeYao_MicrosoftVC7891012RuntimeLibraries_Addon_$RICKRUN.7z.sha1sum
7z x $PWD/sources/Ricks-YumeYao_MicrosoftVC7891012RuntimeLibraries_Addon_$RICKRUN.7z -o$OUT/vc70/x86/rick
fi
for i in $OUT/vc70/x86/rick/*; do mv $i `echo $i | tr [:upper:] [:lower:]`; done
for i in atl70 msvcr70 msvci70 mfc70 mfc70u mfc70deu mfc70esp mfc70fra mfc70ita mfc70chs mfc70cht mfc70jpn mfc70kor msvcp70
do
mv -vf $OUT/vc70/x86/rick/${i}.dll $OUT/vc70/x86/${i}.dll
done
mv -vf $OUT/vc70/x86/*.dll $PWD/binary/system32
# =============================================================================================
# Vc 7.1.0
# =============================================================================================
mkdir -p $OUT/vc71/x86/cabsp
mkdir -p $OUT/vc71/x86/cab
mkdir -p $OUT/vc71/x86/rick
echo "Downloading file"
if [ -e $PWD/sources/vcrun$VC2003VER.zip.sha1sum ]
then
SHA1SUM=`cat $PWD/sources/vcrun$VC2003VER.zip.sha1sum | cut -d " " -f1`
CHECKSUM=`sha1sum $PWD/sources/vcrun$VC2003VER.zip | cut -d " " -f1`
if [ "$CHECKSUM" = "$SHA1SUM" ]
then
7z x $PWD/sources/vcrun$VC2003VER.zip -o$OUT/vc71/x86
fi
else
wget -O $PWD/sources/vcrun$VC2003VER.zip http://spench.net/drupal/files/MFC7.1_Runtime.zip
sha1sum $PWD/sources/vcrun$VC2003VER.zip > $PWD/sources/vcrun$VC2003VER.zip.sha1sum
7z x $PWD/sources/vcrun$VC2003VER.zip -o$OUT/vc71/x86
fi
for i in $OUT/vc71/x86/*; do mv $i `echo $i | tr [:upper:] [:lower:]`; done
if [ -e $PWD/sources/vcrun$VC2003VER-KB918007.exe.sha1sum ]
then
SHA1SUM=`cat $PWD/sources/vcrun$VC2003VER-KB918007.exe.sha1sum | cut -d " " -f1`
CHECKSUM=`sha1sum $PWD/sources/vcrun$VC2003VER-KB918007.exe | cut -d " " -f1`
if [ "$CHECKSUM" = "$SHA1SUM" ]
then
cabextract -d $OUT/vc71/x86/cabsp $PWD/sources/vcrun$VC2003VER-KB918007.exe
fi
else
wget -O $PWD/sources/vcrun$VC2003VER-KB918007.exe http://download.microsoft.com/download/b/5/f/b5f05fd6-2509-4a88-b70c-e0b1d1312852/VS7.1sp1-KB918007-X86.exe
sha1sum $PWD/sources/vcrun$VC2003VER-KB918007.exe > $PWD/sources/vcrun$VC2003VER-KB918007.exe.sha1sum
cabextract -d $OUT/vc71/x86/cabsp $PWD/sources/vcrun$VC2003VER-KB918007.exe
fi
for i in $OUT/vc71/x86/cabsp/*; do mv $i `echo $i | tr [:upper:] [:lower:]`; done
for i in atl71 msvcr71 msvci71 mfc71 mfc71u mfc71deu mfc71esp mfc71fra mfc71ita mfc71chs mfc71cht mfc71jpn mfc71kor msvcp71
do
mv -vf $OUT/vc71/x86/cabsp/fl_${i}_dll_* $OUT/vc71/x86/${i}.dll
mv -vf $OUT/vc71/x86/cabsp/fl_${i}_dll__* $OUT/vc71/x86/${i}.dll
done
if [ -e $PWD/sources/vcrun$VC2003VER-KB927696.exe.sha1sum ]
then
SHA1SUM=`cat $PWD/sources/vcrun$VC2003VER-KB927696.sha1sum | cut -d " " -f1`
CHECKSUM=`sha1sum $PWD/sources/vcrun$VC2003VER-KB927696.exe | cut -d " " -f1`
if [ "$CHECKSUM" = "$SHA1SUM" ]
then
cabextract -d $OUT/vc71/x86/cab $PWD/sources/vcrun$VC2003VER-KB927696.exe
fi
else
wget -O $PWD/sources/vcrun$VC2003VER-KB927696.exe http://download.microsoft.com/download/f/0/5/f052914b-3a0f-4e90-b039-395005f77ef2/VS7.1sp1-KB927696-X86.exe
sha1sum $PWD/sources/vcrun$VC2003VER-KB927696.exe > $PWD/sources/vcrun$VC2003VER-KB927696.exe.sha1sum
cabextract -d $OUT/vc71/x86/cab $PWD/sources/vcrun$VC2003VER-KB927696.exe
fi
for i in $OUT/vc71/x86/cab/*; do mv $i `echo $i | tr [:upper:] [:lower:]`; done
for i in atl71 msvcr71 msvci71 mfc71 mfc71u mfc71deu mfc71esp mfc71fra mfc71ita mfc71chs mfc71cht mfc71jpn mfc71kor msvcp71
do
mv -vf $OUT/vc71/x86/cab/fl_${i}_dll_* $OUT/vc71/x86/${i}.dll
mv -vf $OUT/vc71/x86/cab/fl_${i}_dll__* $OUT/vc71/x86/${i}.dll
done
if [ -e $PWD/sources/Ricks-YumeYao_MicrosoftVC7891012RuntimeLibraries_Addon_$RICKRUN.7z.sha1sum ]
then
SHA1SUM=`cat $PWD/sources/Ricks-YumeYao_MicrosoftVC7891012RuntimeLibraries_Addon_$RICKRUN.7z.sha1sum | cut -d " " -f1`
CHECKSUM=`sha1sum $PWD/sources/Ricks-YumeYao_MicrosoftVC7891012RuntimeLibraries_Addon_$RICKRUN.7z | cut -d " " -f1`
if [ "$CHECKSUM" = "$SHA1SUM" ]
then
7z x $PWD/sources/Ricks-YumeYao_MicrosoftVC7891012RuntimeLibraries_Addon_$RICKRUN.7z -o$OUT/vc71/x86/rick
fi
else
wget -O $PWD/sources/Ricks-YumeYao_MicrosoftVC7891012RuntimeLibraries_Addon_$RICKRUN.7z http://brianspcrepair.com/ricktendo/Archive/Ricks-YumeYao_MicrosoftVC7891012RuntimeLibraries_Addon_$RICKRUN.7z
sha1sum $PWD/sources/Ricks-YumeYao_MicrosoftVC7891012RuntimeLibraries_Addon_$RICKRUN.7z > $PWD/sources/Ricks-YumeYao_MicrosoftVC7891012RuntimeLibraries_Addon_$RICKRUN.7z.sha1sum
7z x $PWD/sources/Ricks-YumeYao_MicrosoftVC7891012RuntimeLibraries_Addon_$RICKRUN.7z -o$OUT/vc71/x86/rick
fi
for i in $OUT/vc71/x86/rick/*; do mv $i `echo $i | tr [:upper:] [:lower:]`; done
for i in atl71 msvcr71 msvci71 mfc71 mfc71u mfc71deu mfc71esp mfc71fra mfc71ita mfc71chs mfc71cht mfc71jpn mfc71kor msvcp71
do
mv -vf $OUT/vc71/x86/rick/${i}.dll $OUT/vc71/x86/${i}.dll
done
mv -vf $OUT/vc71/x86/*.dll $PWD/binary/system32
# =============================================================================================
# AutoIt
# =============================================================================================
mkdir -p $OUT/autoit/x86/cab
echo "Downloading file"
if [ -e $PWD/sources/autoit-v$AUTOITVER.zip.sha1sum ]
then
SHA1SUM=`cat $PWD/sources/autoit-v$AUTOITVER.zip.sha1sum | cut -d " " -f1`
CHECKSUM=`sha1sum $PWD/sources/autoit-v$AUTOITVER.zip | cut -d " " -f1`
if [ "$CHECKSUM" = "$SHA1SUM" ]
then
7z x $PWD/sources/autoit-v$AUTOITVER.zip -o$OUT/autoit/x86/cab
fi
else
wget -O $PWD/sources/autoit-v$AUTOITVER.zip http://www.autoitscript.com/autoit3/files/beta/autoit/autoit-v$AUTOITVER.zip
sha1sum $PWD/sources/autoit-v$AUTOITVER.zip > $PWD/sources/autoit-v$AUTOITVER.zip.sha1sum
7z x $PWD/sources/autoit-v$AUTOITVER.zip -o$OUT/autoit/x86/cab
fi
for i in $OUT/autoit/x86/cab/install/AutoItX/*; do mv $i `echo $i | tr [:upper:] [:lower:]`; done
for i in autoitx3 autoitx3_x64
do
mv -vf $OUT/autoit/x86/cab/install/AutoItX/${i}.dll $OUT/autoit/x86/${i}.dll
done
mv -vf $OUT/autoit/x86/autoitx3.dll $PWD/binary/system32
mv -vf $OUT/autoit/x86/autoitx3_x64.dll $PWD/binary/system64
# =============================================================================================
# OpenSSL
# =============================================================================================
mkdir -p $OUT/openssl/x86
mkdir -p $OUT/openssl/x64
echo "Downloading file"
if [ -e $PWD/sources/Win32OpenSSL_Light-$OPENSSLVER.exe.sha1sum ]
then
SHA1SUM=`cat $PWD/sources/Win32OpenSSL_Light-$OPENSSLVER.exe.sha1sum | cut -d " " -f1`
CHECKSUM=`sha1sum $PWD/sources/Win32OpenSSL_Light-$OPENSSLVER.exe | cut -d " " -f1`
if [ "$CHECKSUM" = "$SHA1SUM" ]
then
$PWD/tools/innounp/innounp.exe -x -d"$(cygpath -pw "$OUT/openssl/x86")" "$(cygpath -pw "$PWD/sources/Win32OpenSSL_Light-$OPENSSLVER.exe")"
fi
else
wget -O $PWD/sources/Win32OpenSSL_Light-$OPENSSLVER.exe http://slproweb.com/download/Win32OpenSSL_Light-$OPENSSLVER.exe
sha1sum $PWD/sources/Win32OpenSSL_Light-$OPENSSLVER.exe > $PWD/sources/Win32OpenSSL_Light-$OPENSSLVER.exe.sha1sum
$PWD/tools/innounp/innounp.exe -x -d"$(cygpath -pw "$OUT/openssl/x86")" "$(cygpath -pw "$PWD/sources/Win32OpenSSL_Light-$OPENSSLVER.exe")"
fi
if [ -e $PWD/sources/Win64OpenSSL_Light-$OPENSSLVER.exe.sha1sum ]
then
SHA1SUM=`cat $PWD/sources/Win64OpenSSL_Light-$OPENSSLVER.exe.sha1sum | cut -d " " -f1`
CHECKSUM=`sha1sum $PWD/sources/Win64OpenSSL_Light-$OPENSSLVER.exe | cut -d " " -f1`
if [ "$CHECKSUM" = "$SHA1SUM" ]
then
$PWD/tools/innounp/innounp.exe -x -d"$(cygpath -pw "$OUT/openssl/x64")" "$(cygpath -pw "$PWD/sources/Win64OpenSSL_Light-$OPENSSLVER.exe")"
fi
else
wget -O $PWD/sources/Win64OpenSSL_Light-$OPENSSLVER.exe http://slproweb.com/download/Win32OpenSSL_Light-$OPENSSLVER.exe
sha1sum $PWD/sources/Win64OpenSSL_Light-$OPENSSLVER.exe > $PWD/sources/Win64OpenSSL_Light-$OPENSSLVER.exe.sha1sum
$PWD/tools/innounp/innounp.exe -x -d"$(cygpath -pw "$OUT/openssl/x64")" "$(cygpath -pw "$PWD/sources/Win64OpenSSL_Light-$OPENSSLVER.exe")"
fi
mv -vf $OUT/openssl/x86/\{app\}/*.dll $PWD/binary/system32
mv -vf $OUT/openssl/x64/\{app\}/*.dll $PWD/binary/system64
# =============================================================================================
# SDL 1
# =============================================================================================
mkdir -p $OUT/sdl1/x86
mkdir -p $OUT/sdl1/x64
echo "Downloading file"
if [ -e $PWD/sources/SDL-$SDL1VER-win32-x86.zip.sha1sum ]
then
SHA1SUM=`cat $PWD/sources/SDL-$SDL1VER-win32-x86.zip.sha1sum | cut -d " " -f1`
CHECKSUM=`sha1sum $PWD/sources/SDL-$SDL1VER-win32-x86.zip | cut -d " " -f1`
if [ "$CHECKSUM" = "$SHA1SUM" ]
then
7z x $PWD/sources/SDL-$SDL1VER-win32-x86.zip -o$OUT/sdl1/x86
fi
else
wget -O $PWD/sources/SDL-$SDL1VER-win32-x86.zip http://www.libsdl.org/release/SDL-$SDL1VER-win32.zip
sha1sum $PWD/sources/SDL-$SDL1VER-win32-x86.zip > $PWD/sources/SDL-$SDL1VER-win32-x86.zip.sha1sum
7z x $PWD/sources/SDL-$SDL1VER-win32-x86.zip -o$OUT/sdl1/x86
fi
if [ -e $PWD/sources/SDL-$SDL1VER-win32-x64.zip.sha1sum ]
then
SHA1SUM=`cat $PWD/sources/SDL-$SDL1VER-win32-x64.zip.sha1sum | cut -d " " -f1`
CHECKSUM=`sha1sum $PWD/sources/SDL-$SDL1VER-win32-x64.zip | cut -d " " -f1`
if [ "$CHECKSUM" = "$SHA1SUM" ]
then
7z x $PWD/sources/SDL-$SDL1VER-win32-x64.zip -o$OUT/sdl1/x64
fi
else
wget -O $PWD/sources/SDL-$SDL1VER-win32-x64.zip http://www.libsdl.org/release/SDL-$SDL1VER-win32-x64.zip
sha1sum $PWD/sources/SDL-$SDL1VER-win32-x64.zip > $PWD/sources/SDL-$SDL1VER-win32-x64.zip.sha1sum
7z x $PWD/sources/SDL-$SDL1VER-win32-x64.zip -o$OUT/sdl1/x64
fi
mv -vf $OUT/sdl1/x86/*.dll $PWD/binary/system32
mv -vf $OUT/sdl1/x64/*.dll $PWD/binary/system64
# =============================================================================================
# SDL 2
# =============================================================================================
mkdir -p $OUT/sdl2/x86
mkdir -p $OUT/sdl2/x64
echo "Downloading file"
if [ -e $PWD/sources/SDL2-$SDL2VER-win32-x86.zip.sha1sum ]
then
SHA1SUM=`cat $PWD/sources/SDL2-$SDL2VER-win32-x86.zip.sha1sum | cut -d " " -f1`
CHECKSUM=`sha1sum $PWD/sources/SDL2-$SDL2VER-win32-x86.zip | cut -d " " -f1`
if [ "$CHECKSUM" = "$SHA1SUM" ]
then
7z x $PWD/sources/SDL2-$SDL2VER-win32-x86.zip -o$OUT/sdl2/x86
fi
else
wget -O $PWD/sources/SDL2-$SDL2VER-win32-x86.zip http://www.libsdl.org/release/SDL2-$SDL2VER-win32-x86.zip
sha1sum $PWD/sources/SDL2-$SDL2VER-win32-x86.zip > $PWD/sources/SDL2-$SDL2VER-win32-x86.zip.sha1sum
7z x $PWD/sources/SDL2-$SDL2VER-win32-x86.zip -o$OUT/sdl2/x86
fi
if [ -e $PWD/sources/SDL2-$SDL2VER-win32-x64.zip.sha1sum ]
then
SHA1SUM=`cat $PWD/sources/SDL2-$SDL2VER-win32-x64.zip.sha1sum | cut -d " " -f1`
CHECKSUM=`sha1sum $PWD/sources/SDL2-$SDL2VER-win32-x64.zip | cut -d " " -f1`
if [ "$CHECKSUM" = "$SHA1SUM" ]
then
7z x $PWD/sources/SDL2-$SDL2VER-win32-x64.zip -o$OUT/sdl2/x64
fi
else
wget -O $PWD/sources/SDL2-$SDL2VER-win32-x64.zip http://www.libsdl.org/release/SDL2-$SDL2VER-win32-x64.zip
sha1sum $PWD/sources/SDL2-$SDL2VER-win32-x64.zip > $PWD/sources/SDL2-$SDL2VER-win32-x64.zip.sha1sum
7z x $PWD/sources/SDL2-$SDL2VER-win32-x64.zip -o$OUT/sdl2/x64
fi
mv -vf $OUT/sdl2/x86/*.dll $PWD/binary/system32
mv -vf $OUT/sdl2/x64/*.dll $PWD/binary/system64
# =============================================================================================
# Build the AIORuntimes.dll and exe
# =============================================================================================
rm $PWD/*.{o,rc,res}
sed -e "s/1.2.3.4/${VERSION}/g" -e "s/1, 2, 3, 4/${VERSION//./, }/g" $PWD/code/AIORuntimes.rc > $PWD/version.rc
windres -i $PWD/version.rc -O coff -o $PWD/version.res
gcc -mwindows -c -o $PWD/AIORuntimes_dll.o $PWD/code/AIORuntimes_dll.c
gcc -mwindows -shared $PWD/version.res $PWD/AIORuntimes_dll.o -o $PWD/AIORuntimes.dll
gcc -mwindows -o AIORuntimes $PWD/code/AIORuntimes_exe.c -L./ -lAIORuntimes
mv -vf $PWD/AIORuntimes.dll $PWD/binary/system32
mv -vf $PWD/AIORuntimes.exe $PWD/binary/program32
rm $PWD/*.{o,rc,res}
# =============================================================================================
# Build the MSI
# =============================================================================================
rm $PWD/*.aip
cp $PWD/code/go-runtime.aip $PWD/go-runtime.aip
OLDPATH=$PATH
export PATH=$ADVINSTPATH:$PATH
echo $PATH
echo "$(cygpath -pw "$PWD/go-runtime.aip")"
AdvancedInstaller.com /edit "$(cygpath -pw "$PWD/go-runtime.aip")" /SetVersion $VERSION
for i in $PWD/binary/system16/*
do
echo "$(cygpath -pw "$i")"
AdvancedInstaller.com /edit "$(cygpath -pw "$PWD/go-runtime.aip")" /AddFile System16Folder "$(cygpath -pw "$i")"
done
for i in $PWD/binary/system32/*
do
echo "$(cygpath -pw "$i")"
AdvancedInstaller.com /edit "$(cygpath -pw "$PWD/go-runtime.aip")" /AddFile SystemFolder "$(cygpath -pw "$i")"
done
for i in $PWD/binary/system64/*
do
echo "$(cygpath -pw "$i")"
AdvancedInstaller.com /edit "$(cygpath -pw "$PWD/go-runtime.aip")" /AddFile System64Folder "$(cygpath -pw "$i")"
done
for i in $PWD/binary/program32/*
do
echo "$(cygpath -pw "$i")"
AdvancedInstaller.com /edit "$(cygpath -pw "$PWD/go-runtime.aip")" /AddFile APPDIR "$(cygpath -pw "$i")"
done
echo "$(cygpath -pw "$PWD/release")"
AdvancedInstaller.com /edit "$(cygpath -pw "$PWD/go-runtime.aip")" /SetOutputLocation -buildname DefaultBuild -path "$(cygpath -pw "$PWD/release")"
AdvancedInstaller.com /rebuild "$(cygpath -pw "$PWD/go-runtime.aip")"
rm $PWD/*.aip
export PATH=$OLDPATH
# =============================================================================================
# Delete Temp Dirs
# =============================================================================================
rm -rf $OUT
# =============================================================================================
# Sync the releases
# =============================================================================================
rsync -avz -e ssh $PWD/release/en/* root@disconnected-by-peer.at:/home/ftp/AIO

31
code/AIORuntimes.rc Normal file
View File

@ -0,0 +1,31 @@
#include <windows.h>
// DLL version information.
VS_VERSION_INFO VERSIONINFO
FILEVERSION 1, 2, 3, 4
PRODUCTVERSION 1, 2, 3, 4
FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
FILEFLAGS 0
FILEOS VOS_NT_WINDOWS32
FILETYPE VFT_DLL
FILESUBTYPE VFT2_UNKNOWN
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "080904b0"
BEGIN
VALUE "CompanyName", "Disconnected By Peer"
VALUE "FileDescription", "Geos One General Runtimes."
VALUE "FileVersion", "1.2.3.4"
VALUE "InternalName", "aio"
VALUE "LegalCopyright", "Geos One 2013"
VALUE "OriginalFilename", "AIORuntimes.dll"
VALUE "ProductName", "Geos One AIO Runtimes"
VALUE "ProductVersion", "1.2.3.4"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x809, 1200
END
END

7
code/AIORuntimes_dll.c Normal file
View File

@ -0,0 +1,7 @@
#include <stdio.h>
int
hello()
{
printf ("Hello World!\n");
}

5
code/AIORuntimes_exe.c Normal file
View File

@ -0,0 +1,5 @@
int
main ()
{
hello ();
}

121
code/go-runtime.aip Executable file
View File

@ -0,0 +1,121 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<DOCUMENT Type="Advanced Installer" CreateVersion="10.3" version="10.3" Modules="simple" RootPath="." Language="de" Id="{0008F3D0-CB44-4CF6-BC0F-1F031F9F86DC}">
<COMPONENT cid="caphyon.advinst.msicomp.MsiPropsComponent">
<ROW Property="ALLUSERS" Value="1"/>
<ROW Property="ARPCOMMENTS" Value="This installer database contains the logic and data required to install [|ProductName]." ValueLocId="*"/>
<ROW Property="ARPURLINFOABOUT" Value="opsi.disconnected-by-peer.at"/>
<ROW Property="Manufacturer" Value="Disconnected By Peer"/>
<ROW Property="ProductCode" Value="1033:{1E3AEE89-81E7-46D3-B9AB-5E5E82FBE036} " Type="16"/>
<ROW Property="ProductLanguage" Value="1033"/>
<ROW Property="ProductName" Value="Geos One Allgemeine Runtimes"/>
<ROW Property="ProductVersion" Value="1.0.0" Type="32"/>
<ROW Property="SecureCustomProperties" Value="OLDPRODUCTS;AI_NEWERPRODUCTFOUND"/>
<ROW Property="UpgradeCode" Value="{78387AF4-6B5C-4092-B981-4DF4505FCFC5}"/>
<ROW Property="WindowsType9X" MultiBuildValue="DefaultBuild:Windows 9x/ME" ValueLocId="-"/>
<ROW Property="WindowsType9XDisplay" MultiBuildValue="DefaultBuild:Windows 9x/ME" ValueLocId="-"/>
<ROW Property="WindowsTypeNT" MultiBuildValue="DefaultBuild:Windows NT 4.0, Windows NT 4.0 Service Pack 1, Windows NT 4.0 Service Pack 2, Windows NT 4.0 Service Pack 3, Windows NT 4.0 Service Pack 4, Windows NT 4.0 Service Pack 5, Windows NT 4.0 Service Pack 6, Windows 2000, Windows 2000 Service Pack 1, Windows 2000 Service Pack 2, Windows 2000 Service Pack 3, Windows 2000 Service Pack 4" ValueLocId="-"/>
<ROW Property="WindowsTypeNTDisplay" MultiBuildValue="DefaultBuild:Windows NT 4.0, Windows 2000" ValueLocId="-"/>
</COMPONENT>
<COMPONENT cid="caphyon.advinst.msicomp.MsiDirsComponent">
<ROW Directory="APPDIR" Directory_Parent="TARGETDIR" DefaultDir="APPDIR:." IsPseudoRoot="1"/>
<ROW Directory="TARGETDIR" DefaultDir="SourceDir"/>
</COMPONENT>
<COMPONENT cid="caphyon.advinst.msicomp.MsiCompsComponent">
<ROW Component="ProductInformation" ComponentId="{45B915D1-3D88-420D-AF48-1AED20CA813C}" Directory_="APPDIR" Attributes="4" KeyPath="Version"/>
</COMPONENT>
<COMPONENT cid="caphyon.advinst.msicomp.MsiFeatsComponent">
<ROW Feature="MainFeature" Title="MainFeature" Description="Description" Display="1" Level="1" Directory_="APPDIR" Attributes="0" Components="ProductInformation"/>
<ATTRIBUTE name="CurrentFeature" value="MainFeature"/>
</COMPONENT>
<COMPONENT cid="caphyon.advinst.msicomp.BuildComponent">
<ROW BuildKey="DefaultBuild" BuildName="DefaultBuild" BuildOrder="1" BuildType="0" PackageFileName="Geos_One_General_Runtimes_Installer_[|ProductVersion]" Languages="en" InstallationType="4" UseLargeSchema="true"/>
<ATTRIBUTE name="CurrentBuild" value="DefaultBuild"/>
</COMPONENT>
<COMPONENT cid="caphyon.advinst.msicomp.DictionaryComponent">
<ROW Path="&lt;AI_DICTS&gt;ui.ail"/>
<ROW Path="&lt;AI_DICTS&gt;ui_en.ail"/>
<ROW Path="&lt;AI_DICTS&gt;ui_de.ail"/>
</COMPONENT>
<COMPONENT cid="caphyon.advinst.msicomp.FragmentComponent">
<ROW Fragment="CommonUI.aip" Path="&lt;AI_FRAGS&gt;CommonUI.aip"/>
<ROW Fragment="FolderDlg.aip" Path="&lt;AI_THEMES&gt;classic\fragments\FolderDlg.aip"/>
<ROW Fragment="MaintenanceTypeDlg.aip" Path="&lt;AI_THEMES&gt;classic\fragments\MaintenanceTypeDlg.aip"/>
<ROW Fragment="MaintenanceWelcomeDlg.aip" Path="&lt;AI_THEMES&gt;classic\fragments\MaintenanceWelcomeDlg.aip"/>
<ROW Fragment="SequenceDialogs.aip" Path="&lt;AI_THEMES&gt;classic\fragments\SequenceDialogs.aip"/>
<ROW Fragment="Sequences.aip" Path="&lt;AI_FRAGS&gt;Sequences.aip"/>
<ROW Fragment="StaticUIStrings.aip" Path="&lt;AI_FRAGS&gt;StaticUIStrings.aip"/>
<ROW Fragment="UI.aip" Path="&lt;AI_THEMES&gt;classic\fragments\UI.aip"/>
<ROW Fragment="Validation.aip" Path="&lt;AI_FRAGS&gt;Validation.aip"/>
<ROW Fragment="VerifyRemoveDlg.aip" Path="&lt;AI_THEMES&gt;classic\fragments\VerifyRemoveDlg.aip"/>
<ROW Fragment="VerifyRepairDlg.aip" Path="&lt;AI_THEMES&gt;classic\fragments\VerifyRepairDlg.aip"/>
<ROW Fragment="WelcomeDlg.aip" Path="&lt;AI_THEMES&gt;classic\fragments\WelcomeDlg.aip"/>
</COMPONENT>
<COMPONENT cid="caphyon.advinst.msicomp.MsiBinaryComponent">
<ROW Name="aicustact.dll" SourcePath="&lt;AI_CUSTACTS&gt;aicustact.dll"/>
</COMPONENT>
<COMPONENT cid="caphyon.advinst.msicomp.MsiControlComponent">
<ATTRIBUTE name="FixedSizeBitmaps" value="2"/>
</COMPONENT>
<COMPONENT cid="caphyon.advinst.msicomp.MsiControlEventComponent">
<ROW Dialog_="WelcomeDlg" Control_="Next" Event="NewDialog" Argument="FolderDlg" Condition="AI_INSTALL" Ordering="1"/>
<ROW Dialog_="FolderDlg" Control_="Next" Event="NewDialog" Argument="VerifyReadyDlg" Condition="AI_INSTALL" Ordering="201"/>
<ROW Dialog_="FolderDlg" Control_="Back" Event="NewDialog" Argument="WelcomeDlg" Condition="AI_INSTALL" Ordering="1"/>
<ROW Dialog_="MaintenanceWelcomeDlg" Control_="Next" Event="NewDialog" Argument="MaintenanceTypeDlg" Condition="AI_MAINT" Ordering="99"/>
<ROW Dialog_="VerifyReadyDlg" Control_="Install" Event="EndDialog" Argument="Return" Condition="AI_MAINT" Ordering="198"/>
<ROW Dialog_="VerifyReadyDlg" Control_="Back" Event="NewDialog" Argument="CustomizeDlg" Condition="AI_MAINT" Ordering="202"/>
<ROW Dialog_="VerifyReadyDlg" Control_="Install" Event="EndDialog" Argument="Return" Condition="AI_INSTALL" Ordering="197"/>
<ROW Dialog_="VerifyReadyDlg" Control_="Back" Event="NewDialog" Argument="FolderDlg" Condition="AI_INSTALL" Ordering="201"/>
<ROW Dialog_="CustomizeDlg" Control_="Next" Event="NewDialog" Argument="VerifyReadyDlg" Condition="AI_MAINT" Ordering="101"/>
<ROW Dialog_="CustomizeDlg" Control_="Back" Event="NewDialog" Argument="MaintenanceTypeDlg" Condition="AI_MAINT" Ordering="1"/>
<ROW Dialog_="MaintenanceTypeDlg" Control_="ChangeButton" Event="NewDialog" Argument="CustomizeDlg" Condition="AI_MAINT" Ordering="501"/>
<ROW Dialog_="MaintenanceTypeDlg" Control_="Back" Event="NewDialog" Argument="MaintenanceWelcomeDlg" Condition="AI_MAINT" Ordering="1"/>
<ROW Dialog_="MaintenanceTypeDlg" Control_="RemoveButton" Event="NewDialog" Argument="VerifyRemoveDlg" Condition="AI_MAINT AND InstallMode=&quot;Remove&quot;" Ordering="601"/>
<ROW Dialog_="VerifyRemoveDlg" Control_="Back" Event="NewDialog" Argument="MaintenanceTypeDlg" Condition="AI_MAINT AND InstallMode=&quot;Remove&quot;" Ordering="1"/>
<ROW Dialog_="MaintenanceTypeDlg" Control_="RepairButton" Event="NewDialog" Argument="VerifyRepairDlg" Condition="AI_MAINT AND InstallMode=&quot;Repair&quot;" Ordering="601"/>
<ROW Dialog_="VerifyRepairDlg" Control_="Back" Event="NewDialog" Argument="MaintenanceTypeDlg" Condition="AI_MAINT AND InstallMode=&quot;Repair&quot;" Ordering="1"/>
<ROW Dialog_="VerifyRepairDlg" Control_="Repair" Event="EndDialog" Argument="Return" Condition="AI_MAINT AND InstallMode=&quot;Repair&quot;" Ordering="399" Options="1"/>
<ROW Dialog_="VerifyRemoveDlg" Control_="Remove" Event="EndDialog" Argument="Return" Condition="AI_MAINT AND InstallMode=&quot;Remove&quot;" Ordering="299" Options="1"/>
<ROW Dialog_="PatchWelcomeDlg" Control_="Next" Event="NewDialog" Argument="VerifyReadyDlg" Condition="AI_PATCH" Ordering="201"/>
<ROW Dialog_="ResumeDlg" Control_="Install" Event="EndDialog" Argument="Return" Condition="AI_RESUME" Ordering="299"/>
<ROW Dialog_="VerifyReadyDlg" Control_="Install" Event="EndDialog" Argument="Return" Condition="AI_PATCH" Ordering="199"/>
<ROW Dialog_="VerifyReadyDlg" Control_="Back" Event="NewDialog" Argument="PatchWelcomeDlg" Condition="AI_PATCH" Ordering="203"/>
</COMPONENT>
<COMPONENT cid="caphyon.advinst.msicomp.MsiCustActComponent">
<ROW Action="AI_DOWNGRADE" Type="19" Target="4010"/>
<ROW Action="AI_InstallModeCheck" Type="1" Source="aicustact.dll" Target="UpdateInstallMode" WithoutSeq="true"/>
<ROW Action="AI_PREPARE_UPGRADE" Type="65" Source="aicustact.dll" Target="PrepareUpgrade"/>
<ROW Action="AI_ResolveKnownFolders" Type="1" Source="aicustact.dll" Target="AI_ResolveKnownFolders"/>
<ROW Action="AI_ResolveLocalizedCredentials" Type="1" Source="aicustact.dll" Target="GetLocalizedCredentials"/>
<ROW Action="AI_SHOW_LOG" Type="65" Source="aicustact.dll" Target="LaunchLogFile" WithoutSeq="true"/>
<ROW Action="AI_STORE_LOCATION" Type="51" Source="ARPINSTALLLOCATION" Target="[APPDIR]"/>
<ROW Action="SET_APPDIR" Type="307" Source="APPDIR" Target="[ProgramFilesFolder][Manufacturer]\[ProductName]"/>
<ROW Action="SET_SHORTCUTDIR" Type="307" Source="SHORTCUTDIR" Target="[ProgramMenuFolder][ProductName]"/>
<ROW Action="SET_TARGETDIR_TO_APPDIR" Type="51" Source="TARGETDIR" Target="[APPDIR]"/>
</COMPONENT>
<COMPONENT cid="caphyon.advinst.msicomp.MsiInstExSeqComponent">
<ROW Action="AI_STORE_LOCATION" Condition="(Not Installed) OR REINSTALL" Sequence="1501"/>
<ROW Action="AI_PREPARE_UPGRADE" Condition="AI_UPGRADE=&quot;No&quot; AND (Not Installed)" Sequence="1399"/>
<ROW Action="AI_ResolveKnownFolders" Sequence="52"/>
<ROW Action="AI_ResolveLocalizedCredentials" Sequence="51"/>
<ROW Action="AI_DOWNGRADE" Condition="AI_NEWERPRODUCTFOUND AND (UILevel &lt;&gt; 5)" Sequence="201"/>
</COMPONENT>
<COMPONENT cid="caphyon.advinst.msicomp.MsiInstallUISequenceComponent">
<ROW Action="AI_ResolveKnownFolders" Sequence="52"/>
<ROW Action="AI_ResolveLocalizedCredentials" Sequence="51"/>
</COMPONENT>
<COMPONENT cid="caphyon.advinst.msicomp.MsiLaunchConditionsComponent">
<ROW Condition="( Version9X OR VersionNT64 OR ( VersionNT AND ((VersionNT &lt;&gt; 400) OR ((VersionNT = 400) AND (ServicePackLevel &gt;= 1))) AND ((VersionNT &lt;&gt; 400) OR ((VersionNT = 400) AND (ServicePackLevel &lt;&gt; 1))) AND ((VersionNT &lt;&gt; 400) OR ((VersionNT = 400) AND (ServicePackLevel &lt;&gt; 2))) AND ((VersionNT &lt;&gt; 400) OR ((VersionNT = 400) AND (ServicePackLevel &lt;&gt; 3))) AND ((VersionNT &lt;&gt; 400) OR ((VersionNT = 400) AND (ServicePackLevel &lt;&gt; 4))) AND ((VersionNT &lt;&gt; 400) OR ((VersionNT = 400) AND (ServicePackLevel &lt;&gt; 5))) AND ((VersionNT &lt;&gt; 400) OR ((VersionNT = 400) AND (ServicePackLevel &lt;&gt; 6))) AND ((VersionNT &lt;&gt; 500) OR ((VersionNT = 500) AND (ServicePackLevel &gt;= 1))) AND ((VersionNT &lt;&gt; 500) OR ((VersionNT = 500) AND (ServicePackLevel &lt;&gt; 1))) AND ((VersionNT &lt;&gt; 500) OR ((VersionNT = 500) AND (ServicePackLevel &lt;&gt; 2))) AND ((VersionNT &lt;&gt; 500) OR ((VersionNT = 500) AND (ServicePackLevel &lt;&gt; 3))) AND ((VersionNT &lt;&gt; 500) OR ((VersionNT = 500) AND (ServicePackLevel &lt;&gt; 4))) ) )" Description="[ProductName] cannot be installed on the following Windows versions: [WindowsTypeNTDisplay]" DescriptionLocId="AI.LaunchCondition.NoSpecificNT" IsPredefined="true" Builds="DefaultBuild"/>
<ROW Condition="VersionNT" Description="[ProductName] cannot be installed on [WindowsType9XDisplay]" DescriptionLocId="AI.LaunchCondition.No9X" IsPredefined="true" Builds="DefaultBuild"/>
</COMPONENT>
<COMPONENT cid="caphyon.advinst.msicomp.MsiRegsComponent">
<ROW Registry="Path" Root="-1" Key="Software\[Manufacturer]\[ProductName]" Name="Path" Value="[APPDIR]" Component_="ProductInformation"/>
<ROW Registry="Version" Root="-1" Key="Software\[Manufacturer]\[ProductName]" Name="Version" Value="[ProductVersion]" Component_="ProductInformation"/>
</COMPONENT>
<COMPONENT cid="caphyon.advinst.msicomp.MsiThemeComponent">
<ATTRIBUTE name="UsedTheme" value="classic"/>
</COMPONENT>
<COMPONENT cid="caphyon.advinst.msicomp.MsiUpgradeComponent">
<ROW UpgradeCode="[|UpgradeCode]" VersionMax="[|ProductVersion]" Attributes="1025" ActionProperty="OLDPRODUCTS"/>
<ROW UpgradeCode="[|UpgradeCode]" VersionMin="[|ProductVersion]" Attributes="2" ActionProperty="AI_NEWERPRODUCTFOUND"/>
</COMPONENT>
</DOCUMENT>

41
rc.sh Executable file
View File

@ -0,0 +1,41 @@
#!/bin/sh
VERSION="1.1.0.0"
KELSRUN="8.6.2"
LEGACYRUN="1_0_0"
RICKRUN="2_2_2"
CYGVER="1.7.24-1"
ZLIBVER="128"
ZLIBWAPIVER="125"
VB1VER="100"
VB2VER="200"
VB3VER="300"
VB4VER="400"
VB5VER="50"
VB6VER="60sp6"
VC1VER="10"
VC2002VER="70sp1"
VC2003VER="71sp1"
AUTOITVER="3.3.9.19"
OPENSSLVER="1_0_1e"
SDL1VER="1.2.15"
SDL2VER="2.0.0"
ADVINSTPATH=/cygdrive/c/Programme/Caphyon/Advanced\ Installer\ 10.3/bin/x86/
# =============================================================================================
# Build the AIORuntimes.dll and exe
# =============================================================================================
rm $PWD/*.{o,rc,res}
sed -e "s/1.2.3.4/${VERSION}/g" -e "s/1, 2, 3, 4/${VERSION//./, }/g" $PWD/code/AIORuntimes.rc > $PWD/version.rc
windres -i $PWD/version.rc -O coff -o $PWD/version.res
gcc -mwindows -c -o $PWD/AIORuntimes_dll.o $PWD/code/AIORuntimes_dll.c
gcc -mwindows -shared $PWD/version.res $PWD/AIORuntimes_dll.o -o $PWD/AIORuntimes.dll
gcc -mwindows -o AIORuntimes $PWD/code/AIORuntimes_exe.c -L./ -lAIORuntimes
mv -vf $PWD/AIORuntimes.dll $PWD/binary/system32
mv -vf $PWD/AIORuntimes.exe $PWD/binary/program32
rm $PWD/*.{o,rc,res}

0
release/empty.txt Normal file
View File

View File

@ -0,0 +1 @@
b7c06be5efe0294982217fbe018fa3e5aeb7ca7d */home/mario.fetka/General_Runtimes_Installer/sources/Kels_Runtimes_addon_v8.6.2.7z

View File

@ -0,0 +1 @@
4e8763c53310c7cc4708fa51db7faf1417a589a4 */home/mario.fetka/General_Runtimes_Installer/sources/Ricks-YumeYao_MicrosoftVC7891012RuntimeLibraries_Addon_2_2_2.7z

View File

@ -0,0 +1 @@
6958e3c2ccc417f23af4eecef245c9437a0df5c2 */home/mario.fetka/General_Runtimes_Installer/sources/SDL-1.2.15-win32-x64.zip

View File

@ -0,0 +1 @@
84a5c93097bef703bc74ff5eb5c4943fda449629 */home/mario.fetka/General_Runtimes_Installer/sources/SDL-1.2.15-win32-x86.zip

View File

@ -0,0 +1 @@
2f6eeb12ce76626958e6fb1677be798458061b38 */home/mario.fetka/General_Runtimes_Installer/sources/SDL2-2.0.0-win32-x64.zip

View File

@ -0,0 +1 @@
75b5163be5142dcba1de5d5bedf12d4b8f3464f4 */home/mario.fetka/General_Runtimes_Installer/sources/SDL2-2.0.0-win32-x86.zip

Some files were not shown because too many files have changed in this diff Show More