Re: [WiX-users] Setting a property from a database search?

2007-08-29 Thread Bob Arnson
Roger Lipscombe wrote: > Are searches sequenced to make even this possible? > It's possible to write a compiler extension that would hook in with a custom action to set a property at runtime. I'm not aware of any such extensions/custom actions yet -- but if you wanted to contribute one, tha

[WiX-users] Setting a property from a database search?

2007-08-29 Thread Roger Lipscombe
I'm completely new to WiX (and to MSI in general), and I'm probably barking up the wrong tree, but I was hoping to find a way to conditionally run a SQL script, for upgrading a database schema. I'd like a way to run a SQL command and store the scalar return value in a property. Something like this: