Skip to content

Instantly share code, notes, and snippets.

@lukesampson
Last active May 27, 2018 09:00
Show Gist options
  • Save lukesampson/8208023 to your computer and use it in GitHub Desktop.
Save lukesampson/8208023 to your computer and use it in GitHub Desktop.
Install script for Visual Studio 2010 (for use with Scoop).
param($dir)
write-host 'extracting msi...' -nonewline
start msiexec -arg '/a', "$dir\vs_setup.msi", '/qn', "TARGETDIR=`"$dir\tmp`"" -wait
cp $dir\tmp\* $dir -r -force
rm $dir\tmp -r -force
rm $dir\vs_setup.msi
rm $dir\vs_setup.cab
rm $dir\vs_expbsln_x64_enu.cab
write-host 'done'
@S4M04NSL4Y3R
Copy link

I have an old installer for "Visual Studio 2013 Express Windows Desktop Version 5"

Would you be interested in writing an installer script for it? Is there a specific reason why you chose 2010?

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