
Ящик для предложений: sales@blogslov.ru
Send WiX-devs mailing list submissions to
wix-devs@lists.sourceforge.net
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/wix-devs
or, via email, send a message with subject or body 'help' to
wix-devs-request@lists.sourceforge.net
You can reach the person managing the list at
wix-devs-owner@lists.sourceforge.net
When replying, please edit your Subject line so it is more specific
than "Re: Contents of WiX-devs digest..."
Today's Topics:
1. =?GB2312?B?y83GscnPw8WjoQ==?= (=?GB2312?B?wfXP/ruq?=)
2. =?GB2312?B?xPq6ww==?= (=?GB2312?B?wO7PyMn6?=)
3. Get More Orders For Anything You Sell in 24 Hours!
(a1host@ins-america1.com)
4. Re: Passing parameters to binary custom action (Adam Langley)
5. scheduling deferred custom actions for SSRS publication
(Adam Langley)
6. Re: scheduling deferred custom actions for SSRS publication
(Bob Arnson)
----------------------------------------------------------------------
Message: 1
Date: Wed, 27 Jun 2007 02:36:36 +0800
From: =?GB2312?B?wfXP/ruq?=
Subject: [WiX-devs] =?GB2312?B?y83GscnPw8WjoQ==?=
To: wix-devs@lists.sourceforge.net
Message-ID:
Content-Type: text/plain;charset="GB2312"
????????*????????
??????????????????????????????????????,????????(????????????????
????????????????????????????????????????????????????????????)??????
??????????????????????????????????????????????????????
????????????????????????????????????????,??????????????????????
????!??????????????????????????????????
?????? ????????
?? ?? ??13714089426
E-mail ??szgs68888@126.com
------------------------------
Message: 2
Date: Thu, 28 Jun 2007 02:45:48 +0800
From: =?GB2312?B?wO7PyMn6?=
Subject: [WiX-devs] =?GB2312?B?xPq6ww==?=
To: wix-devs@lists.sourceforge.net
Message-ID:
Content-Type: text/plain;charset="GB2312"
??????
????????????????????????????, ??????????????????????????,??????????????????
????, ??????????????????????????????,????????????????????????????????????????
??????,????????????????????????????????????,????????????????????????????????
??, ????????????????????????????????????????????????????????????????????????
??????????... ??????????????????????????????!??????????
????????????????????????????????????????????????????
?? ?? ?? 13631561162
???????? ??????
------------------------------
Message: 3
Date: Wed, 27 Jun 2007 15:34:26 -0600
From: a1host@ins-america1.com
Subject: [WiX-devs] Get More Orders For Anything You Sell in 24 Hours!
To: wix-devs@lists.sourceforge.net
Message-ID:
Content-Type: text/plain; charset="us-ascii"
An HTML attachment was scrubbed...
------------------------------
Message: 4
Date: Thu, 28 Jun 2007 09:52:00 +1200
From: Adam Langley
Subject: Re: [WiX-devs] Passing parameters to binary custom action
To: wix-devs@lists.sourceforge.net
Message-ID:
Content-Type: text/plain; charset=us-ascii
Thanks Bob,
Im trying to get the structure of extension in line with whats in the Wix
source (so I can at least contribute it back to the project if I can get
permission from management).
Can you explain the division of the ca\sched and ca\exec c++ directories?
I only have 1 custom action for my extension, but Im wondering if I should
have it split into 2 like the examples, but I'm curious about why there are
2.
I currently have it all working so the SSRS reports get installed, but now I
need to implement state so it installs/uninstalls, and rolls-back in the
correct situations, so
I need to understand the best place to implement this, and how to define it
in the wixlib...
Also, the user select the destination server to install the reports to at
install-time, whats the design process for having the MSI remember this
information so that my custom action removes the reports from the correct
server at uninstallation. Does the MSI runtime just re-instate this property
automatically at uninstall?
Thanks again for all your help Bob,
Regards,
Adam Langley
-----Original Message-----
From: Bob Arnson [mailto:bob@joyofsetup.com]
Sent: Thursday, 28 June 2007 2:40 a.m.
To: Adam Langley
Cc: wix-devs@lists.sourceforge.net
Subject: Re: [WiX-devs] Passing parameters to binary custom action
Adam Langley wrote:
> Ahhh... "-bf" got it!
>
Yep, that's the key to getting an extension that contains everything in
one file -- which is pretty cool if a bit tricky to put together.
--
sig://boB
http://joyofsetup.com/
------------------------------
Message: 5
Date: Thu, 28 Jun 2007 12:53:25 +1200
From: Adam Langley
Subject: [WiX-devs] scheduling deferred custom actions for SSRS
publication
To: wix-devs@lists.sourceforge.net
Message-ID:
Content-Type: text/plain; charset="us-ascii"
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
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
Message: 6
Date: Wed, 27 Jun 2007 22:21:58 -0700
From: Bob Arnson
Subject: Re: [WiX-devs] scheduling deferred custom actions for SSRS
publication
To: Adam Langley
Cc: wix-devs@lists.sourceforge.net
Message-ID:
Content-Type: text/plain; charset="iso-8859-1"
Adam Langley wrote:
>
> Because my custom action is actually modifying the target system
> (installing reports), I need to make it a 'deferred' custom action.
>
Right.
> 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.
>
To really explain it I need a whiteboard. Basically, the execute
sequence is broken up into phases. The first is script-generation, when
immediate custom actions run and determine the actions -- and their
data. Then the script is run; that's when you have very limited access
to the database and the installer session it's running in. It's also
when CAs get elevated, so they can modify per-machine data.
There's also rollback, when MSI unwinds the script and deletes files,
puts back overwritten ones, etc. That's why deferred CAs need "matching"
rollback CAs, to undo what they did.
And there's commit, but let's not go there.
> Am I on the right track?
>
Exactly!
--
sig://boB
http://joyofsetup.com/
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
-------------------------------------------------------------------------
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
WiX-devs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-devs
End of WiX-devs Digest, Vol 13, Issue 27
****************************************
P.S. И не забудьте послать роботу вашу рекламу :)
Обработано объявлений: 11776
Стас Давыдов & Outcorp © 2007