\"Target Folders\" bug

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

\"Target Folders\" bug

Postby EricB » Thu Apr 14, 2005 1:50 pm

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: 1020
Joined: Sat Nov 13, 2004 8:12 am
Contact:

Postby sinan » Thu Apr 14, 2005 2:54 pm

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

Postby EricB » Thu Apr 14, 2005 2:57 pm

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: 1020
Joined: Sat Nov 13, 2004 8:12 am
Contact:

Postby sinan » Fri Apr 15, 2005 3:31 am

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

Postby EricB » Fri Apr 15, 2005 7:28 am

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: 1020
Joined: Sat Nov 13, 2004 8:12 am
Contact:

Postby sinan » Fri Apr 15, 2005 5:36 pm

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

Postby EricB » Fri Apr 15, 2005 5:42 pm

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

Thanks,

Eric


Return to “Technical Support”

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 27 guests