SourceTree Deployable Installer

Hi,

Is there an offline installer of this I can use to deploy organization wide?

Thanks

3 answers

1 accepted

We distribute .NET 4.5 via SCCM asynchronous to startup / login (ie. in the background of the user session), so giving a computer this and .NET 4.5 together will inherently fail, as the installer hangs and has a cry when it doesn't have its prereqs.

Extracting the installer, I was able to merge the cab into the msi inside, creating an installer which will install without .NET 4.5 present. When you try to run it it will still prompt for .NET, but in most cases it will have already been installed by SCCM.

As background - after extracting the installer to get the .msi and the .cab, I did as we would usually do and attempted to script it to run from a unc path with the cab in the same directory but to no avail. Only merging the cab into the msi worked.

Not sure why you didn't just provide the MSI in the first place? Was it only for the .NET check?

Additionally, i'm trying to find a way now to easily script the git location and username. These seem to be stored in the user profile under folders named with random strings - not very scriptable. Can you advise the best way to go about this so the user isn't prompted at first run?

Thanks

Yes, we needed the wrapper exe for the bootstrap procedure to make sure people are prompted to install .Net 4.5 if they don't have it. The assumption is that sysadmins who want to bypass this can extract the MSI if they need to anyway (you guys know what you're doing :)) and the default for everyone else should be the simplest, one-stop process. I've had some feedback from a sysadmin who deployed it across 100+ machines that way after extracting. He didn't mention it still prompting for .Net 4.5 but maybe he'd automatically deployed that already too - you'd need to to run the app.

About scripting the rest: SourceTree will detect a system-installed git from git-scm.com, so long as it's either on the path ('where git') or in the default location (Program Files (x86)\Git). Then you won't get prompted to download an embedded git version.

The git user name & email can be scripted - just populate %USERPROFILE%\.gitconfig with user settings, SourceTree will pick those up.

Yes, we needed the wrapper exe for the bootstrap procedure to make sure people are prompted to install .Net 4.5 if they don't have it. The assumption is that sysadmins who want to bypass this can extract the MSI if they need to anyway (you guys know what you're doing :)) and the default for everyone else should be the simplest, one-stop process. I've had some feedback from a sysadmin who deployed it across 100+ machines that way after extracting. He didn't mention it still prompting for .Net 4.5 but maybe he'd automatically deployed that already too - you'd need to to run the app.

About scripting the rest: SourceTree will detect a system-installed git from git-scm.com, so long as it's either on the path ('where git') or in the default location (Program Files (x86)\Git). Then you won't get prompted to download an embedded git version.

The git user name & email can be scripted - just populate %USERPROFILE%\.gitconfig with user settings, SourceTree will pick those up.

Hi there,

Yes there is now, please see the following link and read Steve's answer carefully to understand why we don't recommend this: https://answers.atlassian.com/questions/149591/is-there-an-offline-installer-for-windows-version-of-sourcetree

Cheers

There's actually a better option for you now, we've introduced a new installer than can be used to deploy in bulk if you like: http://blog.sourcetreeapp.com/2013/05/13/new-installer-updater-for-sourcetree-for-windows/

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Oct 23, 2018 in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

841 views 3 2
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you