|
|
@@ -6,7 +6,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
# Name of this version of winetricks (YYYYMMDD)
|
|
|
|
# Name of this version of winetricks (YYYYMMDD)
|
|
|
|
# (This doesn't change often, use the sha1sum of the file when reporting problems)
|
|
|
|
# (This doesn't change often, use the sha1sum of the file when reporting problems)
|
|
|
|
WINETRICKS_VERSION=20170101
|
|
|
|
WINETRICKS_VERSION=20170207
|
|
|
|
|
|
|
|
|
|
|
|
# This is a UTF-8 file
|
|
|
|
# This is a UTF-8 file
|
|
|
|
# You should see an o with two dots over it here [ö]
|
|
|
|
# You should see an o with two dots over it here [ö]
|
|
|
@@ -26,7 +26,7 @@ WINETRICKS_VERSION=20170101
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# Uses the following non-POSIX system tools:
|
|
|
|
# Uses the following non-POSIX system tools:
|
|
|
|
# - wine is used to execute Win32 apps except on Cygwin.
|
|
|
|
# - wine is used to execute Win32 apps except on Cygwin.
|
|
|
|
# - cabextract, unrar, unzip, and 7z are needed by some verbs.
|
|
|
|
# - ar, cabextract, unrar, unzip, and 7z are needed by some verbs.
|
|
|
|
# - aria2c, wget, or curl is needed for downloading.
|
|
|
|
# - aria2c, wget, or curl is needed for downloading.
|
|
|
|
# - sha1sum or openssl is needed for verifying downloads.
|
|
|
|
# - sha1sum or openssl is needed for verifying downloads.
|
|
|
|
# - zenity is needed by the GUI, though it can limp along somewhat with kdialog.
|
|
|
|
# - zenity is needed by the GUI, though it can limp along somewhat with kdialog.
|
|
|
@@ -37,14 +37,14 @@ WINETRICKS_VERSION=20170101
|
|
|
|
# On Ubuntu, the following lines can be used to install all the prerequisites:
|
|
|
|
# On Ubuntu, the following lines can be used to install all the prerequisites:
|
|
|
|
# sudo add-apt-repository ppa:ubuntu-wine/ppa
|
|
|
|
# sudo add-apt-repository ppa:ubuntu-wine/ppa
|
|
|
|
# sudo apt-get update
|
|
|
|
# sudo apt-get update
|
|
|
|
# sudo apt-get install cabextract p7zip unrar unzip wget wine1.7 zenity
|
|
|
|
# sudo apt-get install binutils cabextract p7zip unrar unzip wget wine zenity
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# See http://winetricks.org for documentation and tutorials, including
|
|
|
|
# See http://winetricks.org for documentation and tutorials, including
|
|
|
|
# how to contribute changes to winetricks.
|
|
|
|
# how to contribute changes to winetricks.
|
|
|
|
#
|
|
|
|
#
|
|
|
|
#--------------------------------------------------------------------
|
|
|
|
#--------------------------------------------------------------------
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# Copyright
|
|
|
|
# Copyright:
|
|
|
|
# Copyright (C) 2007-2014 Dan Kegel <dank!kegel.com>
|
|
|
|
# Copyright (C) 2007-2014 Dan Kegel <dank!kegel.com>
|
|
|
|
# Copyright (C) 2008-2016 Austin English <austinenglish!gmail.com>
|
|
|
|
# Copyright (C) 2008-2016 Austin English <austinenglish!gmail.com>
|
|
|
|
# Copyright (C) 2010-2011 Phil Blankenship <phillip.e.blankenship!gmail.com>
|
|
|
|
# Copyright (C) 2010-2011 Phil Blankenship <phillip.e.blankenship!gmail.com>
|
|
|
@@ -68,18 +68,21 @@ WINETRICKS_VERSION=20170101
|
|
|
|
# Copyright (C) 2013-2015 Hillwood Yang <hillwood!opensuse.org>
|
|
|
|
# Copyright (C) 2013-2015 Hillwood Yang <hillwood!opensuse.org>
|
|
|
|
# Copyright (C) 2013,2016 André Hentschel <nerv!dawncrow.de>
|
|
|
|
# Copyright (C) 2013,2016 André Hentschel <nerv!dawncrow.de>
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# License
|
|
|
|
# License:
|
|
|
|
# This program is free software; you can redistribute it and/or
|
|
|
|
# This program is free software; you can redistribute it and/or
|
|
|
|
# modify it under the terms of the GNU Lesser General Public
|
|
|
|
# modify it under the terms of the GNU Lesser General Public
|
|
|
|
# License as published by the Free Software Foundation; either
|
|
|
|
# License as published by the Free Software Foundation; either
|
|
|
|
# version 2 of the License, or (at your option) any later
|
|
|
|
# version 2.1 of the License, or (at your option) any later
|
|
|
|
# version.
|
|
|
|
# version.
|
|
|
|
|
|
|
|
#
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU Lesser General Public License for more details.
|
|
|
|
# GNU Lesser General Public License for more details.
|
|
|
|
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU Lesser General Public
|
|
|
|
# You should have received a copy of the GNU Lesser General Public
|
|
|
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
# License along with this program. If not, see
|
|
|
|
|
|
|
|
# <http://www.gnu.org/licenses/>.
|
|
|
|
#
|
|
|
|
#
|
|
|
|
#--------------------------------------------------------------------
|
|
|
|
#--------------------------------------------------------------------
|
|
|
|
# Coding standards:
|
|
|
|
# Coding standards:
|
|
|
@@ -287,6 +290,16 @@ w_killall()
|
|
|
|
kill -s KILL $(pgrep $1)
|
|
|
|
kill -s KILL $(pgrep $1)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Some packages don't support win64, die with an appropriate message
|
|
|
|
|
|
|
|
# Note: this is for packages that natively don't support win64, not packages that are broken on wine64
|
|
|
|
|
|
|
|
w_package_unsupported_win64()
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
if [ "$W_ARCH" = "win64" ]
|
|
|
|
|
|
|
|
then
|
|
|
|
|
|
|
|
w_die "This package does not work on a 64-bit installation. You must use a prefix made with WINEARCH=win32."
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
# Execute with error checking
|
|
|
|
# Execute with error checking
|
|
|
|
# Put this in front of any command that might fail
|
|
|
|
# Put this in front of any command that might fail
|
|
|
|
w_try()
|
|
|
|
w_try()
|
|
|
@@ -1196,7 +1209,7 @@ sub disable_notifications{
|
|
|
|
|
|
|
|
|
|
|
|
# Read the file
|
|
|
|
# Read the file
|
|
|
|
my(%top);
|
|
|
|
my(%top);
|
|
|
|
open FILE, $ARGV[0] || w_die "can't open ".$ARGV[0];
|
|
|
|
open FILE, $ARGV[0] || w_die "cannot open ".$ARGV[0];
|
|
|
|
my($line);
|
|
|
|
my($line);
|
|
|
|
$line = <FILE> || w_die "Could not read first line from ".$ARGV[0];
|
|
|
|
$line = <FILE> || w_die "Could not read first line from ".$ARGV[0];
|
|
|
|
$line =~ /"UserLocalConfigStore"/ || w_die "this is not a localconfig.vdf file";
|
|
|
|
$line =~ /"UserLocalConfigStore"/ || w_die "this is not a localconfig.vdf file";
|
|
|
@@ -2115,6 +2128,9 @@ REGEDIT4
|
|
|
|
|
|
|
|
|
|
|
|
_EOF_
|
|
|
|
_EOF_
|
|
|
|
w_try_regedit "$W_TMP_WIN"\\set-winver.reg
|
|
|
|
w_try_regedit "$W_TMP_WIN"\\set-winver.reg
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Prevent a race when calling from another verb
|
|
|
|
|
|
|
|
"$WINESERVER" -w
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
w_unset_winver()
|
|
|
|
w_unset_winver()
|
|
|
@@ -2656,7 +2672,7 @@ winetricks_dl_url_to_stdout()
|
|
|
|
stdout_tmpfile="${W_TMP_EARLY}/stdout.tmp"
|
|
|
|
stdout_tmpfile="${W_TMP_EARLY}/stdout.tmp"
|
|
|
|
|
|
|
|
|
|
|
|
if [ -e "${stdout_tmpfile}" ] ; then
|
|
|
|
if [ -e "${stdout_tmpfile}" ] ; then
|
|
|
|
w_try rm "${stdout_tmpfile}"
|
|
|
|
rm "${stdout_tmpfile}"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
$torify aria2c \
|
|
|
|
$torify aria2c \
|
|
|
|
$aria2c_torify_opts \
|
|
|
|
$aria2c_torify_opts \
|
|
|
@@ -2672,8 +2688,8 @@ winetricks_dl_url_to_stdout()
|
|
|
|
--connect-timeout="${WINETRICKS_DOWNLOADER_TIMEOUT}" \
|
|
|
|
--connect-timeout="${WINETRICKS_DOWNLOADER_TIMEOUT}" \
|
|
|
|
--max-tries="$WINETRICKS_DOWNLOADER_RETRIES" \
|
|
|
|
--max-tries="$WINETRICKS_DOWNLOADER_RETRIES" \
|
|
|
|
"$1" > /dev/null
|
|
|
|
"$1" > /dev/null
|
|
|
|
w_try cat "${stdout_tmpfile}"
|
|
|
|
cat "${stdout_tmpfile}"
|
|
|
|
w_try rm "${stdout_tmpfile}"
|
|
|
|
rm "${stdout_tmpfile}"
|
|
|
|
else
|
|
|
|
else
|
|
|
|
w_die "Please install aria2c, curl, or wget"
|
|
|
|
w_die "Please install aria2c, curl, or wget"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
@@ -4629,6 +4645,7 @@ winetricks_init()
|
|
|
|
W_ISO_MOUNT_LETTER=i
|
|
|
|
W_ISO_MOUNT_LETTER=i
|
|
|
|
|
|
|
|
|
|
|
|
WINETRICKS_WINE_VERSION=$(winetricks_early_wine --version | sed 's/.*wine/wine/')
|
|
|
|
WINETRICKS_WINE_VERSION=$(winetricks_early_wine --version | sed 's/.*wine/wine/')
|
|
|
|
|
|
|
|
WINETRICKS_ORIG_WINE_VERSION="${WINETRICKS_WINE_VERSION}"
|
|
|
|
# See also w_wine_version()
|
|
|
|
# See also w_wine_version()
|
|
|
|
# A small hack...
|
|
|
|
# A small hack...
|
|
|
|
case "$WINETRICKS_WINE_VERSION" in
|
|
|
|
case "$WINETRICKS_WINE_VERSION" in
|
|
|
@@ -4647,7 +4664,7 @@ winetricks_init()
|
|
|
|
WINETRICKS_WINE_MICRO=$(echo $WINETRICKS_WINE_VERSION | sed 's/wine-1.[0-9][0-9]*\.\([0-9]*\).*/\1/')
|
|
|
|
WINETRICKS_WINE_MICRO=$(echo $WINETRICKS_WINE_VERSION | sed 's/wine-1.[0-9][0-9]*\.\([0-9]*\).*/\1/')
|
|
|
|
|
|
|
|
|
|
|
|
if [ ! "$WINETRICKS_SUPER_QUIET" ] ; then
|
|
|
|
if [ ! "$WINETRICKS_SUPER_QUIET" ] ; then
|
|
|
|
echo "Using winetricks $(winetricks_print_version) with ${WINETRICKS_WINE_VERSION} and WINEARCH=${W_ARCH}"
|
|
|
|
echo "Using winetricks $(winetricks_print_version) with ${WINETRICKS_ORIG_WINE_VERSION} and WINEARCH=${W_ARCH}"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
winetricks_latest_version_check
|
|
|
|
winetricks_latest_version_check
|
|
|
@@ -5891,10 +5908,7 @@ w_metadata dotnet11 dlls \
|
|
|
|
|
|
|
|
|
|
|
|
load_dotnet11()
|
|
|
|
load_dotnet11()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if [ $W_ARCH = win64 ]
|
|
|
|
w_package_unsupported_win64
|
|
|
|
then
|
|
|
|
|
|
|
|
w_die "This package does not work on a 64-bit installation"
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# http://www.microsoft.com/downloads/details.aspx?FamilyId=262D25E3-F589-4842-8157-034D1E7CF3A3
|
|
|
|
# http://www.microsoft.com/downloads/details.aspx?FamilyId=262D25E3-F589-4842-8157-034D1E7CF3A3
|
|
|
|
w_download http://download.microsoft.com/download/a/a/c/aac39226-8825-44ce-90e3-bf8203e74006/dotnetfx.exe 16a354a2207c4c8846b617cbc78f7b7c1856340e
|
|
|
|
w_download http://download.microsoft.com/download/a/a/c/aac39226-8825-44ce-90e3-bf8203e74006/dotnetfx.exe 16a354a2207c4c8846b617cbc78f7b7c1856340e
|
|
|
@@ -5951,6 +5965,8 @@ w_metadata dotnet11sp1 dlls \
|
|
|
|
|
|
|
|
|
|
|
|
load_dotnet11sp1()
|
|
|
|
load_dotnet11sp1()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
w_package_unsupported_win64
|
|
|
|
|
|
|
|
|
|
|
|
w_download http://download.microsoft.com/download/8/b/4/8b4addd8-e957-4dea-bdb8-c4e00af5b94b/NDP1.1sp1-KB867460-X86.exe 74a5b25d65a70b8ecd6a9c301a0aea10d8483a23
|
|
|
|
w_download http://download.microsoft.com/download/8/b/4/8b4addd8-e957-4dea-bdb8-c4e00af5b94b/NDP1.1sp1-KB867460-X86.exe 74a5b25d65a70b8ecd6a9c301a0aea10d8483a23
|
|
|
|
|
|
|
|
|
|
|
|
w_call remove_mono
|
|
|
|
w_call remove_mono
|
|
|
@@ -6005,6 +6021,8 @@ w_metadata dotnet20 dlls \
|
|
|
|
|
|
|
|
|
|
|
|
load_dotnet20()
|
|
|
|
load_dotnet20()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
w_package_unsupported_win64
|
|
|
|
|
|
|
|
|
|
|
|
# http://www.microsoft.com/downloads/details.aspx?FamilyID=0856eacb-4362-4b0d-8edd-aab15c5e04f5
|
|
|
|
# http://www.microsoft.com/downloads/details.aspx?FamilyID=0856eacb-4362-4b0d-8edd-aab15c5e04f5
|
|
|
|
w_download http://download.lenovo.com/ibmdl/pub/pc/pccbbs/thinkvantage_en/dotnetfx.exe a3625c59d7a2995fb60877b5f5324892a1693b2a
|
|
|
|
w_download http://download.lenovo.com/ibmdl/pub/pc/pccbbs/thinkvantage_en/dotnetfx.exe a3625c59d7a2995fb60877b5f5324892a1693b2a
|
|
|
|
|
|
|
|
|
|
|
@@ -6048,6 +6066,8 @@ w_metadata dotnet20sdk dlls \
|
|
|
|
|
|
|
|
|
|
|
|
load_dotnet20sdk()
|
|
|
|
load_dotnet20sdk()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
w_package_unsupported_win64
|
|
|
|
|
|
|
|
|
|
|
|
# http://www.microsoft.com/en-us/download/details.aspx?id=19988
|
|
|
|
# http://www.microsoft.com/en-us/download/details.aspx?id=19988
|
|
|
|
w_download http://download.microsoft.com/download/c/4/b/c4b15d7d-6f37-4d5a-b9c6-8f07e7d46635/setup.exe 4e4b1072b5e65e855358e2028403f2dc52a62ab4
|
|
|
|
w_download http://download.microsoft.com/download/c/4/b/c4b15d7d-6f37-4d5a-b9c6-8f07e7d46635/setup.exe 4e4b1072b5e65e855358e2028403f2dc52a62ab4
|
|
|
|
|
|
|
|
|
|
|
@@ -6117,6 +6137,8 @@ w_metadata dotnet20sp1 dlls \
|
|
|
|
|
|
|
|
|
|
|
|
load_dotnet20sp1()
|
|
|
|
load_dotnet20sp1()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
w_package_unsupported_win64
|
|
|
|
|
|
|
|
|
|
|
|
# FIXME: URL?
|
|
|
|
# FIXME: URL?
|
|
|
|
w_download http://download.microsoft.com/download/0/8/c/08c19fa4-4c4f-4ffb-9d6c-150906578c9e/NetFx20SP1_x86.exe eef5a36924cdf0c02598ccf96aa4f60887a49840
|
|
|
|
w_download http://download.microsoft.com/download/0/8/c/08c19fa4-4c4f-4ffb-9d6c-150906578c9e/NetFx20SP1_x86.exe eef5a36924cdf0c02598ccf96aa4f60887a49840
|
|
|
|
|
|
|
|
|
|
|
@@ -6181,6 +6203,8 @@ w_metadata dotnet20sp2 dlls \
|
|
|
|
|
|
|
|
|
|
|
|
load_dotnet20sp2()
|
|
|
|
load_dotnet20sp2()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
w_package_unsupported_win64
|
|
|
|
|
|
|
|
|
|
|
|
# http://www.microsoft.com/downloads/details.aspx?familyid=5B2C0358-915B-4EB5-9B1D-10E506DA9D0F
|
|
|
|
# http://www.microsoft.com/downloads/details.aspx?familyid=5B2C0358-915B-4EB5-9B1D-10E506DA9D0F
|
|
|
|
w_download http://download.microsoft.com/download/c/6/e/c6e88215-0178-4c6c-b5f3-158ff77b1f38/NetFx20SP2_x86.exe 22d776d4d204863105a5db99e8b8888be23c61a7
|
|
|
|
w_download http://download.microsoft.com/download/c/6/e/c6e88215-0178-4c6c-b5f3-158ff77b1f38/NetFx20SP2_x86.exe 22d776d4d204863105a5db99e8b8888be23c61a7
|
|
|
|
|
|
|
|
|
|
|
@@ -6242,6 +6266,8 @@ w_metadata dotnet30 dlls \
|
|
|
|
|
|
|
|
|
|
|
|
load_dotnet30()
|
|
|
|
load_dotnet30()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
w_package_unsupported_win64
|
|
|
|
|
|
|
|
|
|
|
|
# http://msdn.microsoft.com/en-us/netframework/bb264589.aspx
|
|
|
|
# http://msdn.microsoft.com/en-us/netframework/bb264589.aspx
|
|
|
|
w_download http://download.microsoft.com/download/3/F/0/3F0A922C-F239-4B9B-9CB0-DF53621C57D9/dotnetfx3.exe f3d2c3c7e4c0c35450cf6dab1f9f2e9e7ff50039
|
|
|
|
w_download http://download.microsoft.com/download/3/F/0/3F0A922C-F239-4B9B-9CB0-DF53621C57D9/dotnetfx3.exe f3d2c3c7e4c0c35450cf6dab1f9f2e9e7ff50039
|
|
|
|
|
|
|
|
|
|
|
@@ -6310,6 +6336,8 @@ w_metadata dotnet30sp1 dlls \
|
|
|
|
|
|
|
|
|
|
|
|
load_dotnet30sp1()
|
|
|
|
load_dotnet30sp1()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
w_package_unsupported_win64
|
|
|
|
|
|
|
|
|
|
|
|
# FIXME: URL?
|
|
|
|
# FIXME: URL?
|
|
|
|
w_download http://download.microsoft.com/download/8/F/E/8FEEE89D-9E4F-4BA3-993E-0FFEA8E21E1B/NetFx30SP1_x86.exe 8d779e337920b097aa0c01859912950606e9fc12
|
|
|
|
w_download http://download.microsoft.com/download/8/F/E/8FEEE89D-9E4F-4BA3-993E-0FFEA8E21E1B/NetFx30SP1_x86.exe 8d779e337920b097aa0c01859912950606e9fc12
|
|
|
|
# Recipe from http://bugs.winehq.org/show_bug.cgi?id=25060#c10
|
|
|
|
# Recipe from http://bugs.winehq.org/show_bug.cgi?id=25060#c10
|
|
|
@@ -6355,6 +6383,8 @@ w_metadata dotnet35 dlls \
|
|
|
|
|
|
|
|
|
|
|
|
load_dotnet35()
|
|
|
|
load_dotnet35()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
w_package_unsupported_win64
|
|
|
|
|
|
|
|
|
|
|
|
case "$W_PLATFORM" in
|
|
|
|
case "$W_PLATFORM" in
|
|
|
|
windows_cmd) ;;
|
|
|
|
windows_cmd) ;;
|
|
|
|
*) w_warn "dotnet35 does not yet fully work or install on wine. Caveat emptor." ;;
|
|
|
|
*) w_warn "dotnet35 does not yet fully work or install on wine. Caveat emptor." ;;
|
|
|
@@ -6404,6 +6434,8 @@ w_metadata dotnet35sp1 dlls \
|
|
|
|
|
|
|
|
|
|
|
|
load_dotnet35sp1()
|
|
|
|
load_dotnet35sp1()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
w_package_unsupported_win64
|
|
|
|
|
|
|
|
|
|
|
|
case "$W_PLATFORM" in
|
|
|
|
case "$W_PLATFORM" in
|
|
|
|
windows_cmd) ;;
|
|
|
|
windows_cmd) ;;
|
|
|
|
*) w_warn "dotnet35sp1 does not yet fully work or install on wine. Caveat emptor." ;;
|
|
|
|
*) w_warn "dotnet35sp1 does not yet fully work or install on wine. Caveat emptor." ;;
|
|
|
@@ -6470,10 +6502,7 @@ w_metadata dotnet40 dlls \
|
|
|
|
|
|
|
|
|
|
|
|
load_dotnet40()
|
|
|
|
load_dotnet40()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if [ $W_ARCH = win64 ]
|
|
|
|
w_package_unsupported_win64
|
|
|
|
then
|
|
|
|
|
|
|
|
w_die "This package does not work on a 64-bit installation"
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
case "$W_PLATFORM" in
|
|
|
|
case "$W_PLATFORM" in
|
|
|
|
windows_cmd) ;;
|
|
|
|
windows_cmd) ;;
|
|
|
@@ -6619,7 +6648,7 @@ w_metadata dotnet46 dlls \
|
|
|
|
media="download" \
|
|
|
|
media="download" \
|
|
|
|
file1="NDP46-KB3045557-x86-x64-AllOS-ENU.exe" \
|
|
|
|
file1="NDP46-KB3045557-x86-x64-AllOS-ENU.exe" \
|
|
|
|
conflicts="dotnet20 dotnet20sdk dotnet20sp1 dotnet20sp2 dotnet35sp1 dotnet40 vjrun20" \
|
|
|
|
conflicts="dotnet20 dotnet20sdk dotnet20sp1 dotnet20sp2 dotnet35sp1 dotnet40 vjrun20" \
|
|
|
|
installed_file1="c:/windows/Microsoft.NET/Framework/v4.0.30319/SetupCache/v4.6.00081/1041/SetupResources.dll"
|
|
|
|
installed_file1="c:/windows/Migration/WTR/netfx45_upgradecleanup.inf"
|
|
|
|
|
|
|
|
|
|
|
|
load_dotnet46()
|
|
|
|
load_dotnet46()
|
|
|
|
{
|
|
|
|
{
|
|
|
@@ -6658,6 +6687,11 @@ load_dotnet46()
|
|
|
|
w_override_dlls native mscoree
|
|
|
|
w_override_dlls native mscoree
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
verify_dotnet46()
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
w_dotnet_verify dotnet46
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#----------------------------------------------------------------
|
|
|
|
#----------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
w_metadata dotnet461 dlls \
|
|
|
|
w_metadata dotnet461 dlls \
|
|
|
@@ -6667,7 +6701,7 @@ w_metadata dotnet461 dlls \
|
|
|
|
media="download" \
|
|
|
|
media="download" \
|
|
|
|
file1="NDP461-KB3102436-x86-x64-AllOS-ENU.exe" \
|
|
|
|
file1="NDP461-KB3102436-x86-x64-AllOS-ENU.exe" \
|
|
|
|
conflicts="dotnet20 dotnet20sdk dotnet20sp1 dotnet20sp2 dotnet35sp1 dotnet40 dotnet46 vjrun20" \
|
|
|
|
conflicts="dotnet20 dotnet20sdk dotnet20sp1 dotnet20sp2 dotnet35sp1 dotnet40 dotnet46 vjrun20" \
|
|
|
|
installed_file1="c:/windows/Microsoft.NET/Framework/v4.0.30319/SetupCache/v4.6.01055/1041/SetupResources.dll"
|
|
|
|
installed_file1="c:/users/$LOGNAME/Temp/dd_NDP461-KB3102436-x86-x64-AllOS-ENU_decompression_log.txt"
|
|
|
|
|
|
|
|
|
|
|
|
load_dotnet461()
|
|
|
|
load_dotnet461()
|
|
|
|
{
|
|
|
|
{
|
|
|
@@ -6701,6 +6735,11 @@ load_dotnet461()
|
|
|
|
w_override_dlls native mscoree
|
|
|
|
w_override_dlls native mscoree
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
verify_dotnet461()
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
w_dotnet_verify dotnet461
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#----------------------------------------------------------------
|
|
|
|
#----------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
w_metadata dotnet462 dlls \
|
|
|
|
w_metadata dotnet462 dlls \
|
|
|
@@ -6751,6 +6790,11 @@ load_dotnet462()
|
|
|
|
w_override_dlls native mscoree
|
|
|
|
w_override_dlls native mscoree
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
verify_dotnet462()
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
w_dotnet_verify dotnet462
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#----------------------------------------------------------------
|
|
|
|
#----------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
w_metadata dotnet_verifier dlls \
|
|
|
|
w_metadata dotnet_verifier dlls \
|
|
|
@@ -8910,6 +8954,8 @@ load_vcrun2015()
|
|
|
|
|
|
|
|
|
|
|
|
w_override_dlls native,builtin api-ms-win-crt-conio-l1-1-0 api-ms-win-crt-heap-l1-1-0 api-ms-win-crt-locale-l1-1-0 api-ms-win-crt-math-l1-1-0 api-ms-win-crt-runtime-l1-1-0 api-ms-win-crt-stdio-l1-1-0 api-ms-win-crt-time-l1-1-0 atl140 concrt140 msvcp140 msvcr140 ucrtbase vcomp140 vcruntime140
|
|
|
|
w_override_dlls native,builtin api-ms-win-crt-conio-l1-1-0 api-ms-win-crt-heap-l1-1-0 api-ms-win-crt-locale-l1-1-0 api-ms-win-crt-math-l1-1-0 api-ms-win-crt-runtime-l1-1-0 api-ms-win-crt-stdio-l1-1-0 api-ms-win-crt-time-l1-1-0 atl140 concrt140 msvcp140 msvcr140 ucrtbase vcomp140 vcruntime140
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
w_set_winver winxp
|
|
|
|
|
|
|
|
|
|
|
|
w_try_cd "$W_CACHE"/"$W_PACKAGE"
|
|
|
|
w_try_cd "$W_CACHE"/"$W_PACKAGE"
|
|
|
|
w_try "$WINE" vc_redist.x86.exe $W_UNATTENDED_SLASH_Q
|
|
|
|
w_try "$WINE" vc_redist.x86.exe $W_UNATTENDED_SLASH_Q
|
|
|
|
|
|
|
|
|
|
|
@@ -8978,8 +9024,6 @@ load_vjrun20()
|
|
|
|
|
|
|
|
|
|
|
|
#----------------------------------------------------------------
|
|
|
|
#----------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
# FIXME: two exe's, one for win64, one for win32..
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
w_metadata windowscodecs dlls \
|
|
|
|
w_metadata windowscodecs dlls \
|
|
|
|
title="MS Windows Imaging Component" \
|
|
|
|
title="MS Windows Imaging Component" \
|
|
|
|
publisher="Microsoft" \
|
|
|
|
publisher="Microsoft" \
|
|
|
@@ -8995,11 +9039,13 @@ load_windowscodecs()
|
|
|
|
# https://www.microsoft.com/en-us/download/details.aspx?id=32
|
|
|
|
# https://www.microsoft.com/en-us/download/details.aspx?id=32
|
|
|
|
w_download http://download.microsoft.com/download/f/f/1/ff178bb1-da91-48ed-89e5-478a99387d4f/wic_x86_enu.exe 53c18652ac2f8a51303deb48a1b7abbdb1db427f
|
|
|
|
w_download http://download.microsoft.com/download/f/f/1/ff178bb1-da91-48ed-89e5-478a99387d4f/wic_x86_enu.exe 53c18652ac2f8a51303deb48a1b7abbdb1db427f
|
|
|
|
EXE="wic_x86_enu.exe"
|
|
|
|
EXE="wic_x86_enu.exe"
|
|
|
|
else
|
|
|
|
elif [ "$W_ARCH" = "win64" ] ; then
|
|
|
|
# https://www.microsoft.com/en-us/download/details.aspx?id=1385
|
|
|
|
# https://www.microsoft.com/en-us/download/details.aspx?id=1385
|
|
|
|
w_download https://download.microsoft.com/download/6/4/5/645FED5F-A6E7-44D9-9D10-FE83348796B0/wic_x64_enu.exe 4bdbf76a7bc96453306c893b4a7b2b8ae6127f67
|
|
|
|
w_download https://download.microsoft.com/download/6/4/5/645FED5F-A6E7-44D9-9D10-FE83348796B0/wic_x64_enu.exe 4bdbf76a7bc96453306c893b4a7b2b8ae6127f67
|
|
|
|
EXE="wic_x64_enu.exe"
|
|
|
|
EXE="wic_x64_enu.exe"
|
|
|
|
fi
|
|
|
|
else
|
|
|
|
|
|
|
|
w_die "Invalid W_ARCH value, $W_ARCH"
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
# Avoid a file existence check.
|
|
|
|
# Avoid a file existence check.
|
|
|
|
w_try rm -f "$W_SYSTEM32_DLLS"/windowscodecs.dll "$W_SYSTEM32_DLLS"/windowscodecsext.dll "$W_SYSTEM32_DLLS"/photometadatahandler.dll
|
|
|
|
w_try rm -f "$W_SYSTEM32_DLLS"/windowscodecs.dll "$W_SYSTEM32_DLLS"/windowscodecsext.dll "$W_SYSTEM32_DLLS"/photometadatahandler.dll
|
|
|
@@ -9012,17 +9058,20 @@ load_windowscodecs()
|
|
|
|
# AF says in AppDB entry for .NET 3.0 that windowscodecs has to be native only
|
|
|
|
# AF says in AppDB entry for .NET 3.0 that windowscodecs has to be native only
|
|
|
|
w_override_dlls native windowscodecs windowscodecsext
|
|
|
|
w_override_dlls native windowscodecs windowscodecsext
|
|
|
|
|
|
|
|
|
|
|
|
# Always run the WIC installer in passive mode.
|
|
|
|
|
|
|
|
# See http://bugs.winehq.org/show_bug.cgi?id=16876 and
|
|
|
|
|
|
|
|
# http://bugs.winehq.org/show_bug.cgi?id=23232
|
|
|
|
|
|
|
|
w_try_cd "$W_CACHE/$W_PACKAGE"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if test -x /usr/bin/taskset && w_workaround_wine_bug 32859 "Working around possibly broken libX11"
|
|
|
|
if test -x /usr/bin/taskset && w_workaround_wine_bug 32859 "Working around possibly broken libX11"
|
|
|
|
then
|
|
|
|
then
|
|
|
|
TASKSET="taskset -c 0"
|
|
|
|
TASKSET="taskset -c 0"
|
|
|
|
else
|
|
|
|
else
|
|
|
|
TASKSET=""
|
|
|
|
TASKSET=""
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
w_set_winver winxp
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Always run the WIC installer in passive mode.
|
|
|
|
|
|
|
|
# See http://bugs.winehq.org/show_bug.cgi?id=16876 and
|
|
|
|
|
|
|
|
# http://bugs.winehq.org/show_bug.cgi?id=23232
|
|
|
|
|
|
|
|
w_try_cd "$W_CACHE/$W_PACKAGE"
|
|
|
|
|
|
|
|
|
|
|
|
w_try $TASKSET "$WINE" "$EXE" /passive
|
|
|
|
w_try $TASKSET "$WINE" "$EXE" /passive
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@@ -10625,11 +10674,7 @@ w_metadata ie6 dlls \
|
|
|
|
|
|
|
|
|
|
|
|
load_ie6()
|
|
|
|
load_ie6()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
# Installer doesn't support Win64, and I can't find a x64 version on microsoft.com
|
|
|
|
w_package_unsupported_win64
|
|
|
|
if [ $W_ARCH = win64 ]
|
|
|
|
|
|
|
|
then
|
|
|
|
|
|
|
|
w_die "This package does not work on a 64-bit installation"
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
w_download http://download.oldapps.com/Internet_Explorer/ie60.exe 8e483db28ff01a7cabd39147ab6c59753ea1f533
|
|
|
|
w_download http://download.oldapps.com/Internet_Explorer/ie60.exe 8e483db28ff01a7cabd39147ab6c59753ea1f533
|
|
|
|
|
|
|
|
|
|
|
@@ -10770,6 +10815,9 @@ load_ie7()
|
|
|
|
w_download http://download.microsoft.com/download/3/8/8/38889DC1-848C-4BF2-8335-86C573AD86D9/IE7-WindowsXP-x86-enu.exe d39b89c360fbaa9706b5181ae4718100687a5326
|
|
|
|
w_download http://download.microsoft.com/download/3/8/8/38889DC1-848C-4BF2-8335-86C573AD86D9/IE7-WindowsXP-x86-enu.exe d39b89c360fbaa9706b5181ae4718100687a5326
|
|
|
|
w_try_cd "$W_CACHE/$W_PACKAGE"
|
|
|
|
w_try_cd "$W_CACHE/$W_PACKAGE"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# IE7 requies winxp to install:
|
|
|
|
|
|
|
|
w_set_winver winxp
|
|
|
|
|
|
|
|
|
|
|
|
"$WINE" IE7-WindowsXP-x86-enu.exe $W_UNATTENDED_SLASH_QUIET
|
|
|
|
"$WINE" IE7-WindowsXP-x86-enu.exe $W_UNATTENDED_SLASH_QUIET
|
|
|
|
|
|
|
|
|
|
|
|
# IE7 exits with 194 to signal a reboot
|
|
|
|
# IE7 exits with 194 to signal a reboot
|
|
|
@@ -12068,6 +12116,8 @@ load_wmp10()
|
|
|
|
# http://www.microsoft.com/downloads/en/details.aspx?FamilyID=b446ae53-3759-40cf-80d5-cde4bbe07999
|
|
|
|
# http://www.microsoft.com/downloads/en/details.aspx?FamilyID=b446ae53-3759-40cf-80d5-cde4bbe07999
|
|
|
|
w_download http://download.microsoft.com/download/1/2/a/12a31f29-2fa9-4f50-b95d-e45ef7013f87/MP10Setup.exe 69862273a5d9d97b4a2e5a3bd93898d259e86657
|
|
|
|
w_download http://download.microsoft.com/download/1/2/a/12a31f29-2fa9-4f50-b95d-e45ef7013f87/MP10Setup.exe 69862273a5d9d97b4a2e5a3bd93898d259e86657
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
w_set_winver winxp
|
|
|
|
|
|
|
|
|
|
|
|
# Crashes on exit, but otherwise ok; see http://bugs.winehq.org/show_bug.cgi?id=12633
|
|
|
|
# Crashes on exit, but otherwise ok; see http://bugs.winehq.org/show_bug.cgi?id=12633
|
|
|
|
w_try_cd "$W_CACHE/$W_PACKAGE"
|
|
|
|
w_try_cd "$W_CACHE/$W_PACKAGE"
|
|
|
|
w_try "$WINE" MP10Setup.exe $W_UNATTENDED_SLASH_Q
|
|
|
|
w_try "$WINE" MP10Setup.exe $W_UNATTENDED_SLASH_Q
|
|
|
|