Varible not defined: SELECTED error

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

Varible not defined: SELECTED error

Postby EricB » Thu Apr 14, 2005 12:33 pm

I am running InstallAware Express. I had a project that compiled and installed fine. I changed it so that the files for the project would be installed to $TARGETDIR$ rather than $PROGRAMFILES$, and now when I try to build the project, I get the error "Variable not defined: SELECTED".

How do I get rid of this error and get my install to build?

Thanks,

Eric

EricB
Posts: 54
Joined: Tue Mar 29, 2005 12:00 pm

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

I re-created the project from scratch, and all is working.

However, I would like to know the cause of this problem and how to fix it in case it pops up in the future.

Thanks,

Eric

sinan
Site Admin
Posts: 1020
Joined: Sat Nov 13, 2004 8:12 am
Contact:

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

This happens when you create and then delete features using the visual view. There are some leftovers in the code view (which you unfortunately cannot edit with Express). Best workaround with this is to create new projects using the Project Wizard and finalize your feature structure in there.

EricB
Posts: 54
Joined: Tue Mar 29, 2005 12:00 pm

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

That is not a good "feature". Will this be fixed in the near future?

Thanks,

Eric

sinan
Site Admin
Posts: 1020
Joined: Sat Nov 13, 2004 8:12 am
Contact:

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

Yes, we're going to make SELECTED a pre-def variable to work around this issue.

EricB
Posts: 54
Joined: Tue Mar 29, 2005 12:00 pm

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

That would be nice. I really don't like having to re-create my installs.

Thanks.

Eric

sinan
Site Admin
Posts: 1020
Joined: Sat Nov 13, 2004 8:12 am
Contact:

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

You can use the Project Wizard to play around with your features - this will save you the frustration of having to start from scratch if you make frequent changes initially.


Return to “Technical Support”

Who is online

Users browsing this forum: Baidu [Spider] and 52 guests