Use Settings.ini for this
Code:
[Batch]
Enable=1
BatchFile=Patch.bat
Setup\Patch.bat
Code:
@echo off
setlocal EnableDelayedExpansion EnableExtensions
"WemTool.exe" -d
endlocal
del "%~f0"
WemTool.exe has to be in game root folder. Patch.bat will be executed from there. Cmd will be executed on the end when all files are extracted.