Re: [WiX-users] DTF CA with pInvoke Interop

2009-03-10 Thread Christopher Karper
FWIW, we got ti to stop blowing up. The native function was returning a string, and we tried a bunch of different variants, but when we changed to Halloc the memory for the string, it stopped crashing. Note, this pInvoke call worked fine in any other instance in any configuration. Not really s

Re: [WiX-users] DTF CA with pInvoke Interop

2009-03-10 Thread Christopher Karper
I'm actually carrying around the native file as an embedded resource in my managed .dll. It deploys it during it's static constructor if needed. The file is deploying as expected, and depends shows that everything it needs is there. The dll loads, and the function is called and executes... Th

Re: [WiX-users] DTF CA with pInvoke Interop

2009-03-10 Thread Richard
In article , Christopher Karper writes: > I have a CA written in C#, which is pInvoking a native dll that I'm > supplying. This doesn't work in an installer when I'm actually installing. If your CA has a dependency on a file that's installed, then you have to schedule the CA after the fil