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?
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.
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.