Varible not defined: SELECTED error

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

Varible not defined: SELECTED error

Post by EricB »

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

Post by EricB »

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

Post by sinan »

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

Post by EricB »

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

Thanks,

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

Post by sinan »

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

Post by EricB »

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

Thanks.

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

Post by sinan »

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.
Post Reply