Open mbauer599 opened 9 months ago
THANKS FOR MENTIONING THIS. Ran into exactly this problem. Thank you thank you.
Where did you insert --force? I attempted added it to the end of the line saying run command for installing dotnet472 but still got non-zero exit code 99
@jpruitt2297
Where did you insert --force? I attempted added it to the end of the line saying run command for installing dotnet472 but still got non-zero exit code 99
In linux.py
where winetricks is called. Just be aware that this IS the lazy solution. But I'm okay with that.
def setup_wineprefix():
# Create WINEPREFIX if it doesn't exist
print("Checking if WINEPREFIX exists...")
if not os.path.exists(prefix_location):
print("Creating WINEPREFIX...")
os.makedirs(prefix_location)
print(f"{prefix_location} created, running winecfg.")
notify("Click 'OK' on the 'Wine configuration' window when it appears to
continue...")
run_command(f"WINEPREFIX={prefix_location} winecfg")
print("Installing dotnet472 if necessary...")
run_command(f"WINEPREFIX={prefix_location} winetricks --force dotnet472")
print("Installing d3dcompiler_47 if necessary...")
run_command(f"WINEPREFIX={prefix_location} winetricks --force d3dcompiler_47")
Ah, okay. I think when I attempted that but I put the --force
after the components attempting install. I did manage to fix this situation though through winegui handling installs to the wineprefix with no issues. So I guess if someone still has trouble, they could try that.
@jpruitt2297
Where did you insert --force? I attempted added it to the end of the line saying run command for installing dotnet472 but still got non-zero exit code 99
In
linux.py
where winetricks is called. Just be aware that this IS the lazy solution. But I'm okay with that.def setup_wineprefix(): # Create WINEPREFIX if it doesn't exist print("Checking if WINEPREFIX exists...") if not os.path.exists(prefix_location): print("Creating WINEPREFIX...") os.makedirs(prefix_location) print(f"{prefix_location} created, running winecfg.") notify("Click 'OK' on the 'Wine configuration' window when it appears to continue...") run_command(f"WINEPREFIX={prefix_location} winecfg") print("Installing dotnet472 if necessary...") run_command(f"WINEPREFIX={prefix_location} winetricks --force dotnet472") print("Installing d3dcompiler_47 if necessary...") run_command(f"WINEPREFIX={prefix_location} winetricks --force d3dcompiler_47")
Just putting this in here for anyone else who may encounter errors:
As suggested, and exactly what I expect from .net, I just forced it through but I'm also super lazy so I just added
--force
to winetricks in the script.