Hi,
I want to adjust my installer to have 2 different modes: 1. User wants to create database and then I run a set of SqlString 2. User uses preexisting database and then I run the same set of SqlString Right now I have a SqlDatabase element in a component that creates the db (only when a certain feature is selected). And I have a SqlDatabase element in a feature that is just a locator (that will be evaluated always). However I'm not sure how to make the non component SqlDatabase locator not error when the msi is run if we are in db creation mode. Or would it be execute after the SqlDatabase is created? Also is wix smart enough to only run SqlString elements after a SqlDatabase is created? Thanks, Mike ------------------------------------------------------------------------------ Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users