Depends on what you are trying to accomplish. CustomActions that modify the
system state (the reason to create deferred CustomActions) should be data
driven. A property *may* be sufficient to pass data but rarely is enough.
That's why I pointed you at the existing WiX CustomActions. They handle all
the cases that CustomActions need to handle.
From: Levi Wilson [mailto:[EMAIL PROTECTED]
Sent: Friday, February 09, 2007 6:54 AM
To: Rob Mensching
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Type 1 Custom Action
Would it be easier to have Type 51 CAs that set a property named the same as my
CA and just retrieve "CustomActionData" from my CA? I guess, what is the
advantage of using wcautil? I realize that there is a TON of functionality
there, but it doesn't seem too intuitive to use with my minimal Windows
Installer experience. It guess I just don't get the process that I would use
wcautil to setup a "data driven MSI" like you mention. I'm sorry if I'm being
obtuse...could you please elaborate? Thanks again for all of your help/time.
On 2/8/07, Rob Mensching <[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>> wrote:
Well, if you want a data driven MSI then you need to have an immediate mode
CustomAction to encode data into the CustomActionData and then have the
deferred CustomAction chop it up.
From: Levi Wilson [mailto:[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>]
Sent: Thursday, February 08, 2007 2:12 PM
To: Rob Mensching
Cc: wix-users@lists.sourceforge.net<mailto:wix-users@lists.sourceforge.net>
Subject: Re: [WiX-users] Type 1 Custom Action
Correct me if I'm wrong, but in my case, I just need to call WcaInitialize in
the beginning of my CA, call WcaGetProperty, execute my CA, then call
WcaFinalize?
On 2/8/07, Rob Mensching <[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>> wrote:
Yes, there is very little documentation (I've been spending my time fixing
bugs, not explaining how to use it <smile/>). Yes, the SDK directory should
have everything you need. Use the header files that you need.
From: Levi Wilson [mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> ]
Sent: Thursday, February 08, 2007 1:42 PM
To: Rob Mensching
Cc: wix-users@lists.sourceforge.net<mailto:wix-users@lists.sourceforge.net>
Subject: Re: [WiX-users] Type 1 Custom Action
I see the wcautil.lib in the SDK directory...which header file do I use? Is
the documentation to use wcautil only exist in the header file?
On 2/8/07, Rob Mensching <[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>> wrote:
Correct, you have to use CustomActionData. I encourage you to take a look at
the WiX CustomActions. They do all this stuff. Dutil.lib and Wcautil.lib also
has tons of helper functions that make life much easier.
From: Levi Wilson [mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> ]
Sent: Thursday, February 08, 2007 1:32 PM
To: Rob Mensching
Cc: wix-users@lists.sourceforge.net<mailto:wix-users@lists.sourceforge.net>
Subject: Re: [WiX-users] Type 1 Custom Action
Just to clarify, this means that I can't access any properties from my CA? And
if so, how do you pass a value (CustomActionData?) to a particular CA in WiX
parlance?
On 2/8/07, Rob Mensching <[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>> wrote:
Yes. You have to run "in script" (deferred).
From: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> [mailto:[EMAIL
PROTECTED]<mailto:[EMAIL PROTECTED]>] On Behalf Of Levi Wilson
Sent: Thursday, February 08, 2007 1:24 PM
To: wix-users@lists.sourceforge.net<mailto:wix-users@lists.sourceforge.net>
Subject: [WiX-users] Type 1 Custom Action
Does a type 1 custom action have to be deferred in order to get it to run AFTER
the files have already been installed? It seems when I set it up like this:
<CustomAction Id="MyCA" BinaryKey="CADll DllEntry="MyCA" />
<InstallExecuteSequence>
<Custom Action="MyCA" After="InstallServices">NOT Installed</Custom>
</InstallExecuteSequence>
When the CA executes, the files haven't been copied yet? Why does this CA run
before the files have been copied?
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users