The default AppName is added when selecting a destination folder
Original Reporter info from Mantis: tintinux
-
Reporter name:
Original Reporter info from Mantis: tintinux
- Reporter name:
Description:
A very minor thing, but if we choose a folder to install Lazarus or a Cross Compiler, say "Program Files\Lazarus\1.2RC2" the proposed path, after validation, is "Program Files\Lazarus\1.2RC2\Lazarus".
The 'DefaultDirName' is appended and in this case it is really not useful. It is even leading to error when we install an add-on (the cross compiler) which should go to the same directory as Lazarus.
I suggest using '[Setup]: AppendDefaultDirName=no' which prevents adding the DefaultDirName.
Steps to reproduce:
Download
In the 3rd window "Select a destination folder", click on "Browse" button.
Select a specific folder and validate.
Lool at the proposed path.
Additional information:
From Innosetup documentation :
By default, when a folder in the dialog displayed by the Browse... button on the Select Destination Location wizard page is clicked, Setup automatically appends the last component of DefaultDirName onto the new path. For example, if DefaultDirName is {pf}\My Program and "Z:" is clicked, the new path will become "Z:\My Program".
Setting this directive to no disables the aforementioned behavior. In addition, it causes a Make New Folder button to appear on the dialog.
Mantis conversion info:
- Mantis ID: 25796
- Version: 1.0.15 (SVN)
- Fixed in version: 1.3 (SVN)
- Fixed in revision: 44298 (#0335ddab)
- Monitored by: » tintinux (tintinux)
- Target version: 1.2.0
- LazTarget: 1.2