Skip to content

Instantly share code, notes, and snippets.

@qianyan
Created September 1, 2015 06:59
Show Gist options
  • Save qianyan/cc39e60c311c12268586 to your computer and use it in GitHub Desktop.
Save qianyan/cc39e60c311c12268586 to your computer and use it in GitHub Desktop.
SourceTreeSetup_1.6.20.exe /extract
msiexec /a SourceTreeSetup_1.6.20.msi /qb TARGETDIR="%temp%\SourceTree"
xcopy "%temp%\SourceTree" "C:\Dev\sourceTree" /S
rmdir "%temp%\SourceTree" /S
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment