Hi Brian and Neil,

Thanks for the DTF suggestion - I did look at the DTF stuff and
considered it as a possible fallback (along with doing a simple
msiexec /a).  However, it's not ideal since we wouldn't have the path
where the file came from and (haven't tried DTF so I'm just assuming
on that front) both options would have a performance hit.

I managed to get a very simple BinderFileManager which effectively
replicates what light used to do (dumps the payload file's source path
to the log by overriding ResolveFile).  I'm due to report my findings
so I'll find out what we want to do - at the moment we have a vbs
which parses the logs, but using this mechanism I can probably output
an xml file or whatever I want, which may simplify that side of the
equation.

I'd have gone to the extensions sooner but I was having trouble
finding any decent docs on the subject.

Thanks :)

John

2009/6/23 Brian Rogers <rogers.br...@gmail.com>:
> Hey John,
>
> Off the top of my head I would say take a look at the DTF tools. You could
> write a simple managed code app that reads MSI output itself and does the
> verfication. After all the Component, Directory and File table should all
> line up if you walk them. You would then be able to validate two things, the
> files you are putting into the MSI and where they are going to be installed
> on the target system.
>
> Just a thought,
>
> Brian Rogers
> "Intelligence removes complexity." - Me
> http://icumove.spaces.live.com
>
>
> On Tue, Jun 23, 2009 at 7:30 AM, John Ludlow <john.ludlow...@gmail.com>wrote:
>
>> Hey, all
>>
>> I'm evaluating Wix v3.0 to see if we should adopt it, and run into a
>> snag.  The problem is that in wix v2 we run light with -v and it
>> chucked out a lot of "Cabbing file xxx from yyy" style messages.
>> However, in Wix v3 they seem to have disappeared.  Looking through
>> the code, it seems that no special logging takes place when a file is
>> cabbed anymore.
>>
>> I can understand why they might have been removed - there were a lot
>> of them after all.   But we actually use those messages - part of our
>> validation process uses this to work out what files are /actually/
>> shipped.  This process is in its own build and usually runs once a
>> week.
>>
>> What's the best way of getting this information?  As far as I can see,
>> these are my options:
>>
>>
>>  *  Parse the .wxs.   However this gives me the variable-based path
>> for the file, which I then have to do a string-replace on (since it's
>> a different build I don't have actual access to the original values).
>> In addition, if someone adds a new file path based on a different
>> variable it impacts a part of the script that shouldn't affect at all.
>>
>>
>>  *  If the worst comes to the worst, I can always modify light.exe
>> to emit to the console, but it would be nicer if I didn't have to do
>> that.
>>
>>
>> Any other ideas?  Ideally, if I could run light and have it produce an
>> xml file (or just a flat list in a file, or just dump them to STDOUT)
>> of all the files that would be included included full, absolute paths,
>> that would be perfect.  I was half-expecting the wixout switch to do
>> this...
>>
>> Thanks
>>
>> John
>>
>>
>> ------------------------------------------------------------------------------
>> Are you an open source citizen? Join us for the Open Source Bridge
>> conference!
>> Portland, OR, June 17-19. Two days of sessions, one day of unconference:
>> $250.
>> Need another reason to go? 24-hour hacker lounge. Register today!
>>
>> http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
>> _______________________________________________
>> WiX-users mailing list
>> WiX-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>
> ------------------------------------------------------------------------------
> Are you an open source citizen? Join us for the Open Source Bridge conference!
> Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
> Need another reason to go? 24-hour hacker lounge. Register today!
> http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>

------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to