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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Spend the day sharpening your skills in Atlassian Cloud Organization Admin or Jira Administration, then take the exam onsite. Already ready? Take one - or more - of 12 different certification exams while you’re in Anaheim at Team' 25.
Learn more
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.