no need for unlocker

This commit is contained in:
Mario Fetka 2013-09-16 10:49:49 +02:00
parent c3305ad3ac
commit e8029f196b
1 changed files with 0 additions and 16 deletions

View File

@ -309,22 +309,6 @@ function create() {
echo "call %~dp0\%arch%\_Install.bat" >> $INST_DIR/CLIENT_DATA/Install/NET/3.5/_Install.bat
echo "" >> $INST_DIR/CLIENT_DATA/Install/NET/3.5/_Install.bat
# ==========================================================================================================
# Disable zlib1.dll warning General Runtimes
# ==========================================================================================================
# Unlocker loads a kernel driver to find out the locking programms and forces them to spawn to memeory so that the lock gets removed and the file can be deleted
# so we need to load the right unlocker for the arch x86 or x64
# move the Portbale Unlocker in Place
mv -v $INST_DIR/CLIENT_DATA/X86/Unlocker $INST_DIR/CLIENT_DATA/Install/Packages/BasicRuntimes/
echo "@echo off" >> $INST_DIR/CLIENT_DATA/Install/Packages/BasicRuntimes/CleanUp32.bat
echo "%~dp0\Unlocker\x86\Unlocker.exe %WINDIR%\System32\zlib1.dll /D /S" >> $INST_DIR/CLIENT_DATA/Install/Packages/BasicRuntimes/CleanUp32.bat
echo "" >> $INST_DIR/CLIENT_DATA/Install/Packages/BasicRuntimes/CleanUp32.bat
echo "@echo off" >> $INST_DIR/CLIENT_DATA/Install/Packages/BasicRuntimes/CleanUp64.bat
echo "%~dp0\Unlocker\x64\Unlocker.exe %WINDIR%\System32\zlib1.dll /D /S" >> $INST_DIR/CLIENT_DATA/Install/Packages/BasicRuntimes/CleanUp64.bat
echo "" >> $INST_DIR/CLIENT_DATA/Install/Packages/BasicRuntimes/CleanUp64.bat
sed 's/.*\t\t<cmd.*/\t\t<cmd path="CleanUp32.bat" name="Workaround update bugs x86" arch="x86" \/>\n\t\t<cmd path="CleanUp64.bat" name="Workaround update bugs x64" arch="x64" \/>\n&/' -i $INST_DIR/CLIENT_DATA/Install/Packages/BasicRuntimes/package.xml
# ==========================================================================================================
# Disable Java Update check
# ==========================================================================================================