Re: [WiX-users] Question about using custom action to query control table

2010-11-14 Thread Elfe Xu
Oh yes, you are correct. Now I can get the values. A new problem: seems the control table cannot been updated? In the code, I have r.SetString(10, newText); view.Update(r); and I got InstallerException {"Function failed during execution. Database: Table(s) Update failed."} with error code 1627

Re: [WiX-users] Deploying sql server express

2010-11-14 Thread Blair
Several of my messages don't seem to go through either. Many other times I see from the list replies to messages I never received, etc. SF seems to not always be the most reliable system around... -Original Message- From: Christopher Painter [mailto:chr...@deploymentengineering.com] Sent:

Re: [WiX-users] Question about using custom action to query control table

2010-11-14 Thread Blair
If you literally have "SELECT 'Control' , `Text` , `Property` FROM `Control`" then you will always get "Control" as your first column's value (since you asked for a literal instead of a column value). Try "SELECT `Control` , `Text` , `Property` FROM `Control`" instead. However, that table has both

[WiX-users] Question about using custom action to query control table

2010-11-14 Thread Elfe Xu
Hi all, I want to use custom action (written in C# by DTF) to query and update some record in the control table. Here is the code: string query = "SELECT 'Control' , `Text` , `Property` FROM `Control`"; View view = session.Database.OpenView(query);

Re: [WiX-users] Deploying sql server express

2010-11-14 Thread Christopher Painter
I sent the below response yesterday morning but I never saw it appear in the list.  Either SourceForge is dropping messages or I am being censored for some reason. Chris   Christopher Painter, Author of Deployment Engineering Blog Have a hot tip, know a secret or read a really good thread that d

Re: [WiX-users] Deploying sql server express

2010-11-14 Thread Rob Mensching
You'll need a bootstrapper to chain it in. On Sat, Nov 13, 2010 at 2:07 AM, Sean Farrow wrote: > Hi: > I'm in the process of looking at deploying sql server express with an > application. > What is the best way of doing this, given that sql server express no longer > uses merge modules. > Any tho

Re: [WiX-users] Detecting architecture of WiX build host (x86 vs. x64)...

2010-11-14 Thread Mike Edenfield
On Thu, 2010-11-11 at 15:30 -0800, Blair wrote: > I haven't tested this, but IIRC 32-bit processes get the "32-bit" > environment variables, and the fact that candle is marked as a 32-bit > program should make the following work on both platforms: > > v8.1\Sources\DevExpress.DLL"?> > 14.5\Bin\Do