I want to run a command in Wine



  • wget -c https://aka.ms/vs/15/release/vs_BuildTools.exe \
    && xvfb-run wine vs_BuildTools.exe --passive --wait --norestart --nocache --installPath C:\\BuildTools \
            --add Microsoft.VisualStudio.Workload.VCTools \
            --add Microsoft.VisualStudio.Component.VC.140 \
            --add Microsoft.VisualStudio.Component.WinXP
    

    What do I need to install in the wine prefix beforehand to get this command to work?


  • Java Dev

    @ben_lubar Looks like a visual studio component. Apart from that, I don't think I can help. If it's tricky to install, winetricks may help.



  • $ winetricks dotnet46 seems to be a necessity (installer doesn't even show its interface without it).

    You'll also need a new enough wine (at least >2.0, I guess) with enough functions implemented in ncrypt.dll. Since the newest I have right now is 2.0 and the downloaded C:\Program Files\Microsoft Visual Studio\Installer\vs_installershell.exe crashes under it, I didn't look further, sorry.


Log in to reply