Home > files > Best way to specify the path on where to install something

Best way to specify the path on where to install something

January 29Hits:1
Advertisement

I have encountered this annoyance a thousand times when installing software: setting the path on where to install the software.

Too many times have I been into the trouble of cleaning up a messy installation. I remember one time when I was installing that hex editor in which I specified the installation directory different to the default. I have set it to my custom programs-directory, D:\Programs\. That is when my head started to ache: the directory's now full of garbage. Filth! .exes and .dlls are what I see most in it, in addition to some folders I have almost mistaken for crapwares.

Now I am more careful, and paranoid. I now put my installs in their own container directories, in subdirectories of D:\Programs\. Still, carefulness has its price. I now encounter more "double directory" installs than the number of mess-prevented installs.

Here is my point: How should I prompt the user for installation directories, especially if they are required to set it? How can I make the request more intuitive and less error prone?

Note that I also mean this for save directories, configurations, etc.

Answers

Most operating systems have a dialog box specifically for this, and this is what should be used. The dialog box usually looks much like a file selection dialog, but only directories can be selected with it.

There are other answers to your question that suggest to not give the user the option to specify the directory. This is generally a bad idea. I've seen people stop the process and spend 20 minutes trying to figure out how to specify the directory they want, and get angry when they discover they can't. There are a few cases in which the user shouldn't be able to specify the directory, that is the software won't work unless files are in a specific directory, but outside of those cases the user should have control. The directory choosing dialog box can be set to a default directory as a suggestion, but (in most cases) the user should be able to choose.

Here is my point: How should I prompt the user for installation directories, especially if they are required to set it? How can I make the request more intuitive and less error prone?

You shouldn't. Use default path!

Look at Mac OS X. It has one of the simplest installation procedure I've ever seen (now it's often done through App Store which always installs apps into the Application folder):

Best way to specify the path on where to install something

You just need to drag and drop an App to the Applications folder symlink. That's all.

