question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to set install directory

See original GitHub issue

Description

I have multiple partitions on my HDD and one of them is a “Programs” partition so that I don’t fill the C drive with all the programs (and also so that I can avoid UAC issues with programs). Having a dedicated Programs partition also makes it easier to identify the folder that a program is in (rather than having to sift through AppData and/or Program Files( (x86)).

When installing Git For Desktop (mainly so I don’t have to faff around with credentials and/or ssh keys when using bash), it didn’t even give me the option to choose the install directory. This seems like a ‘must have’ for installers so the fact that it doesn’t even have an install directory option is rather peculiar.

Version

  • GitHub Desktop: 1.1.1
  • Operating system: Windows 8.1

Steps to Reproduce

Expected Behavior

The installer lets me choose the Installation Directory

Actual Behavior

The installer forces the Installation Directory to be %APPDATA%\Local\GitHubDesktop

Additional Information

Logs

Edits

Latest

I said the install directory was “%APPDATA%\Roaming\Github Desktop” but infact it is "%APPDATA%\Local\GitHubDesktop

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:3
  • Comments:15 (1 by maintainers)

github_iconTop GitHub Comments

21reactions
animanoircommented, Apr 10, 2020

This fad of installing software without asking where to should disappear.

11reactions
KulaGGincommented, Jun 22, 2019

Same here, GitHub Desktop installed itself into %localappdata%\GitHubDesktop\ without asking me where I want to install it. My Windows 10 is on SSD and I have a dedicated logical drive and a folder for programs D:\Programs\ where I install all my programs.

Please, implement a feature which will let us set where we want GitHubDesktop installed and will install it in that directory respectively.

And before you do that, can you guys tell me what should I change to manually change install location? It’s probably a few registry keys and paths in System Variables, right?

I am thinking to move GiHubDesktop folder to D:\Programs\ by creating a Junction symlink with mklink /J "%localappdata%\GitHubDesktop\" "D:\Programs\GiHubDesktop" as a quick hack. If someone wants to move it using mklink, cut and paste your GitHubDesktop directory where you want it, then drop the command(with quotes) in command line window(with edited target path where you moved your GitHubDesktop folder, of course)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Failed to create an installation directory - Microsoft Community
Go to Start> Settings> Update and Security and> Troubleshoot> Windows Update. Now, the most common cause in Windows update problems is the ...
Read more >
Setup Was Unable To Create The Directory | Error 2 (FIXED)
Setup Was Unable To Create The Directory | Error 2 (FIXED) The system can not find the File Specified.If you are getting this...
Read more >
Can't choose installation directory - Visual Studio Feedback
Today i'm using the installation software version 1.12.111.1002 and I still can't choose where it's gonna put all the file !
Read more >
Change Default Installation Folder For Windows Apps
Navigate to the following: Settings app >> Apps >> Apps & features · Here, look for the app that you want to move...
Read more >
How to Fix "Installation Failed: Could Not Create Directory"
If your site's permissions settings are causing the “Installation failed: could not create directory error,” you can resolve it by resetting ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found