DJReal8 / winetricks

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

dotnet20 breaks other dotnet installs #337

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
Run:
1. dotnet20sp1
2. dotnet20

The dotnet20 recipe check needs improvement
    installed_file1="c:/windows/Microsoft.NET/Framework/v2.0.50727/Microsoft .NET Framework 2.0/install.exe"

This file does not exist following a dotnet20sp1 install.

This is a problem in WINEPREFIXes that have previously installed dotnet20sp1 
(for example) and then tries to install dotnet35sp1 (for example). The script 
looks for a file that doesn't exist and so continues with the script which 
damages the install.

The workaround, of course, is to run the dotnet35sp1 (for example) in a clean 
WINEPREFIX and never run another dotnet recipe.

I guess this raises a general problem with the script: checking for installed 
files will not always work.

Original issue reported on code.google.com by ImWellCu...@gmail.com on 5 Aug 2013 at 4:39

GoogleCodeExporter commented 8 years ago
Confirming. Attached is a tar with the list of all files installed by the 
various dotnet verbs.

I'll take a look.

Original comment by austinenglish@gmail.com on 25 Sep 2013 at 1:23

Attachments:

GoogleCodeExporter commented 8 years ago
The Dotnet Verifier runs a test for each version of Dotnet to confirm if it is 
installed properly. Couldn't Winetricks take advantage of that?

if (Mono not installed) then (test script).

Original comment by ImWellCu...@gmail.com on 7 Feb 2014 at 9:22

GoogleCodeExporter commented 8 years ago
winetricks does know about the dotnet verifier, but doesn't run it for you 
because
it's interactive, not really usable in batch mode.

Original comment by daniel.r...@gmail.com on 7 Feb 2014 at 9:24

GoogleCodeExporter commented 8 years ago
Fixed by r1126.

Executing w_do_call dotnet20
------------------------------------------------------
error: dotnet20 conflicts with dotnet20sp1, which is already installed.
------------------------------------------------------

Original comment by austinenglish@gmail.com on 3 Mar 2014 at 7:09