Thanks for that Rob,
I'm trying to take notes on what I'm doing and why as I go along, in the
hope that I can find the 'hours' to write up a ~codeproject article on how
to do this stuff.
It is fascinating stuff, and so rewarding when the install executes
successfully. The enjoyment is made possible by such a clean and
comprehensive codebase provided for everything needed to get up and running.
Great work guys, I hope I can contribute to the project.
-Adam
From: Rob Mensching [mailto:[EMAIL PROTECTED]
Sent: Thursday, 28 June 2007 5:46 p.m.
To: Adam Langley; [email protected]
Subject: RE: [WiX-devs] scheduling deferred custom actions for SSRS
publication
Yes. It is pretty tricky stuff. Robert Flaming has a long but detailed
series of blog entries that cover some of the gnarlier parts of this stuff
w.r.t. Vista UAC (somewhere on http://blogs.msdn.com/rflaming). Once you
understand the first part, his posts are quite a fascinating read.
One day I dream of getting time to write down the introduction to writing
CustomActions. but I've temporarily given up trying to do anything beyond
what I'm currently doing... there simply aren't the hours.
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Adam Langley
Sent: Wednesday, June 27, 2007 5:53 PM
To: [email protected]
Subject: [WiX-devs] scheduling deferred custom actions for SSRS publication
Ok,
So I think I'm getting the gist of the design now.
Because my custom action is actually modifying the target system (installing
reports), I need to make it a 'deferred' custom action.
That means that it won't necessarily execute within the confines of the MSI,
hence the custom action may not be able to get a reference to the database
to read the information it needs.
So, you guys have written a set of utility classes, so that I divide my
custom action into 2 entrypoints:
1. the 'scheduler' (configured to execute immediately) which reads all
the database information my CA will need, and 'schedules' my CA for deferred
execution, along with a serialized version of its data.
2. The 'executor' which does the actual system modifications
Later down the road, the MSI runtime executes my deferred CA, and I again
use the Wix wcautil functions to deserialize my CA data, and get to work
doing whatever I need to do...
Am I on the right track?
Thanks
Adam Langley
Secon NZ
A1/400 Rosedale Road
Albany 0632
+64 (9)414 4071
www.seconag.com
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs