Do you have a comment or suggestion to improve SQL Server? We’d love to hear it!

SSMS 18 fails to install when log path contains spaces

When executing SSMS-Setup-ENU.exe with the /Log argument that points to a directory path that contains spaces, the install fails.

This appears to be because the quoted log path is not passed correctly to VSTS_setup.exe.

Compare the two extracts from install log files. The first fails, whereas the second succeeds.

[43E0:4374][2019-04-29T14:01:56]i301: Applying execute package: VSTA2017, action: Install, path: C:\ProgramData\Package Cache\BBABC3362FBBB5C3B3543B252A5D7E5C9D9E6B36\redist\vsta_setup.exe, arguments: '"C:\ProgramData\Package Cache\BBABC3362FBBB5C3B3543B252A5D7E5C9D9E6B36\redist\vsta_setup.exe" /q /norestart /log C:\Users\David\AppData\Local\Temp\\chocolatey\\SQL Server Management Studio\SQL Server Management Studio.MsiInstall_6_VSTA2017.log'
[43A4:43A0][2019-04-29T14:01:56]i000: MainViewModel.OnPackageActionProgress: Percent completed: 50, Overall progress: 50
[43A4:43A0][2019-04-29T14:01:56]i000: MainViewModel.OnPackageActionProgress: Percent completed: 50, Overall progress: 50
[43A4:43A0][2019-04-29T14:01:57]i000: MainViewModel.OnPackageActionProgress: Percent completed: 50, Overall progress: 50
[43A4:43A0][2019-04-29T14:01:57]i000: MainViewModel.OnPackageActionProgress: Percent completed: 50, Overall progress: 50
[43E0:4374][2019-04-29T14:01:58]e000: Error 0x80070643: Process returned error: 0x643

[1F74:4584][2019-04-29T14:04:28]i301: Applying execute package: VSTA2017, action: Install, path: C:\ProgramData\Package Cache\BBABC3362FBBB5C3B3543B252A5D7E5C9D9E6B36\redist\vsta_setup.exe, arguments: '"C:\ProgramData\Package Cache\BBABC3362FBBB5C3B3543B252A5D7E5C9D9E6B36\redist\vsta_setup.exe" /q /norestart /log C:\Users\David\AppData\Local\Temp\chocolatey\SSMS\SSMS_6_VSTA2017.log'
[4550:43D8][2019-04-29T14:04:28]i000: MainViewModel.OnPackageActionProgress: Percent completed: 50, Overall progress: 50
[4550:43D8][2019-04-29T14:04:28]i000: MainViewModel.OnPackageActionProgress: Percent completed: 50, Overall progress: 50
[4550:43D8][2019-04-29T14:04:29]i000: MainViewModel.OnPackageActionProgress: Percent completed: 50, Overall progress: 50
[4550:43D8][2019-04-29T14:04:29]i000: MainViewModel.OnPackageActionProgress: Percent completed: 50, Overall progress: 50
[4550:43D8][2019-04-29T14:04:30]i000: MainViewModel.OnPackageActionProgress: Percent completed: 50, Overall progress: 50
[4550:43D8][2019-04-29T14:04:30]i000: MainViewModel.OnPackageActionProgress: Percent completed: 50, Overall progress: 50

2 votes
Sign in
(thinking…)
Sign in with: Microsoft
Signed in as (Sign out)

We’ll send you updates on this idea

David Gardiner shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

7 comments

