hyperfang8 |
Dimanche 25 Novembre 2012 à 4:05
|
hyperfang8
|
It seems that Gui installer for dotnet1.1 crashes. I have installed it manualy but i think it should be fixed, console log: [11/25/12 04:01:20] - ----- Starting function POL_Install_dotnet11 ----- ... [11/25/12 04:01:26] - Running wine-1.5.18 reg delete HKLM\\Software\\Microsoft\\.NETFramework\\policy\\v2.0 /f (Working directory : /home/kiki/.PlayOnLinux/ressources/dotnet11) DELETE - HKLM\\Software\\Microsoft\\.NETFramework\\policy\\v2.0 (null) 0 0 1 Error: The system was unable to find the specified registry key or value Patched script: http://pastebin.com/FFK8vNHY Edité par hyperfang8
Avoid the Gates of Hell. Use
Linux.
|
petch |
Dimanche 25 Novembre 2012 à 9:21
|
petch
|
Seems to be broken with Wine 1.5.x indeed Source is available from "Functions" section: http://www.playonmac.com/en/source-527-POL_Install_dotnet11.html But dotnet* scripts are tricky business... I opened a bug report: http://www.playonmac.com/en/issue-1584.html Edité par petch
|
hyperfang8 |
Dimanche 25 Novembre 2012 à 13:52
|
hyperfang8
|
Hi, i have found and fixed the problem... Patched script: http://pastebin.com/FFK8vNHYSource of the problem(s): POL_Wine reg delete "HKLM\\Software\\Microsoft\\.NETFramework\\policy\\v2.0" /f POL_Wine reg delete "HKLM\\Software\\Microsoft\\.NETFramework" /v InstallRoot /f About the problem: It seems that "reg" returns crash if the noted key is not found, this seems to be wine problem not POL. This makes POL asume that there was error and it crashes whole thing The solution: Use .reg file to delete 2 noted keys , alos use --ignore-errors to prevent wine from crashing. Compatability: The script itself seems to work with wine 1.5.x,1.4.x,1.3.x,1.2.x and should work with any version... Note: script in the link is intended to run from POL shel of your targeted prefix EDIT: By the way, where can i get res of the scripts , it seems that corefonts is crashing as well... EDIT 2: Found them, http://www.playonmac.com/repository/?cat=100 ! EDIT 3: It seems that corefonts was ment to run this way.
Edité par hyperfang8
Avoid the Gates of Hell. Use
Linux.
|
Quentin PÂRIS |
Dimanche 25 Novembre 2012 à 17:26
|
Quentin PÂRIS
|
I thing that your method is a bit complicated :)
Two other ways: - Making a .reg file
Or easier - Adding --ignore-errors after "POL_Wine"
Could you test that?
|
hyperfang8 |
Dimanche 25 Novembre 2012 à 18:16
|
hyperfang8
|
Already tested! Didn't work.:-(
Avoid the Gates of Hell. Use
Linux.
|
Quentin PÂRIS |
Dimanche 25 Novembre 2012 à 23:15
|
Quentin PÂRIS
|
What did you test?
|
hyperfang8 |
Dimanche 25 Novembre 2012 à 23:41
|
hyperfang8
|
I already tested this, it doesn't help: @Making a .reg file -tried [-HKLM\\Software \\Microsoft\\.NETFramework] and few others -all failed also, same error @--ignore-errors after "POL_Wine" -doesn't help, stil crashes
Avoid the Gates of Hell. Use
Linux.
|
Quentin PÂRIS |
Lundi 26 Novembre 2012 à 1:59
|
Quentin PÂRIS
|
Where did you put --ignore-errors ? Give the exact line please
|
hyperfang8 |
Lundi 26 Novembre 2012 à 8:41
|
hyperfang8
|
Where did you put --ignore-errors ? Give the exact line please
Tried: POL_Wine --ignore-errors reg delete "HKLM\\Software\\Microsoft\\.NETFramework\\policy\\v2.0" /f Fails...
However i have just realized that there is another way! The reason wine crashes is because "reg" can not finde specified registry key! So, what about making one before we try to delete it? This is actualy easy, because there already is a .reg file called before that! The result is this: http://pastebin.com/FFK8vNHY ! I didn't test this yet. Also i have been thinking about backslashes in windows and i think i made mistake with, the registry file: -i did: [-HKLM\\Software\\Microsoft\\.NETFramework\\policy\\v2.0]
-instead of: [-HKLM\\\\Software\\\\Microsoft\\\\.NETFramework\\\\policy\\\\v2.0] Will have to test that as well!
Edit: -tested again and again -script no longer crashes but key isn't geting delete -the first solution still works the best -tested .reg method again, not working: http://pastebin.com/index/FFK8vNHY
Edité par hyperfang8
Avoid the Gates of Hell. Use
Linux.
|
hyperfang8 |
Mardi 27 Novembre 2012 à 7:34
|
hyperfang8
|
bumb... I hope the script gets patched quickly because dotnet1.1 is needed for some programs that mainly work in wine 1.5
Avoid the Gates of Hell. Use
Linux.
|
Quentin PÂRIS |
Mardi 27 Novembre 2012 à 12:13
|
Quentin PÂRIS
|
Can you send here a clean and fixed script, (with no .bat generation). I'm sure it is possible
|
hyperfang8 |
Mardi 27 Novembre 2012 à 14:23
|
hyperfang8
|
Can you send here a clean and fixed script, (with no .bat generation). I'm sure it is possible
My mistake , .reg solution actualy works... Updated script: http://pastebin.com/FFK8vNHY
However i'm still not sure if reg file should be called before POL_Wine_InstallFonts or after, where can i finde POL_Wine_InstallFonts source??
Btw , i have noticed that i can't download (maybe because i'm curently on public network): http://files.playonlinux.com/dotnet/1/dotnetfx.exe
Edité par hyperfang8
Avoid the Gates of Hell. Use
Linux.
|
Quentin PÂRIS |
Mardi 27 Novembre 2012 à 17:13
|
Quentin PÂRIS
|
http://files.playonlinux.com/dotnet/1/dotnetfx.exe just works. That's not normal if you cannot download it.
POL_Wine_InstallFonts is a builtin POL fonction, no matter if you update the registry before or after, it won't have any impact.
I'm going to review your script
|
Quentin PÂRIS |
Mardi 27 Novembre 2012 à 17:19
|
Quentin PÂRIS
|
(By the way, I'm working on a way to make script update easier for users)
|
hyperfang8 |
Mardi 27 Novembre 2012 à 19:12
|
hyperfang8
|
(By the way, I'm working on a way to make script update easier for users)
I hope the main script gets updated soon, i need it for my lotro script. Lotro depends on bug fixes in 1.5.18 and dotnet11!!
Avoid the Gates of Hell. Use
Linux.
|
Quentin PÂRIS |
Mardi 27 Novembre 2012 à 20:08
|
Quentin PÂRIS
|
It is already up to date
|
hyperfang8 |
Mardi 27 Novembre 2012 à 20:51
|
hyperfang8
|
It is already up to date
Awesome, when i get home i'm going to releas my lotro script!
Avoid the Gates of Hell. Use
Linux.
|