Skip to content

Conversation

@shebnik
Copy link

@shebnik shebnik commented Dec 19, 2025

Questions

Describe your pull request

Problem

The current aka.ms URLs for Visual C++ 2013 redistributables defined in SOFTWARE.ps1 (https://aka.ms/highdpimfc2013x64enu and https://aka.ms/highdpimfc2013x86enu) are not working and just redirecting to bing.com search site, causing installation failures for Visual C++ Runtime 2013 during the AtlasOS playbook execution.

Error encountered:

--------------------------------------------------
[Status] Installing utilities
--------------------------------------------------

---
[Info | 22:03:15] Running PowerShell command '.\SOFTWARE.ps1' as the current user elevated...
[Process | Out | 22:03:15] Downloading and installing Visual C++ Runtime 2005-x64...
[Process | Out | 22:03:17] Downloading and installing Visual C++ Runtime 2005-x86...
[Process | Out | 22:03:19] Downloading and installing Visual C++ Runtime 2008-x64...
[Process | Out | 22:03:21] Downloading and installing Visual C++ Runtime 2008-x86...
[Process | Out | 22:03:24] Downloading and installing Visual C++ Runtime 2010-x64...
[Process | Out | 22:03:33] Downloading and installing Visual C++ Runtime 2010-x86...
[Process | Out | 22:03:45] Downloading and installing Visual C++ Runtime 2012-x64...
[Process | Out | 22:03:47] Downloading and installing Visual C++ Runtime 2012-x86...
[Process | Out | 22:03:50] Downloading and installing Visual C++ Runtime 2013-x64...
[Process | Err | 22:03:51] Start-Process : This command cannot be run due to the error: The file or directory is corrupted and unreadable.
[Process | Err | 22:03:51] At C:\Users\Nikita\AppData\Local\Temp\AME\Playbooks\00000000-0000-4000-6174-6C6173203A33\Executables\SOFTWARE.ps1:147 
[Process | Err | 22:03:51] char:9
[Process | Err | 22:03:51] +         Start-Process -FilePath $vcExePath -ArgumentList $vcArgs -Wai ...
[Process | Err | 22:03:51] +         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Process | Err | 22:03:51]     + CategoryInfo          : InvalidOperation: (:) [Start-Process], InvalidOperationException
[Process | Err | 22:03:51]     + FullyQualifiedErrorId : InvalidOperationException,Microsoft.PowerShell.Commands.StartProcessCommand
[Process | Err | 22:03:51]  
[Process | Out | 22:03:51] Downloading and installing Visual C++ Runtime 2013-x86...
[Process | Err | 22:03:51] Start-Process : This command cannot be run due to the error: The file or directory is corrupted and unreadable.
[Process | Err | 22:03:51] At C:\Users\Nikita\AppData\Local\Temp\AME\Playbooks\00000000-0000-4000-6174-6C6173203A33\Executables\SOFTWARE.ps1:147 
[Process | Err | 22:03:51] char:9
[Process | Err | 22:03:51] +         Start-Process -FilePath $vcExePath -ArgumentList $vcArgs -Wai ...
[Process | Err | 22:03:51] +         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Process | Err | 22:03:51]     + CategoryInfo          : InvalidOperation: (:) [Start-Process], InvalidOperationException
[Process | Err | 22:03:51]     + FullyQualifiedErrorId : InvalidOperationException,Microsoft.PowerShell.Commands.StartProcessCommand
[Process | Err | 22:03:51]  
[Process | Out | 22:03:51] Downloading and installing Visual C++ Runtime 2015+-x64...
[Process | Out | 22:04:03] Downloading and installing Visual C++ Runtime 2015+-x86...
[Process | Out | 22:04:15] Downloading NanaZip...
[Process | Out | 22:04:15] Downloading 'NanaZip_5.0.1263.0.msixbundle'...
[Process | Out | 22:04:17] Downloading 'NanaZip_5.0.1263.0.xml'...
[Process | Out | 22:04:17] Installing NanaZip...
[Process | Out | 22:04:19] Installed NanaZip!
[Process | Out | 22:04:23] Extracting legacy DirectX runtimes...
[Process | Out | 22:04:26] Installing legacy DirectX runtimes...
---

Solution

Updated to use direct download.visualstudio.microsoft.com URLs that provide working downloads:

Both URLs provide Visual C++ 2013 version 12.0.40664.0 and have been tested to work correctly.

Changes

  • Updated src/playbook/Executables/SOFTWARE.ps1 with the new download URLs

The previous aka.ms URLs for Visual C++ 2013 redistributables (highdpimfc2013x64enu and highdpimfc2013x86enu) were not working and just redirecting to bing.com search site, causing installation failures with 'The file or directory is corrupted and unreadable' errors.

Updated to use direct download.visualstudio.microsoft.com URLs:
- x64: https://download.visualstudio.microsoft.com/download/pr/10912041/cee5d6bca2ddbcd039da727bf4acb48a/vcredist_x64.exe
- x86: https://download.visualstudio.microsoft.com/download/pr/10912113/5da66ddebb0ad32ebd4b922fd82e8e25/vcredist_x86.exe

These URLs provide working downloads of Visual C++ 2013 version 12.0.40664.0.
Copilot AI review requested due to automatic review settings December 19, 2025 14:05
@github-actions github-actions bot added the playbook Playbook related issues/PRs label Dec 19, 2025
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request fixes broken Visual C++ 2013 redistributable download URLs in the AtlasOS playbook installation script. The previous aka.ms URLs were redirecting to Bing search instead of providing the expected downloads, causing installation failures.

  • Replaced non-functional aka.ms shortlinks with direct download.visualstudio.microsoft.com URLs
  • Both x64 and x86 URLs updated to provide version 12.0.40664.0 of the Visual C++ 2013 redistributable

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot <[email protected]>
Copy link
Member

@pencilnav pencilnav left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

ps.

These links are extracted directly from Microsoft's docs.
They didnt changed any of these invalid short links to a valid one in their docs LOL

Copy link
Member

@TheyCreeper TheyCreeper left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@RadNotRed RadNotRed merged commit 0f0533c into Atlas-OS:new-update Dec 31, 2025
1 check passed
@RadNotRed
Copy link
Member

thank you!

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

Labels

playbook Playbook related issues/PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants