msxml3 install function added

This commit is contained in:
victor 2020-02-12 12:42:26 +03:30
parent 527ecc2a3b
commit 2f07f9b2cf
1 changed files with 21 additions and 0 deletions

View File

@ -66,6 +66,9 @@ function main(){
install_vcrun2012
sleep 3
install_vcrun2013
sleep 3
install_msxml3
}
function setup_log(){
@ -88,6 +91,24 @@ function warning(){
setup_log "$@"
}
function install_msxml3(){
local filename="msxml3.tgz"
local filemd5="f5d2f91929f4201c134e33daf0e07fec"
local filelink="http://bit.ly/msxml3PS"
local filepath="$CACHE_PATH/$filename"
download_component $filepath $filemd5 $filelink $filename
mkdir "$RESOURCES_PATH/msxml3"
tar -xzf $filepath -C "$RESOURCES_PATH/msxml3"
echo "===============| msxml3 |===============" >> "$SCR_PATH/wine-error.log"
wine msiexec /i "$RESOURCES_PATH/msxml3/msxml3.msi" 2>> "$SCR_PATH/wine-error.log" || error "something went wrong during installing msxml3"
show_message "msxml3 installed..."
unset filename filemd5 filelink filepath
}
function install_vcrun2013(){
local filename="vcrun2013.tgz"
local filemd5="f0d4e9405c9fc39974d7a62629bfe605"