Page 1 of 1

\"Target Folders\" bug

Posted: Thu Apr 14, 2005 1:50 pm
by EricB
In InstallAware Express...
On the "Files" tab, in the "Target Folders" listbox, the target folder "$TARGETDIR$ does not get listed as an available folder until after you have added a file and then edited the file to change the "Target Path" to "$TARGETDIR$".

Later,

Eric

Posted: Thu Apr 14, 2005 2:54 pm
by sinan
This is currently by design. If you create a project using the Project Wizard and specify some files to install, the TARGETDIR folder will be pre-defined for you.

Posted: Thu Apr 14, 2005 2:57 pm
by EricB
I don't think it should work this way... I think the $TARGETDIR$ should show up in the list with the other pre-defined folders.

Thanks,

Eric

Posted: Fri Apr 15, 2005 3:31 am
by sinan
As nothing is hard-coded in InstallAware, the TARGETDIR variable is also not hard-coded, and won't appear until actually used by an Install Files command.

Posted: Fri Apr 15, 2005 7:28 am
by EricB
Lots of other pre-defined variables show up ($COMMONFILES$, $PROGRAMFILES$, etc.) so why can't this one be in the listbox as well?

Thanks,

Eric

Posted: Fri Apr 15, 2005 5:36 pm
by sinan
Those show, because they are system folders and their values are obtained before showing setup dialogs, using scripting commands in the setup script that Express maintains for you underneath the visual views.

Since TARGETDIR is not such a folder...it is not shown. Again if you use the Project Wizard and add some files to your target folder...you'll have bypassed this issue.

Even if not...its just a double-click and edit :lol:

Posted: Fri Apr 15, 2005 5:42 pm
by EricB
Okay, that explanation makes sense as to why the folder is not there to start with.

Thanks,

Eric