All,
I am attempting to write an orca tool using VB .Net as an education in Windows Installer. I have got the first part of my project done which is to open an MSI and display in the various tables and I am able to browse through each table and see all its entries however I then wanted to be able to validate that MSI and output the results into a seperate Window, like Orca does.

I have been able to open the DEICE.CUB file and merge this into my opened MSI, which I believe is what you have to do to begin validation however from what i can tell I have to then run each custom action in the .CUB file agaisnt the merge MSI file. It is at this point that I am stuck and I am unable to find any information about what to do, as with anything I have spent hours searching through google but you need to know the write term to search for and im guessing im either dont have the correct words OR there isnt an article out there.

Any help appreciated :)

P
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
I guess you could convert the VB6 code from the below link
http://msmvps.com/blogs/Michael/archive/2004/10/20/16219.aspx

However if you used C# instead you could just download the WiX source as they have already created C# "wrappers" for what you're after.
Answered 05/29/2009 by: AngelD
Red Belt

Please log in to comment
0
Thanks for that, got me on a right track with what to search for. I am able to now merge 2 databases, validate it and show the ice messages internal to the scanned msi I now need to change the event handler to be able to take those internally generated ice messages and convert them to a readable display.

P
Answered 06/01/2009 by: Inabus
Second Degree Green Belt

Please log in to comment
0
I don't know VB6 but I guess you would need to handle the MSICallBack delegation (callback) to listen when it raises one of the events: OnError, OnWarning or OnInfo. The events arguments should have the ICE# (iICE) and ICE message (sDesc).
Answered 06/01/2009 by: AngelD
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity