w_warn "Cannot find 7z. Using Windows 7-Zip instead. (You can avoid this by installing 7z, e.g. 'sudo apt-get install p7zip-full' or 'sudo yum install p7zip-plugins')."
w_warn "Cannot find 7z. Using Windows 7-Zip instead. (You can avoid this by installing 7z, e.g. 'sudo apt install 7zip' or 'sudo yum install p7zip-plugins')."
WINETRICKS_OPT_SHAREDPREFIX=1 w_call 7zip
# w_call above will wipe $W_TMP; if that's the CWD, things will break. So forcefully reset the directory:
w_try_cd "${PWD}"
# errors out if there is a space between -o and path
w_try "${WINE}""${W_PROGRAMS_X86_WIN}\\7-Zip\\7z.exe" x "$(w_pathconv -w"${filename}")"-o"$(w_pathconv -w"${destdir}")""$@"
w_try "${WINE}""${W_PROGRAMS_X86_WIN}\\7-Zip\\7z.exe" x "$(w_pathconv -w"${filename}")"-y-o"$(w_pathconv -w"${destdir}")""$@"
fi
}
...
...
@@ -718,7 +718,7 @@ w_try_ar()
if[-z"${WINETRICKS_FORCE_WIN_7Z}"]&&[-x"$(command-v ar 2>/dev/null)"];then
w_try ar x "$@"
else
w_warn "Cannot find ar. Using Windows 7-zip instead. (You can avoid this by installing binutils, e.g. 'sudo apt-get install binutils' or 'sudo yum install binutils')."
w_warn "Cannot find ar. Using Windows 7-zip instead. (You can avoid this by installing binutils, e.g. 'sudo apt install binutils' or 'sudo yum install binutils')."
WINETRICKS_OPT_SHAREDPREFIX=1 w_call 7zip
# w_call above will wipe $W_TMP; if that's the CWD, things will break. So forcefully reset the directory:
...
...
@@ -734,7 +734,7 @@ w_try_cabextract()
{
# Not always installed, but shouldn't be fatal unless it's being used
if test!-x"$(command-v cabextract 2>/dev/null)";then
w_die "Cannot find cabextract. Please install it (e.g. 'sudo apt-get install cabextract' or 'sudo yum install cabextract')."
w_die "Cannot find cabextract. Please install it (e.g. 'sudo apt install cabextract' or 'sudo yum install cabextract')."
w_warn "Cannot find unrar. Using Windows 7-Zip instead. (You can avoid this by installing unrar, e.g. 'sudo apt-get install unrar' or 'sudo yum install unrar')."
w_warn "Cannot find unrar. Using Windows 7-Zip instead. (You can avoid this by installing unrar, e.g. 'sudo apt install unrar-free' or 'sudo yum install unrar')."
WINETRICKS_OPT_SHAREDPREFIX=1 w_call 7zip
# w_call above will wipe $W_TMP; if that's the CWD, things will break. So forcefully reset the directory:
...
...
@@ -931,7 +931,7 @@ w_try_unzip()
1|*) w_warn "Unzip failed, trying Windows 7-Zip instead.";;
esac
else
w_warn "Cannot find unzip. Using Windows 7-Zip instead. (You can avoid this by installing unzip, e.g. 'sudo apt-get install unzip' or 'sudo yum install unzip')."
w_warn "Cannot find unzip. Using Windows 7-Zip instead. (You can avoid this by installing unzip, e.g. 'sudo apt install unzip' or 'sudo yum install unzip')."
for i in browseui.dll shdocvw.dll shell32.dll urlmon.dll;do
w_try_regsvr64 /i ${i}> /dev/null 2>&1
done
fi
if w_workaround_wine_bug 25648 "Setting TabProcGrowth=0 to avoid hang";then
cat>"${W_TMP}"/set-tabprocgrowth.reg <<_EOF_
REGEDIT4
...
...
@@ -15957,7 +16217,7 @@ _EOF_
if["${W_ARCH}"="win32"];then
w_warn "To start ie8, from a terminal shell, use the command \"${WINE}\" '${W_PROGRAMS_WIN}\\\\Internet Explorer\\\\iexplore.exe'"
else
w_warn "To start ie8 (32-bit), from a terminal shell, use the command \"${WINE}\" '${W_PROGRAMS_X86_WIN}\\\\Internet Explorer\\\\iexplore.exe'\nTo start ie8 (64-bit), from a terminal shell, use the command \"${WINE}\" '${W_PROGRAMS_WIN}\\\\Internet Explorer\\\\iexplore.exe'"
w_warn "To start ie8 (32-bit), from a terminal shell, use the command \"${WINE}\" '${W_PROGRAMS_X86_WIN}\\\\Internet Explorer\\\\iexplore.exe'\nTo start ie8 (64-bit), from a terminal shell, use the command \"${WINE64}\" '${W_PROGRAMS_WIN}\\\\Internet Explorer\\\\iexplore.exe'"