Sign in
(thinking…)
Sign in with: Microsoft
Signed in as (Sign out)
Submitting...
  • Donald Ten commented  ·   ·  Flag as inappropriate

    Looks like version 18.1 was just posted. Release Notes points back to this forum entry saying it is fixed.

  • Donald Ten commented  ·   ·  Flag as inappropriate

    My error looks the same:

    [1878:5068][2019-06-11T10:53:37]i000: MainViewModel.OnPackageActionProgress: Percent completed: 100, Overall progress: 41
    [1878:5068][2019-06-11T10:53:38]i000: MainViewModel.OnPackageAction: Install Completed for package Microsoft Analysis Services OLE DB Provider
    [1878:5068][2019-06-11T10:53:38]i319: Applied execute package: sql_as_oledb_x86, result: 0x0, restart: None
    [3A98:3A90][2019-06-11T10:53:38]i325: Registering dependency: {2d54e901-e51d-41e2-8161-2adaa6a700d6} on package provider: {C98ED707-8AA5-44CA-AE70-75B4DA5A89AF}, package: sql_as_oledb_x86
    [3A98:3A90][2019-06-11T10:53:38]i323: Registering package dependency provider: {AAA9F15B-AF45-4562-9991-93A848D3A902}, version: 15.0.28307.421, package: VS2017IsoShellForSSMS
    [3A98:3A90][2019-06-11T10:53:38]i325: Registering dependency: {2d54e901-e51d-41e2-8161-2adaa6a700d6} on package provider: {AAA9F15B-AF45-4562-9991-93A848D3A902}, package: VS2017IsoShellForSSMS
    [1878:5068][2019-06-11T10:53:38]i000: MainViewModel.OnPackageAction: Install Started for package Microsoft Visual Studio Tools for Applications 2017
    [1878:5068][2019-06-11T10:53:38]i000: MainViewModel.OnPackageActionProgress: Percent completed: 0, Overall progress: 41
    [3A98:3A90][2019-06-11T10:53:38]i301: Applying execute package: VSTA2017, action: Install, path: C:\ProgramData\Package Cache\BBABC3362FBBB5C3B3543B252A5D7E5C9D9E6B36\redist\vsta_setup.exe, arguments: '"C:\ProgramData\Package Cache\BBABC3362FBBB5C3B3543B252A5D7E5C9D9E6B36\redist\vsta_setup.exe" /q /norestart /log C:\Users\John Doe\AppData\Local\Temp\SsmsSetup\SSMS-Setup-ENU_20190611105259_5_VSTA2017.log'
    [1878:5068][2019-06-11T10:53:38]i000: MainViewModel.OnPackageActionProgress: Percent completed: 50, Overall progress: 45
    [1878:5068][2019-06-11T10:53:38]i000: MainViewModel.OnPackageActionProgress: Percent completed: 50, Overall progress: 45
    [1878:5068][2019-06-11T10:53:39]i000: MainViewModel.OnPackageActionProgress: Percent completed: 50, Overall progress: 45
    [1878:5068][2019-06-11T10:53:39]i000: MainViewModel.OnPackageActionProgress: Percent completed: 50, Overall progress: 45
    [3A98:3A90][2019-06-11T10:53:39]e000: Error 0x80070643: Process returned error: 0x643
    [3A98:3A90][2019-06-11T10:53:39]e000: Error 0x80070643: Failed to execute EXE package.
    [1878:5068][2019-06-11T10:53:39]e000: Error 0x80070643: Failed to configure per-machine EXE package.
    [1878:5068][2019-06-11T10:53:39]i000: MainViewModel.OnPackageAction: Install Completed for package Microsoft Visual Studio Tools for Applications 2017
    [1878:5068][2019-06-11T10:53:39]i319: Applied execute package: VSTA2017, result: 0x80070643, restart: None
    [1878:5068][2019-06-11T10:53:39]e000: Error 0x80070643: Failed to execute EXE package.
    [3A98:3A90][2019-06-11T10:53:39]i326: Removed dependency: {2d54e901-e51d-41e2-8161-2adaa6a700d6} on package provider: {AAA9F15B-AF45-4562-9991-93A848D3A902}, package VS2017IsoShellForSSMS
    [3A98:3A90][2019-06-11T10:53:39]i329: Removed package dependency provider: {AAA9F15B-AF45-4562-9991-93A848D3A902}, package: VS2017IsoShellForSSMS
    [3A98:3A90][2019-06-11T10:53:39]i326: Removed dependency: {2d54e901-e51d-41e2-8161-2adaa6a700d6} on package provider: {C98ED707-8AA5-44CA-AE70-75B4DA5A89AF}, package sql_as_oledb_x86
    [1878:5068][2019-06-11T10:53:39]i000: MainViewModel.OnPackageAction: Install Started for package Microsoft Analysis Services OLE DB Provider
    [3A98:3A90][2019-06-11T10:53:39]i301: Applying rollback package: sql_as_oledb_x86, action: Uninstall, path: C:\ProgramData\Package Cache{C98ED707-8AA5-44CA-AE70-75B4DA5A89AF}v15.0.1300.359\x86\sql_as_oledb.msi, arguments: ' ARPSYSTEMCOMPONENT="1" MSIFASTINSTALL="7" AddLocal="SQL_OLAPDM"'

  • Donald Ten commented  ·   ·  Flag as inappropriate

    I am not sure if this is a space issue as I get the error on one machine but not in another one.

Feedback and Knowledge Base