update adboe air and workaround the basic runtimes update problem with zlib1.dll
This commit is contained in:
parent
09d4e89d45
commit
425d2db56a
@ -1 +1,2 @@
|
|||||||
AutoUpdateDisable=1
|
AutoUpdateDisable=1
|
||||||
|
|
||||||
|
1
air_3.8.0.1040_win.exe.sha1sum
Normal file
1
air_3.8.0.1040_win.exe.sha1sum
Normal file
@ -0,0 +1 @@
|
|||||||
|
0894068198eca1d54b7b72cae3a165c248132924 /home/mario/.opsi-dist-cache/sereby.aio-2.0.7.1/X86/air_3.8.0.1040_win.exe
|
@ -1 +0,0 @@
|
|||||||
4dc8f68b1217ec0267a10721fe790292d6170f61 /home/mario/.opsi-dist-cache/sereby.aio-2.0.7.1/X86/air_3.8.0.970_win.exe
|
|
@ -56,7 +56,7 @@ DL_WINST_NAME[7]=DotNet81Source
|
|||||||
# DL_ARCH[7]="X86"
|
# DL_ARCH[7]="X86"
|
||||||
# DL_WINST_NAME[7]=DotNet81Source
|
# DL_WINST_NAME[7]=DotNet81Source
|
||||||
|
|
||||||
AIRVERSION="3.8.0.970"
|
AIRVERSION="3.8.0.1040"
|
||||||
|
|
||||||
DL_FILE[8]="air_${AIRVERSION}_win.exe"
|
DL_FILE[8]="air_${AIRVERSION}_win.exe"
|
||||||
DL_SOURCE[8]="http://labsdownload.adobe.com/pub/labs/flashruntimes/air/air3-8_win.exe"
|
DL_SOURCE[8]="http://labsdownload.adobe.com/pub/labs/flashruntimes/air/air3-8_win.exe"
|
||||||
|
@ -116,6 +116,12 @@ function create() {
|
|||||||
# sed force update on flash
|
# sed force update on flash
|
||||||
sed -e "s!-install!-force -install!" -i $INST_DIR/CLIENT_DATA/Install/Packages/Flash/package.xml
|
sed -e "s!-install!-force -install!" -i $INST_DIR/CLIENT_DATA/Install/Packages/Flash/package.xml
|
||||||
|
|
||||||
|
# Workaround the update bug of the sereby Basic Runtimes
|
||||||
|
echo "@echo off" >> $INST_DIR/CLIENT_DATA/Install/Packages/BasicRuntimes/CleanUp.bat
|
||||||
|
echo "del /f /q %WINDIR%\System32\zlib1.dll" >> $INST_DIR/CLIENT_DATA/Install/Packages/BasicRuntimes/CleanUp.bat
|
||||||
|
echo "" >> $INST_DIR/CLIENT_DATA/Install/Packages/BasicRuntimes/CleanUp.bat
|
||||||
|
sed 's/.*\t\t<cmd.*/\t\t<cmd path="CleanUp.bat" name="Workaround the update bug" >\n&/' -i $INST_DIR/CLIENT_DATA/Install/Packages/BasicRuntimes/package.xml
|
||||||
|
|
||||||
# Move Adobe Air and sereby config in place
|
# Move Adobe Air and sereby config in place
|
||||||
mv -v $INST_DIR/CLIENT_DATA/X86/air_${AIRVERSION}_win.exe $INST_DIR/CLIENT_DATA/Install/Packages/Air/air3-8_win.exe
|
mv -v $INST_DIR/CLIENT_DATA/X86/air_${AIRVERSION}_win.exe $INST_DIR/CLIENT_DATA/Install/Packages/Air/air3-8_win.exe
|
||||||
mv -v $INST_DIR/CLIENT_DATA/AdobeAIR_package.xml $INST_DIR/CLIENT_DATA/Install/Packages/Air/package.xml
|
mv -v $INST_DIR/CLIENT_DATA/AdobeAIR_package.xml $INST_DIR/CLIENT_DATA/Install/Packages/Air/package.xml
|
||||||
@ -190,8 +196,9 @@ function create() {
|
|||||||
# move the opsi wrapper to the right dir (close the error window if nothing needs to be done)
|
# move the opsi wrapper to the right dir (close the error window if nothing needs to be done)
|
||||||
mv -v $INST_DIR/CLIENT_DATA/opsi-WinPKG.exe $INST_DIR/CLIENT_DATA/Install/
|
mv -v $INST_DIR/CLIENT_DATA/opsi-WinPKG.exe $INST_DIR/CLIENT_DATA/Install/
|
||||||
|
|
||||||
# change linefeed of bat files to work correctly
|
# change linefeed of bat & xml files to work correctly
|
||||||
find $INST_DIR/CLIENT_DATA -name *.bat -print0 | xargs -0 unix2dos
|
find $INST_DIR/CLIENT_DATA -name *.bat -print0 | xargs -0 unix2dos
|
||||||
|
find $INST_DIR/CLIENT_DATA -name package.xml -print0 | xargs -0 unix2dos
|
||||||
|
|
||||||
# set exec bit on executeables
|
# set exec bit on executeables
|
||||||
find $INST_DIR/CLIENT_DATA/Install/ -type f -print0 | xargs -0 chmod +x
|
find $INST_DIR/CLIENT_DATA/Install/ -type f -print0 | xargs -0 chmod +x
|
||||||
|
Loading…
Reference in New Issue
Block a user