Fixed in build 3.0.4123.
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jason Ginchereau
Sent: Wednesday, May 21, 2008 1:43 PM
To: Christopher Karper; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] DTF Stream Operations Issue
This is a bug in the reading of record
TECTED]
> *Sent:* Wednesday, May 21, 2008 1:24 PM
> *To:* Jason Ginchereau
>
> *Subject:* Re: [WiX-users] DTF Stream Operations Issue
>
>
>
> Exception occured during stream processing:
>
> System.ArgumentNullException: Value cannot be null.
> Parameter name: source
PROTECTED]
Sent: Wednesday, May 21, 2008 1:24 PM
To: Jason Ginchereau
Subject: Re: [WiX-users] DTF Stream Operations Issue
Exception occured during stream processing:
System.ArgumentNullException: Value cannot be null.
Parameter name: source
at
D]>
Sent by: [EMAIL PROTECTED]
05/21/2008 01:21 PM
To
Jason Ginchereau <[EMAIL PROTECTED]>, Christopher Karper
<[EMAIL PROTECTED]>, Kelly Leahy <[EMAIL PROTECTED]>
cc
"[EMAIL PROTECTED]"
<[EMAIL PROTECTED]>,
"wix-users@lists.sourceforge.net"
Su
her
Karper
Sent: Wednesday, May 21, 2008 1:10 PM
To: Kelly Leahy
Cc: [EMAIL PROTECTED]; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] DTF Stream Operations Issue
No, it's not, and actually, that was a remnant from a variation I tried.
I thought maybe ReadToEnd wasn't working, so I
;>
>>
>>
>> *"Christopher Karper" <[EMAIL PROTECTED]>*
>>
>> Sent by: [EMAIL PROTECTED] 05/21/2008 12:38 PM
>>To
>> "Christopher Painter" <[EMAIL PROTECTED]>
>> cc
>> "wix-users@lists.sourceforge.net
To
"Christopher Painter" <[EMAIL PROTECTED]>
cc
"wix-users@lists.sourceforge.net"
Subject
Re: [WiX-users] DTF Stream Operations Issue
I haven't seen a WiX developer yet that wasn't helpful and open. I'm i
Can you share the stack trace?
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christopher
Karper
Sent: Wednesday, May 21, 2008 1:10 PM
To: Kelly Leahy
Cc: [EMAIL PROTECTED]; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] DTF Stream Operations Issue
No, it's not
gt;
> *"Christopher Karper" <[EMAIL PROTECTED]>*
>
> Sent by: [EMAIL PROTECTED]
>
> 05/21/2008 12:38 PM
> To
> "Christopher Painter" <[EMAIL PROTECTED]>
> cc
> "wix-users@lists.sourceforge.net"
> Subject
> Re: [WiX-users
r" <[EMAIL PROTECTED]>
cc
"wix-users@lists.sourceforge.net"
Subject
Re: [WiX-users] DTF Stream Operations Issue
I haven't seen a WiX developer yet that wasn't helpful and open. I'm
impressed with the fact that the entire team is very active in this
mai
I haven't seen a WiX developer yet that wasn't helpful and open. I'm
impressed with the fact that the entire team is very active in this mailing
list.
On Wed, May 21, 2008 at 3:20 PM, Christopher Painter <[EMAIL PROTECTED]>
wrote:
> As an aside, we do have the source code to all those internal
ent:* Wednesday, May 21, 2008 12:13 PM
> *To:* Christopher Painter
> *Cc:* wix-users@lists.sourceforge.net
> *Subject:* Re: [WiX-users] DTF Stream Operations Issue
>
>
>
> Shouldn't matter. I can get the data to and from the file with no issue.
> It's just trying to get t
As an aside, we do have the source code to all those internal classes :) And
more importantly we have a developer who in the very few days I've known him
has been extremly open and cordial in addressing questions about the classes
and even taking suggestions from improvement from such an obvi
ists.sourceforge.net
Subject: Re: [WiX-users] DTF Stream Operations Issue
Shouldn't matter. I can get the data to and from the file with no issue.
It's just trying to get the data into the memorystream instead f the filestream
is an issue.
The RecordStream object in DTF looks l
I had a file called TEST.TXT (ANSI) that contained TEST on three lines. I
streamed it into the Binary table and sure enough the readerfunctions threw
exceptions telling me to check if I've reached the end of the file.
However, this might be a hack - I'm not sure, I was able to work around
Maybe an obvious question, but is the "Data" field of that Record null? Check
binRec.IsNull("Data"), or check for a null return from binRec.GetStream("Data").
If the field is null and you don't expect it to be, please share a little more
of your code.
-Jason-
From: [EMAIL PROTECTED] [mailto:[E
Shouldn't matter. I can get the data to and from the file with no issue.
It's just trying to get the data into the memorystream instead f the
filestream is an issue.
The RecordStream object in DTF looks like it might be useful, but in typical
MS fashion, the useful foundation classes are interna
Ok, I was wondering how you were going to read binary data into a string. I'm
not the best C# guy in the world but I'll see what I can learn here. I am
wondering though, is your text unicode or ansi and would it even matter?
Christopher Karper <[EMAIL PROTECTED]> wrote:
It's text
It's text, and I'm running as a custom action, so my database should already
be available.
I'm opening the view with a joined query, but getting the same data. I can
get the record fine, and I can get the stream fine, it's when I try to read
from the StreamReader wrapper that I run into issues.
What is the type of script?
Eitherway, would this work for you?
Database db = new Database("C:\\TEST.MSI", DatabaseOpenMode.ReadOnly);
View view = db.OpenView("SELECT `Name`, `Data` From `Binary` WHERE
`Binary`.`Name` = 'ISXMLCFG.DLL'");
view.Execute();
foreach (Record rec in vie
20 matches
Mail list logo