Old 11th September 2017, 02:22   #1
anderci
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.
anderci is offline   Reply With Quote
Old 11th September 2017, 10:16   #2
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 4,588
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
Anders is offline   Reply With Quote
Old 11th September 2017, 12:19   #3
anderci
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... ]
anderci is offline   Reply With Quote
Old 15th September 2017, 02:44   #4
anderci
Junior Member
 
Join Date: Nov 2012
Location: Colorado
Posts: 41
Quote:
Originally Posted by Anders View Post
Why would you pointlessly restrict your users like that?
Thank you for responding.
I do not understand what restriction you refer to.
anderci is offline   Reply With Quote
Old 15th September 2017, 18:24   #5
Nutzzz
Junior Member
 
Join Date: May 2007
Location: Orange County, CA, U.S.A.
Posts: 11
Quote:
Originally Posted by anderci View Post
I do not understand what restriction you refer to.
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
Nutzzz is offline   Reply With Quote
Old 16th September 2017, 12:01   #6
anderci
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.
anderci is offline   Reply With Quote
Reply
Go Back   Winamp & SHOUTcast Forums > Developer Center > NSIS Discussion

Tags
nsis, user interface

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump