The forum

Revise Functions?

Author Replies
Yaotl Saturday 2 November 2019 at 13:46
YaotlAnonymous

Would it be desirable if I revised these functions?

POL_Install_amstream
POL_Install_atmlib
POL_Install_crypt32
POL_Install_msasn1
POL_Install_mspatcha
POL_Install_msxml3
POL_Install_msxml6
POL_Install_quartz
POL_Install_riched20
POL_Install_usp10
POL_Install_winhttp
POL_Install_wininet
POL_Install_wintrust
POL_Install_xmllite

 

and extract the ddl(32bit and 64bit files) from win7sp1?

Edited by Yaotl

Quentin PÂRIS Saturday 2 November 2019 at 18:28
Quentin PÂRISAnonymous

Sure

Yaotl Sunday 3 November 2019 at 9:28
YaotlAnonymous

I imagine it like this(The example of winhttp):

#POL_Download_Win7SP1 (Alternatively, that would be alright: POL_Win7SP1_Download) https://www.playonlinux.com/en/app-3692-POL_Download_Win7SP1.html

#!/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"

I'm ready for change suggestions!

Edited by Yaotl

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmca-notice@playonlinux.com