\"Target Folders\" bug

Got a problem you cannot solve? Try here.
Post Reply
EricB
Posts: 54
Joined: Tue Mar 29, 2005 12:00 pm

\"Target Folders\" bug

Post 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
sinan
Site Admin
Posts: 1035
Joined: Sat Nov 13, 2004 8:12 am
Contact:

Post 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.
EricB
Posts: 54
Joined: Tue Mar 29, 2005 12:00 pm

Post 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
sinan
Site Admin
Posts: 1035
Joined: Sat Nov 13, 2004 8:12 am
Contact:

Post 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.
EricB
Posts: 54
Joined: Tue Mar 29, 2005 12:00 pm

Post 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
sinan
Site Admin
Posts: 1035
Joined: Sat Nov 13, 2004 8:12 am
Contact:

Post 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:
EricB
Posts: 54
Joined: Tue Mar 29, 2005 12:00 pm

Post by EricB »

Okay, that explanation makes sense as to why the folder is not there to start with.

Thanks,

Eric
Post Reply