I have built my user interface for prompting users with setup information and I am having trouble figuring out how to use it all in my WIX tags. For example, I prompt for database creation parameters, which might translate to one of the following, depending on what the user selected:
#1 <SqlDatabase Id='SqlDatabase' Database='[LTDATABASE]' Server='[LTSERVER]' CreateOnInstall='yes' DropOnUninstall='yes' ContinueOnError='no'> #2 <SqlDatabase Id='SqlDatabase' Database='[LTDATABASE]' Server='[LTSERVER]' CreateOnInstall='no' DropOnUninstall='no' ContinueOnError='no'> #3 <User Id='LTAccount' Name='[LTUSER]' Password='[LTPASSWORD]' ></User> ... <SqlDatabase Id='SqlDatabase' Database='[LTDATABASE]' Server='[LTSERVER]' CreateOnInstall='yes' DropOnUninstall='yes' ContinueOnError='no' User='LTAccount'> As you can see, I know how to use variable [string] attributes, but I can not figure out how convert my user input into variable YesNo attributes, Enum attributes, attributes that are references to other tags, attributes that should be omitted in certain cases, and even whole tags that should be omitted in certain cases. Maybe Condition tags are the answer in some cases, but I can not quite think it all through. Thansk! -- View this message in context: http://www.nabble.com/Using-variable-information-in-WIX-tag-attributes-tf3888846.html#a11023688 Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users