Thanks Blair!  You are very helpful.

I did see that link, but was hoping it was wrong because I'm able to get any 
property using the vbscript ca's. Thanks for the warning about different 
platforms.  We test on several, but I'll probably get bit with that eventually, 
so I will make changes to use the CustomActionData.

Thanks again!

-----Original Message-----
From: Blair [mailto:os...@live.com] 
Sent: Monday, May 24, 2010 1:08 PM
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] Properties and Custom Actions

According to http://msdn.microsoft.com/library/aa370543.aspx deferred custom
actions, both those written in script and those that compiled, can only
access the following three properties: CustomActionData, ProductCode, or
UserSID. If you are seeing different, it is a happy error in the version of
MSI you are using and may not work on other platforms.

Except for the ProductCode and UserSID properties, all other properties need
to be feed in via the CustomActionData property (which is always a property
named identically to the deferred action's name).

-----Original Message-----
From: Scharp, Craig [mailto:craig.sch...@zytax.com] 
Sent: Monday, May 24, 2010 8:20 AM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Properties and Custom Actions

Hi all,

I have noticed that if I have a deferred custom action in vbscript, I can
reference properties using Session.Property"Propertyname").  But, in a c#
deferred custom action using the session object, that same property is not
available to me using session["Propertyname"].  The c# ca's seem to only
have access to properties for immediate ca's.   Does anyone know of a way to
get property values for deferred custom actions using a c# ca dll?

Thanks, Craig
----------------------------------------------------------------------------
--

_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------

_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------

_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to