kzwkt / winetricks

Automatically exported from code.google.com/p/winetricks
0 stars 0 forks source link

Direct link dotnetfx3sp1 #371

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The problem is the installation of XP SEP is impossible because the file is not 
found.

The program is downloaded with the name 
XPSEP%20XP%20and%20Server%202003%2032%20bit.msi

the solution is to change the command of download, and integrate a renaming like
w_download 
http://download.microsoft.com/download/2/5/2/2526f55d-32bc-410f-be18-164ba67ae07
d/XPSEP%20XP%20and%20Server%202003%2032%20bit.msi 
5d332ebd1025e294adafe72030fe33db707b2c82 XPSEP\ XP\ and\ Server\ 2003\ 32\ 
bit.msi

and launch the installation with the command

w_try $WINE msiexec /i XPSEP\ XP\ and\ Server\ 2003\ 32\ bit.msi

#----------------------------------------------------------------

w_metadata dotnet30sp1 dlls \
    title="MS .NET 3.0 SP1" \
    publisher="Microsoft" \
    year="2007" \
    media="download" \
    file1="NetFx30SP1_x86.exe" \
    installed_file1="c:/windows/system32/XpsFilt.dll"    # we're cheating a bit here

load_dotnet30sp1()
{
    case "$OS" in
    "Windows_NT") ;;
    *) w_warn "dotnet30sp1 does not yet fully work or install on wine.  Caveat emptor." ;;
    esac

    # dotnet30 does this, which is called by dotnet30:
    # w_call remove_mono
    w_call dotnet30
    $WINESERVER -w
    w_call dotnet20sp1
    $WINESERVER -w

    w_download http://download.microsoft.com/download/8/F/E/8FEEE89D-9E4F-4BA3-993E-0FFEA8E21E1B/NetFx30SP1_x86.exe 8d779e337920b097aa0c01859912950606e9fc12
    cd "$W_CACHE/$W_PACKAGE"

    $WINE reg add "HKLM\\Software\\Microsoft\\Net Framework Setup\\NDP\\v3.0" /v Version /t REG_SZ /d "3.0" /f
    $WINE reg add "HKLM\\Software\\Microsoft-\\Net Framework Setup\\NDP\\v3.0" /v SP /t REG_DWORD /d 0001 /f

    # Recipe from http://bugs.winehq.org/show_bug.cgi?id=25060#c10
    w_download http://download.microsoft.com/download/2/5/2/2526f55d-32bc-410f-be18-164ba67ae07d/XPSEP%20XP%20and%20Server%202003%2032%20bit.msi 5d332ebd1025e294adafe72030fe33db707b2c82 XPSEP\ XP\ and\ Se$
    w_try $WINE msiexec /i XPSEP\ XP\ and\ Server\ 2003\ 32\ bit.msi ${W_OPT_UNATTENDED:+/qb}
    $WINE sc delete FontCache3.0.0.0

    $WINE $file1 ${W_OPT_UNATTENDED:+/q}
    status=$?
    w_info $file1 exited with status $status
}

Original issue reported on code.google.com by haitem.belgacem@gmail.com on 23 Oct 2013 at 6:10

GoogleCodeExporter commented 9 years ago
This is already fixed in SVN.

Original comment by austinenglish@gmail.com on 26 Nov 2013 at 8:59