POL_Download_Win7SP1

Informations

Creator Message
Yaotl Anonymous

Warning

This installer has not been approved yet by the team.

Informations

Platforms:
Downloads: 0
Wine: System

Feedbacks

Description

Download Windows 7 Service Pack 1 x64.

Source code

                

Contributions

Filters:

Contribute
Member Message
Yaotl Saturday 2 November 2019 at 19:19
Yaotl Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

Differences

@@ -0,0 +1,12 @@
+#!/usr/bin/env playonlinux-bash
+# Date : (2019-10-30 09-49)
+# Last revision : (2019-11-02 11-17)
+# Author : Yaotl
+# PlayOnLinux : 4.3.4
+# Script licence : GPL3
+
+
+cd "$POL_USER_ROOT/ressources"
+
+# Windows 7 Service Pack 1 x64 English
+POL_Download_Resource "https://download.microsoft.com/download/0/A/F/0AFB5316-3062-494A-AB78-7FB0D4461357/windows6.1-KB976932-X64.exe" "28d3932f714bf71d78e75d36aa2e0fb8"
\ No newline at end of file

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2019-10-30 09-49)
# Last revision : (2019-11-02 11-17)
# Author : Yaotl
# PlayOnLinux : 4.3.4
# Script licence : GPL3


cd "$POL_USER_ROOT/ressources"

# Windows 7 Service Pack 1 x64 English
POL_Download_Resource "https://download.microsoft.com/download/0/A/F/0AFB5316-3062-494A-AB78-7FB0D4461357/windows6.1-KB976932-X64.exe" "28d3932f714bf71d78e75d36aa2e0fb8"

Replies

Sunday 3 November 2019 at 13:16
Why do you make this function ? in order to extract updated files ?
Anonymous
Monday 25 November 2019 at 17:46
that's how it was planned:


#!/bin/bash
#...
POL_Call POL_Download_Win7SP1

if [ "$POL_ARCH" = "amd64" ]; then
cabextract -F 'amd64_microsoft.windows.winhttp_31bf3856ad364e35_5.1.7601.17514_none_bac5319939f7951a/winhttp.dll' $POL_USER_ROOT/ressources/windows6.1-KB976932-X64.exe -d $POL_USER_ROOT/tmp
cabextract -F 'wow64_microsoft.windows.winhttp_31bf3856ad364e35_5.1.7601.17514_none_c519dbeb6e585715/winhttp.dll' $POL_USER_ROOT/ressources/windows6.1-KB976932-X64.exe -d $POL_USER_ROOT/tmp
cp $POL_USER_ROOT/tmp/amd64_microsoft.windows.winhttp_31bf3856ad364e35_5.1.7601.17514_none_bac5319939f7951a/winhttp.dll $WINEPREFIX/drive_c/windows/system32
cp $POL_USER_ROOT/tmp/wow64_microsoft.windows.winhttp_31bf3856ad364e35_5.1.7601.17514_none_c519dbeb6e585715/winhttp.dll $WINEPREFIX/drive_c/windows/syswow64
else
cabextract "$POL_USER_ROOT/ressources/windows6.1-KB976932-X64.exe" -F wow64_microsoft.windows.winhttp_31bf3856ad364e35_5.1.7601.17514_none_c519dbeb6e585715/winhttp.dll -d $POL_USER_ROOT/tmp
cp $POL_USER_ROOT/tmp/wow64_microsoft.windows.winhttp_31bf3856ad364e35_5.1.7601.17514_none_c519dbeb6e585715/winhttp.dll $WINEPREFIX/drive_c/windows/system32
fi

# Overriding DLL
POL_Wine_OverrideDLL "native, builtin" "winhttp"

without extraction function. (so that not every script needs to be changed when the link changes.)

But I came across problems with dependencies.  https://s19.directupload.net/images/191125/4w6emo49.png

 
Anonymous
Monday 25 November 2019 at 18:05
I would create many new problems with it. Old programs are no longer running with new DLLs. Wine does not support some of the dependency dependencies.

Edited by Yaotl