Re: [WiX-users] SQL Server List in ComboBox

2007-01-24 Thread Matthew Rowan
Thanks for all your help Albert. That was right on. Once the DEF file was linked it all worked beautifully. Cheers, -Matthew Rowan On 1/24/07, Albert van Peppen <[EMAIL PROTECTED]> wrote: Hi Matthew, The error you encounter is because the CA function is not exported in the DLL; in my project

Re: [WiX-users] SQL Server List in ComboBox

2007-01-24 Thread Levi Wilson
If call MessageBox passing in NULL as the HWND, it will display with no owner window. On 1/24/07, Matthew Rowan <[EMAIL PROTECTED]> wrote: Thanks Albert, I'm still having some trouble I'm hoping you could please help me with. I've built the dll and added these lines to my WiX source as in the

Re: [WiX-users] SQL Server List in ComboBox

2007-01-24 Thread Albert van Peppen
Hi Matthew, The error you encounter is because the CA function is not exported in the DLL; in my project i forgot to add the DEF file in the linker options; just add $(TargetPath).DEF to the appropriate linker setting. (Configuration Properties -> Linker -> Input -> Module Definition File) Rebu

Re: [WiX-users] SQL Server List in ComboBox

2007-01-23 Thread Matthew Rowan
Thanks Albert, I'm still having some trouble I'm hoping you could please help me with. I've built the dll and added these lines to my WiX source as in the example in the C++ code you provided. (local) 0 D4WSQLSERVER = "(local)" However, when I run the installer I get an error immedia

Re: [WiX-users] SQL Server List in ComboBox

2007-01-22 Thread Albert van Peppen
't just sign it ;) Greetings, Albert van Peppen Van: Rob Mensching [mailto:[EMAIL PROTECTED] Verzonden: maandag 22 januari 2007 17:01 Aan: Albert van Peppen; [EMAIL PROTECTED] Onderwerp: RE: Re: [WiX-users] SQL Server List in ComboBox Yeah, that'd b

Re: [WiX-users] SQL Server List in ComboBox

2007-01-22 Thread Albert van Peppen
[email protected] Onderwerp: [WiX-users] SQL Server List in ComboBox Hi All, I'm trying to present a list of all available SQL Servers to the user allowing them to select their server and enter their credentials then test the connection. I know I need to write a custom action DLL to popula

Re: [WiX-users] SQL Server List in ComboBox

2007-01-22 Thread Albert van Peppen
[email protected] Onderwerp: [WiX-users] SQL Server List in ComboBox Hi All, I'm trying to present a list of all available SQL Servers to the user allowing them to select their server and enter their credentials then test the connection. I know I need to write a custom action DLL to popula

[WiX-users] SQL Server List in ComboBox

2007-01-21 Thread Matthew Rowan
Hi All, I'm trying to present a list of all available SQL Servers to the user allowing them to select their server and enter their credentials then test the connection. I know I need to write a custom action DLL to populate certain MSI tables but I don't know how to go about doing this. It would