![]() |
#1 |
Junior Member
Join Date: Nov 2012
Location: Colorado
Posts: 41
|
User Friendly Install Drive Prompt
Can I incorporate a User Friendly Install Drive Prompt?
Presently I show the suggested Install Path leaving to the user to edit: C:\... to D:\... There are many reasons for the option not to install on the OS drive (C:\) Many installation packages 'hide' this option. |
![]() |
![]() |
![]() |
#2 |
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,175
|
Why would you pointlessly restrict your users like that?
Some people only have a c: drive and some people mount all their other volumes and devices in subfolders under c:. IntOp $PostCount $PostCount + 1 |
![]() |
![]() |
![]() |
#3 |
Junior Member
Join Date: Nov 2012
Location: Colorado
Posts: 41
|
Thank you fro responding.
Function InstallDirectoryRequirements offers an appropriate installation folder e.g.: Destination Folder C:\Program Files (x86)\Clark_Anderson\zThreeD [ Browse... ] The multitude would proceed with the presented choice. I prefer to put most apps on my D: drive and have seriously faltered with [ Browse... ]. My 'safest' option has been [Home] 'D' [Delete] [Enter]/[Install] I have seen a few installers that offer a hard drive selection option. Ideally, that choice would be presented, only if there were other options. If a drive is selected, it would be substituted into the original offering: D:\Program Files (x86)\Clark_Anderson\zThreeD [ Browse... ] |
![]() |
![]() |
![]() |
#4 |
Junior Member
Join Date: Nov 2012
Location: Colorado
Posts: 41
|
|
![]() |
![]() |
![]() |
#5 |
Member
Join Date: May 2007
Location: Orange County, CA, U.S.A.
Posts: 58
|
I imagine @Anders was saying that you seemed to be saying you wanted to hide the option to install to C: at all.
Anyway, if you Google "nsis drive select" this is the first entry: http://nsis.sourceforge.net/Adding_D...directory_page |
![]() |
![]() |
![]() |
#6 |
Junior Member
Join Date: Nov 2012
Location: Colorado
Posts: 41
|
Thank you for your clarification and suggested solution. I do not want to hide the primary option. I want to safely and easily expand the options.
Whether one uses C or D or ? , (x64) or (x32) it is necessary to use the basic file structure: _:\Program Files (x86)\... or _:\Program Files\... and sometimes for data: _:\Users\Public\... Again, thank you. |
![]() |
![]() |
![]() |
|
Tags |
nsis, user interface |
Thread Tools | Search this Thread |
Display Modes | |
|
|