Skip to content

Commit

Permalink
Add Microsoft Visual C++ Redistributable Packages 2008, 2010, 2012, 2…
Browse files Browse the repository at this point in the history
…013, 2015 and 2017
  • Loading branch information
r15ch13 committed Apr 2, 2017
1 parent 0d33080 commit 42c230c
Show file tree
Hide file tree
Showing 7 changed files with 126 additions and 0 deletions.
24 changes: 24 additions & 0 deletions vcredist.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"homepage": "https://www.visualstudio.com/de/downloads/",
"version": "14.10.25008",
"url": [
"https://download.microsoft.com/download/6/2/4/62418bd0-eeda-453f-89e5-1da35666df77/vc_redist.x64.exe",
"https://download.microsoft.com/download/c/5/6/c56afe49-cc0d-40b2-b264-230cea266bc6/vc_redist.x86.exe"
],
"hash": [
"dc00604afa23d02c24d03db9e811ded335e869d749ff91bcc8585149f10b0410",
"1430a5b9372ff3bad851afcae3b920d353fecfd8c7d57c20e3030c5f28260017"
],
"post_install": "
run \"$dir/vc_redist.x64.exe\" \"/install /passive /norestart\"
run \"$dir/vc_redist.x86.exe\" \"/install /passive /norestart\"
",
"notes": "You can now remove all vcredist installers with 'scoop uninstall vcredist vcredist2008 vcredist2010 vcredist2012 vcredist2013 vcredist2015 vcredist2017'",
"depends" : [
"vcredist2008",
"vcredist2010",
"vcredist2012",
"vcredist2013",
"vcredist2015"
]
}
17 changes: 17 additions & 0 deletions vcredist2008.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"homepage": "https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads",
"version": "9.0.30729",
"url": [
"https://download.microsoft.com/download/5/D/8/5D8C65CB-C849-4025-8E95-C3966CAFD8AE/vcredist_x64.exe",
"https://download.microsoft.com/download/5/D/8/5D8C65CB-C849-4025-8E95-C3966CAFD8AE/vcredist_x86.exe"
],
"hash": [
"b811f2c047a3e828517c234bd4aa4883e1ec591d88fad21289ae68a6915a6665",
"6b3e4c51c6c0e5f68c8a72b497445af3dbf976394cbb62aa23569065c28deeb6"
],
"post_install": "
run \"$dir/vcredist_x64.exe\" \"/qb\"
run \"$dir/vcredist_x86.exe\" \"/qb\"
",
"notes": "You can now remove this installer with 'scoop uninstall vcredist2008'"
}
17 changes: 17 additions & 0 deletions vcredist2010.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"homepage": "https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads",
"version": "10.0.40219",
"url": [
"https://download.microsoft.com/download/1/6/5/165255E7-1014-4D0A-B094-B6A430A6BFFC/vcredist_x64.exe",
"https://download.microsoft.com/download/1/6/5/165255E7-1014-4D0A-B094-B6A430A6BFFC/vcredist_x86.exe"
],
"hash": [
"cc7ec044218c72a9a15fca2363baed8fc51095ee3b2a7593476771f9eba3d223",
"67313b3d1bc86e83091e8de22981f14968f1a7fb12eb7ad467754c40cd94cc3d"
],
"post_install": "
run \"$dir/vcredist_x64.exe\" \"/passive /norestart\"
run \"$dir/vcredist_x86.exe\" \"/passive /norestart\"
",
"notes": "You can now remove this installer with 'scoop uninstall vcredist2010'"
}
17 changes: 17 additions & 0 deletions vcredist2012.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"homepage": "https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads",
"version": "11.0.61030",
"url": [
"https://download.microsoft.com/download/1/6/B/16B06F60-3B20-4FF2-B699-5E9B7962F9AE/VSU_4/vcredist_x64.exe",
"https://download.microsoft.com/download/1/6/B/16B06F60-3B20-4FF2-B699-5E9B7962F9AE/VSU_4/vcredist_x86.exe"
],
"hash": [
"681be3e5ba9fd3da02c09d7e565adfa078640ed66a0d58583efad2c1e3cc4064",
"b924ad8062eaf4e70437c8be50fa612162795ff0839479546ce907ffa8d6e386"
],
"post_install": "
run \"$dir/vcredist_x64.exe\" \"/passive /norestart\"
run \"$dir/vcredist_x86.exe\" \"/passive /norestart\"
",
"notes": "You can now remove this installer with 'scoop uninstall vcredist2012'"
}
17 changes: 17 additions & 0 deletions vcredist2013.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"homepage": "https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads",
"version": "12.0.40660",
"url": [
"https://download.microsoft.com/download/0/5/6/056dcda9-d667-4e27-8001-8a0c6971d6b1/vcredist_x64.exe",
"https://download.microsoft.com/download/0/5/6/056dcda9-d667-4e27-8001-8a0c6971d6b1/vcredist_x86.exe"
],
"hash": [
"20e2645b7cd5873b1fa3462b99a665ac8d6e14aae83ded9d875fea35ffdd7d7e",
"89f4e593ea5541d1c53f983923124f9fd061a1c0c967339109e375c661573c17"
],
"post_install": "
run \"$dir/vcredist_x64.exe\" \"/install /passive /norestart\"
run \"$dir/vcredist_x86.exe\" \"/install /passive /norestart\"
",
"notes": "You can now remove this installer with 'scoop uninstall vcredist2013'"
}
17 changes: 17 additions & 0 deletions vcredist2015.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"homepage": "https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads",
"version": "14.0.24215",
"url": [
"https://download.microsoft.com/download/6/A/A/6AA4EDFF-645B-48C5-81CC-ED5963AEAD48/vc_redist.x64.exe",
"https://download.microsoft.com/download/6/A/A/6AA4EDFF-645B-48C5-81CC-ED5963AEAD48/vc_redist.x86.exe"
],
"hash": [
"da66717784c192f1004e856bbcf7b3e13b7bf3ea45932c48e4c9b9a50ca80965",
"12a69af8623d70026690ba14139bf3793cc76c865759cad301b207c1793063ed"
],
"post_install": "
run \"$dir/vc_redist.x64.exe\" \"/install /passive /norestart\"
run \"$dir/vc_redist.x86.exe\" \"/install /passive /norestart\"
",
"notes": "You can now remove this installer with 'scoop uninstall vcredist2015'"
}
17 changes: 17 additions & 0 deletions vcredist2017.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"homepage": "https://www.visualstudio.com/de/downloads/",
"version": "14.10.25008",
"url": [
"https://download.microsoft.com/download/6/2/4/62418bd0-eeda-453f-89e5-1da35666df77/vc_redist.x64.exe",
"https://download.microsoft.com/download/c/5/6/c56afe49-cc0d-40b2-b264-230cea266bc6/vc_redist.x86.exe"
],
"hash": [
"dc00604afa23d02c24d03db9e811ded335e869d749ff91bcc8585149f10b0410",
"1430a5b9372ff3bad851afcae3b920d353fecfd8c7d57c20e3030c5f28260017"
],
"post_install": "
run \"$dir/vc_redist.x64.exe\" \"/install /passive /norestart\"
run \"$dir/vc_redist.x86.exe\" \"/install /passive /norestart\"
",
"notes": "You can now remove this installer with 'scoop uninstall vcredist2017'"
}

3 comments on commit 42c230c

@rasa
Copy link
Member

@rasa rasa commented on 42c230c Apr 10, 2017

Choose a reason for hiding this comment

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

@r15ch13 Forgive my ignorance, but why not have vcredist simply depend on vcredist2017? Does scoop not support a depends-only metapackage?

@r15ch13
Copy link
Member Author

Choose a reason for hiding this comment

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

It currently doesn't support metapackages. The url field is mandatory.

@rasa
Copy link
Member

@rasa rasa commented on 42c230c Apr 10, 2017

Choose a reason for hiding this comment

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

Oh right, I hit my head on that too a while back.

Please sign in to comment.