PDA

View Full Version : Display 'New Folder' while browsing for Install Directory



PodHunter
10-16-2014, 04:16 AM
My app. DLL must be delivered to an existing sub-folder of a third-party's installation. When user is presented with the Select Install Folder dialog and elects to Change the location, they see a Windows standard Browse for Folder dialog.

The Browse for Folder dialog has a Create New Folder button. But I don't want user to be able to create a new folder, choose only an existing folder. Is it possible to remove that button from the folder browser dialog?

linder
10-16-2014, 04:33 AM
Hello,

No, you can't suppress the "Make New Folder" option.

Question: why do you display the "Select Install Folder" at all? As I understand it, you have to install into an existing third-party folder. So if you know that the 3rd-party product does exist then you also have the installation location?!

Friedrich

PodHunter
10-16-2014, 04:38 AM
If you know that the 3rd-party product does exist then you also have the installation location

Friedrich


There may be several versions of third-party app. installed
Each installation has a distinct name

linder
10-16-2014, 05:34 AM
Aha, okay. I understand. So you do not auto-detect the 3rd-party product but let the user select it manually.

Friedrich

PodHunter
10-16-2014, 06:59 AM
You do not auto-detect the 3rd-party product but let the user select it manually.

Friedrich
I'd like to auto-select. However, I haven't yet figured out how to find the most recent version of third-party's app. It requires non-trivial Registry searches.

Consequently, I ask user to select the version of third-party app. they want to install into. Since user is able to create a new folder, my app. could be installed into a location where third-party app. would not find my DLL.

linder
10-16-2014, 07:32 AM
Hello,

I have added a new option to the "Select Install Folder" dialog :) See attached screenshots.

Friedrich

PodHunter
10-16-2014, 07:55 AM
Excellent!

PodHunter
01-14-2015, 10:56 AM
Hello,

I have added a new option to the "Select Install Folder" dialog :) See attached screenshots.

Friedrich

I've updated to v8.1.4550 but don't see that option.

linder
01-15-2015, 04:19 AM
Hmm, I see this in my Select Install Folder dialog properties (see attached screenshot).

And you do not have the new "No 'Make New Folder' Button" checkbox in your properties?

Friedrich

linder
01-15-2015, 04:23 AM
BTW, you need 8.5.4640 or later.

http://www.lindersoft.com/forums/showthread.php?t=44897
http://www.lindersoft.com/forums/showthread.php?t=45164
http://www.lindersoft.com/forums/showthread.php?t=45199

Friedrich

PodHunter
02-09-2015, 03:38 AM
BTW, you need 8.5.4640 or later.


I just installed the RC. I can see and use the option. Thanks!

linder
02-09-2015, 10:50 AM
Perfect! Thanks for the update.

Friedrich