Skip to content

Instantly share code, notes, and snippets.

@aurelienpierre
Last active May 30, 2017 23:02
Show Gist options
  • Save aurelienpierre/8775951 to your computer and use it in GitHub Desktop.
Save aurelienpierre/8775951 to your computer and use it in GitHub Desktop.
Creates a complete fake Windows 7 installation within a Wine Prefix in one command
#!/bin/bash
winetricks ie8 wmp10 allcodecs d3dx11_43 dotnet40 vc2005 vc2008 dsound ogg allfonts hosts ddr=opengl fontsmooth=rgb videomemorysize=2048 win7 glsl=enabled ao=enabled rtlm=auto psm=enabled mwo=force fontsmooth=rgb vsm=hardware
@rjpg
Copy link

rjpg commented May 30, 2017

it would be sweet .. but it does not work

$ winetricks ie8 wmp10 allcodecs d3dx11_43 dotnet40 vc2005 vc2008 dsound ogg allfonts hosts ddr=opengl fontsmooth=rgb videomemorysize=2048 win7 glsl=enabled ao=enabled rtlm=auto psm=enabled mwo=force fontsmooth=rgb vsm=hardware
Using winetricks 20170101 - sha1sum: c844fda0cca25ac9ed0ed1b55cd138cab6a4af16 with wine-1.8.7 (Ubuntu 1.8.7-1ubuntu1) and WINEARCH=win32
Executing w_do_call ie8
Executing load_ie8
Using builtin override for following DLLs: iexplore.exe
Executing winetricks_early_wine regedit C:\windows\Temp_ie8\override-dll.reg
Executing wine iexplore -unregserver
Executing w_do_call msls31
Executing load_msls31
Executing cd /home/rjpg/.cache/winetricks/msls31
Downloading http://download.microsoft.com/download/WindowsInstaller/Install/2.0/NT45/EN-US/InstMsiW.exe to /home/rjpg/.cache/winetricks/msls31
--2017-05-31 00:02:31-- http://download.microsoft.com/download/WindowsInstaller/Install/2.0/NT45/EN-US/InstMsiW.exe
Resolving download.microsoft.com (download.microsoft.com)... 23.222.229.238
Connecting to download.microsoft.com (download.microsoft.com)|23.222.229.238|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-05-31 00:02:31 ERROR 404: Not Found.

Executing cd /home/rjpg/.cache/winetricks/msls31
Downloading https://web.archive.org/web/http://download.microsoft.com/download/WindowsInstaller/Install/2.0/NT45/EN-US/InstMsiW.exe to /home/rjpg/.cache/winetricks/msls31
--2017-05-31 00:02:31-- https://web.archive.org/web/http://download.microsoft.com/download/WindowsInstaller/Install/2.0/NT45/EN-US/InstMsiW.exe
Resolving web.archive.org (web.archive.org)... 207.241.225.186
Connecting to web.archive.org (web.archive.org)|207.241.225.186|:443... connected.
HTTP request sent, awaiting response... 302 FOUND
Location: https://web.archive.org/web/20161222173706/http://download.microsoft.com/download/WindowsInstaller/Install/2.0/NT45/EN-US/InstMsiW.exe [following]
--2017-05-31 00:02:32-- https://web.archive.org/web/20161222173706/http://download.microsoft.com/download/WindowsInstaller/Install/2.0/NT45/EN-US/InstMsiW.exe
Reusing existing connection to web.archive.org:443.
HTTP request sent, awaiting response... 404 Not Found
2017-05-31 00:02:32 ERROR 404: Not Found.


Downloading https://web.archive.org/web/http://download.microsoft.com/download/WindowsInstaller/Install/2.0/NT45/EN-US/InstMsiW.exe failed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment