Saturday, January 23, 2016

Installing SourceTree without Admin Privileges

To extract files from SourceTreeSetup_1.6.12.exe file at the command line, type:
SourceTreeSetup_1.6.12.exe /extract
msiexec /a SourceTreeSetup_1.6.12.msi /qb TARGETDIR="%temp%\SourceTree"
xcopy "%temp%\SourceTree" "drive\PortableApps\SourceTreePortable\App\SourceTree" /S
rmdir "%temp%\SourceTree" /S