Download offline copy of Visual Studio 2017

Discussion in 'Mixed Languages' started by CHEF-KOCH, Dec 3, 2017.

  1. CHEF-KOCH

    CHEF-KOCH MDL Expert

    Jan 7, 2008
    1,042
    990
    60
    Cause I got sick of those dickheads not allowing us downloading a offline copy I made a small batch file.

    Code:
    @echo off
    rem Required parameters:
    rem %1 - TYPE must be a know VS 2017 edition name e.g. Enterprise , Professional ,
    rem TestProfessional , Community , TeamExplorer , TestAgent , TestController ,
    rem FeedbackClient , BuildTools .
    rem %2 - TARGETDIR is target directory for offline-copy, by default is ".\vs2017offline"
    if not "%~1"=="" (set prm="%~1") else (set prm=enterprise)
    if not "%~2"=="" (set trg="%~2") else (set trg=.\vs2017offline)
    if exist %trg% (rd /s/q %trg% > nul & md %trg%)
    if exist vs_%prm%.exe (del /f/q vs_%prm%.exe > nul)
    curl -C - -RLOSs https://aka.ms/vs/15/release/vs_%prm%.exe
    start /i vs_%prm%.exe --layout %trg%
    exit /b
    However I will update it with the needed SDK to avoid conflicts.
     
  2. CHEF-KOCH

    CHEF-KOCH MDL Expert

    Jan 7, 2008
    1,042
    990
    60
    It's not working for me, it just acts like setup which downloads the file and convert it via the offline cache. Seems you never tried it.
     
  3. BobSheep

    BobSheep MDL Guru

    Apr 19, 2010
    2,327
    1,365
    90
  4. CHEF-KOCH

    CHEF-KOCH MDL Expert

    Jan 7, 2008
    1,042
    990
    60
    Pls don't reply in any of my threads, thanks. You waste my time, you never tried it and it won't work it's a cached copy not 'offline'. Maybe learn the difference between the setup and that offline installer it's exactly the same.
     
  5. hakah

    hakah MDL Member

    Apr 4, 2014
    155
    83
    10
    Is it necessary to install offline? Sometimes there is error message pop-up? How to solve it?