Archive: Mui_page_directory


Mui_page_directory
Hi,

I've been searching for a good while now, but I do not find out how I can get the "Install" button activated without typing a backslash at the end of the directory path.

Jörg


More details please.


Yes, you're right. An important detail is missing:
I need to install in a share directly and for this purpose i use the "AllowRootDirInstall true" command". Doing so, the directory page requires to add a backslash at the end of the share name. Further subdirectories do not need a backslash.
My installer users are always irritated by this and wonder why the install button is not active.


The directory page adds the backslash initially and automatically if the user uses the Browse button. If the user writes the path on his own, he must add the ending backslash because that's how paths in Windows work. "C:" alone is the current working directory of the C drive. "C:\" is the root directory.


OK so far.

What I still do not understand (and my users as well) is why this effect is only there for the share itself but not for any further subdirectories >> For a subdirectory it is not necessary to enter the backslash!
So there must be a means of avoiding this. Why not for the share itself?


That's how Windows works. Only the root directory requires a trailing backslash.