View Issue Details

IDProjectCategoryView StatusLast Update
0025796LazarusInstallerpublic2014-02-28 19:45
ReportertintinuxAssigned ToMartin Friebe 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version1.0.15 (SVN)Product Build 
Target Version1.2.0Fixed in Version1.3 (SVN) 
Summary0025796: The default AppName is added when selecting a destination folder
DescriptionA 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 ReproduceDownload
In the 3rd window "Select a destination folder", click on "Browse" button.
Select a specific folder and validate.
Lool at the proposed path.
Additional InformationFrom 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.
TagsNo tags attached.
Fixed in Revision44298
LazTarget1.2
Widgetset
Attached Files

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2014-02-27 09:06 tintinux New Issue
2014-02-27 13:30 Martin Friebe Assigned To => Martin Friebe
2014-02-27 13:30 Martin Friebe Status new => assigned
2014-02-27 13:30 Martin Friebe LazTarget => 1.4
2014-02-27 13:30 Martin Friebe Target Version => 1.4
2014-02-28 19:45 Martin Friebe Fixed in Revision => 44298
2014-02-28 19:45 Martin Friebe LazTarget 1.4 => 1.2
2014-02-28 19:45 Martin Friebe Status assigned => resolved
2014-02-28 19:45 Martin Friebe Fixed in Version => 1.3 (SVN)
2014-02-28 19:45 Martin Friebe Resolution open => fixed
2014-02-28 19:45 Martin Friebe Target Version 1.4 => 1.2.0