Related Articles

  • Best way to specify the path on where to install something

    Best way to specify the path on where to install somethingJanuary 29

    I have encountered this annoyance a thousand times when installing software: setting the path on where to install the software. Too many times have I been into the trouble of cleaning up a messy installation. I remember one time when I was installing

  • gcc path not valid when installing VMWare Tools from VMWare Workstation 7.1.1 build-282343 on Debian squeezeSeptember 23

    I am trying to install VMWare tools on Debian Squeeze. My error: Before you can compile modules, you need to have the following installed... make gcc kernel headers of the running kernel Searching for GCC... The path "/usr/bin/gcc" is not valid

  • Changing the default installation path to a newly installed hard diskFebruary 24

    I am currently working on a dual-booted PC. I am using Windows XP and Ubuntu 10.04 Lucid Lynx released in April 2010. The allocated partition to Ubuntu that I am making use of has almost exhausted. Current memory allocations on the PC wrt Ubuntu OS l

  • adduser and addgroup in $PATH with apt-get installFebruary 8

    After upgrading a server from Debian Lenny to Squeeze, I have a problem with the updates of dbus and vsftpd. I get the following error message (translated from German by Google Translate): dbus (1.2.24-4 + squeeze1) is set up ... adduser: No program

  • Is it possible to change the path of modules/themes installed using an installation profile?April 18

    I have a site which has a profile which downloads a number of modules using drush make. It adds the modules in the path /profiles/profile_name/modules. Is it possible in the make file of the profile to change the path to where the modules and themes

  • Latex on Linux: Path problem after new install of TeX LiveMay 2

    UPDATE: between the suggestions made in comments, and Andrew Stacey's patient walkthrough/diagnostic, the problem was eventually solved by correcting a faulty environment variable in the bashrc. It's not entirely clear to me if this was the only prob

  • Path is unknown when installing JustCloudSeptember 17

    I am trying to install JustCloud on a new install of Ubuntu 14.04. JustCloud on Linux/Ubuntu says I need to run: sudo apt-get install rdiff librsync1 sudo dpkg -i ./JustCloud_64.deb before installing JustCloud. Did the first one. The instruction on t

  • how to set target path in rules or install files within debian directoryMarch 8

    I have a large project of C# where we have the following files and folders: •A few .dll files •folders that contain database files •A script file •A .exe file This product will be installed on end user system my employer has already selected, using U

  • Path to clean to installing ispconfig 3

    Path to clean to installing ispconfig 3August 27

    Hi to all, is a lot of time that i'm not using ispconfig, i need to clean an existing ubuntu lucid with previous web control panel "openpanel" to install ispconfig3. What are the path apache mysql etc..to delete all other old configuration and t

  • PATH variable for newly installed executable filesDecember 6

    I am installing a series of programs for bioinformatics purposes; I am installing the folders of these packages in /usr/local/lib/ and creating soft links to the executable files in /usr/bin/ so I am expecting to have them visible in the environment.

  • 'Git not installed or path not specified' while installing bower components even after having git & the path variables as given in stackoverflow

    'Git not installed or path not specified' while installing bower components even after having git & the path variables as given in stackoverflowFebruary 11

    Im working on a project that requires bower components from Git and its not being installed even after i having GIT in my system. I have also set the path to git/cmd. The configs are : Windows7; GIT is 2.7.0.windows1 and the Path is programfiles/git/

  • Changed Program Files path but programs still install on C:\ drive

    Changed Program Files path but programs still install on C:\ driveNovember 6

    I have recently upgraded to an SSD drive (Intel 80GB) and I have a 500GB drive to which I have most of my data and programs installed. I have changed the following registry entries and rebooted several times but programs still install in C:\Program F

  • How do I modify the include path during a source install?September 6

    I'm trying a source install (configure, make) on FreeBSD but I get this error: error: foo.h: No such file or directory although the file does exist at /usr/local/include/foo.h so I guess the compiler is not looking in /usr/local/include . How do I ma

  • How do I set a path permanently? July 22

    How do I add a directory to my $PATH in Ubuntu and make the changes permanent? --------------Solutions------------- Using ~/.profile to set $PATH A path set in .bash_profile will only be set in a bash login shell (bash -l). If you put your path in .p

  • Add current folder as one default path to look for executable July 22

    How do I add a directory to my $PATH in Ubuntu and make the changes permanent? --------------Solutions------------- Using ~/.profile to set $PATH A path set in .bash_profile will only be set in a bash login shell (bash -l). If you put your path in .p

  • How to add samtools in the PATH permanently July 22

    How do I add a directory to my $PATH in Ubuntu and make the changes permanent? --------------Solutions------------- Using ~/.profile to set $PATH A path set in .bash_profile will only be set in a bash login shell (bash -l). If you put your path in .p

  • Where to export a PATH from? July 22

    How do I add a directory to my $PATH in Ubuntu and make the changes permanent? --------------Solutions------------- Using ~/.profile to set $PATH A path set in .bash_profile will only be set in a bash login shell (bash -l). If you put your path in .p

  • What is the longest file path that Windows can handle?July 29

    What is the longest file path that Windows can handle? --------------Solutions------------- Maximum Path Length (from MSDN) In the Windows API (with some exceptions discussed in the following paragraphs), the maximum length for a path is MAX_PATH, wh

  • How is it possible for file paths exceeding 256 characters to be created? July 29

    What is the longest file path that Windows can handle? --------------Solutions------------- Maximum Path Length (from MSDN) In the Windows API (with some exceptions discussed in the following paragraphs), the maximum length for a path is MAX_PATH, wh

  • tips about easy alternative/management of PATH in windowsDecember 28

    I come from Linux where I'm used to the fact that most applications install to /usr/bin and my tools I put in ~/bin. This means I rarely need to modify the PATH variable. Since I work as a developer, I need to use the command line. I plan to use powe

Copyright (C) 2018 ceus-now.com, All Rights Reserved. webmaster#ceus-now.com 14 q. 0.664 s.