Ah... Yep, if it's a deferred execution CA then you'll need to use the
CustomActionData property to pass data to it. SecureCustomProperties is
for passing data from the UI to the MSI server side. In this case you
might even need both.

Have a look at Obtaining Context Information for Deferred Execution
Custom Actions in MSI.CHM.

-----Original Message-----
From: Jason Ginchereau [mailto:[EMAIL PROTECTED] 
Sent: 06 November 2008 18:25
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] DTF Property updated by RadioButton not
correctly retrieved by CustomAction

Also, when getting & setting properties in CAs, you probably want to use
session[propertyName]. That accessor gets/sets the run-time property
value, rather than the static value from the Property table.

-----Original Message-----
From: Rob Mensching [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 06, 2008 9:47 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] DTF Property updated by RadioButton not
correctly retrieved by CustomAction

Not isolated to Vista.  Actually, I suggest checking out the MSI SDK
about deferred CustomActions in detail.  You'll find that there are many
limitations on deferred CustomActions, including the properties they can
access.

-----Original Message-----
From: Rehan [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 06, 2008 09:44
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] DTF Property updated by RadioButton not
correctly retrieved by CustomAction


After much searching, from what I understand from here and other
sources:

http://wix.mindcapers.com/wiki/Vista_and_WiX

the SecureCustomProperties property has something to do with Vista and
getting access rights between the client and server? I'm not sure how
this would help me and what it has to do with not being able to get the
refreshed value of a property.


Buddell, James wrote:
>
> Have you added the property name to the SecureCustomProperties
Property?
>
> -----Original Message-----
> From: Saeed, Rehan [mailto:[EMAIL PROTECTED]
> Sent: 06 November 2008 15:48
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] DTF Property updated by RadioButton not correctly

> retrieved by CustomAction
>
>> Hi,
>>
>> I have setup a property which gets updated by the user via a 
>> RadioButton before the install takes place.
>>
>> <!-- The default value is 'LIVE', can also be 'TEST' or 'DEV' --> 
>> <Property Id="INSTALL_ENVIRONMENT" Value="LIVE" />
>>
>> I then execute a deferred custom action after InstallFiles which 
>> retrieves this property. However the value retrieved is always the 
>> default value and not the updated value from the users selection on 
>> the radio button.
>>
>> // Retrieve the install environment property in my C# custom action.
>> string installEnvironment = (string)session.Database.ExecuteScalar(
>>       "SELECT `Value` FROM `Property` WHERE `Property` = 
>> 'INSTAL_ENVIRONMENT'");
>>
>> How do I get the updated value of the property? As far as I can see 
>> it
>
>> is not anything to so with install sequence as the custom action runs

>> after the property is changed by the user.
>>
>> Rehan Saeed
>>
>>
>
> Please consider the environment before printing
>
> **********************************************************************
> **
> **********
> This message contains confidential information and is intended only 
> for the individual or entity named.  If you are not the named 
> addressee you should not disseminate, distribute or copy this e-mail. 
> Please notify the sender immediately by e-mail if you have received 
> this e-mail by mistake and delete this e-mail from your system.
> E-mail transmission cannot be guaranteed to be secure or error-free as

> information could be intercepted, corrupted, lost, destroyed, arrive 
> late or incomplete, or contain viruses.  The sender therefore does not

> accept liability for any errors or omissions in the contents of this 
> message which arise as a result of e-mail transmission. If 
> verification is required please request a hard-copy version. This 
> message is provided for informational purposes and should not be 
> construed as an invitation or offer to buy or sell any securities or
related financial instruments.
>
> GAM operates in many jurisdictions and is regulated or licensed in 
> those jurisdictions as required.
> To the extent this email has been sent to you by any GAM company 
> domiciled in the EU, being GAM (U.K.) Limited, GAM Sterling Management

> Limited, GAM International Management Limited, GAM London Limited, GAM

> Fund Management Limited, or GAM Fonds Marketing GmbH i.L., please note

> the following details in respect of each such company:
>  - GAM (U.K.) Limited (a company limited by shares and registered in 
> England and Wales with company number 01664573);
>  - GAM Sterling Management Limited (a company limited by shares and 
> registered in England and Wales with company number  01750352);
>  - GAM International Management Limited (a company limited by shares 
> and registered in England and Wales with company number  01802911);
>  - GAM London Limited (a company limited by shares and registered in 
> England and Wales with company number with Company  Number 00874802) 
> Each of Registered Office: 12 St. James's Place, London, SW1A 1NX GAM 
> Sterling Management Limited, GAM International Management Limited and 
> GAM London Limited are each authorised and regulated by the Financial 
> Services Authority.
> GAM Fund Management Limited (a company limited by shares and 
> registered in Ireland with no. 156828) of Registered Office: George's 
> Court 54-62 Townsend Street Dublin 2, Ireland GAM Fonds Marketing 
> GmbH, i.L. (a company limited by shares and registered in Germany 
> under No. HRB 66857) of Friedrichstrasse 154, D-10117 Berlin, Germany.

> The competent Commercial Register is "Amtsgericht Charlottenburg" in
Berlin.
> Liquidator: Daniel Durrer.
> **********************************************************************
> **
> **********
>
> ----------------------------------------------------------------------
> --
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's 
> challenge Build the coolest Linux based applications with Moblin SDK &

> win great prizes Grand prize is a trip for two to an Open Source event

> anywhere in the world 
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
> --
> This e-mail is confidential and the information contained in it may be

> privileged.  It should not be read, copied or used by anyone other 
> than the intended recipient.  If you have received it in error, please

> contact the sender immediately by telephoning +44 (0)20 7623 8000 or 
> by return email, and delete the e-mail and do not disclose its 
> contents to any person.  We believe, but do not warrant, that this 
> e-mail and any attachments are virus free, but you must take full 
> responsibility for virus checking.  Please refer to 
> http://www.dresdnerkleinwort.com/disc/email/ and read our e-mail 
> disclaimer statement and monitoring policy.
>
> Dresdner Kleinwort is the trading name of the investment banking 
> division of Dresdner Bank AG, and operates through Dresdner Bank AG, 
> Dresdner Kleinwort Limited and their affiliated or associated 
> companies. Dresdner Bank AG is a company incorporated in Germany with 
> limited liability and registered in England (registered no. FC007638, 
> place of business 30 Gresham Street, London EC2V 7PG), and is 
> authorised by the German Federal Financial Supervisory Authority and 
> authorised and subject to limited regulation by the Financial Services

> Authority ("FSA"). Details about the extent of our authorisation and 
> regulation by the FSA are available from us on request.  Dresdner 
> Kleinwort Limited is a company incorporated in England (registered no.

> 551334, registered office 30 Gresham Street, London EC2V 7PG), and is
authorised and regulated by the FSA.
> --
>
>
> ----------------------------------------------------------------------
> --- This SF.Net email is sponsored by the Moblin Your Move Developer's

> challenge Build the coolest Linux based applications with Moblin SDK &

> win great prizes Grand prize is a trip for two to an Open Source event

> anywhere in the world 
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>

--
View this message in context:
http://n2.nabble.com/DTF-Property-updated-by-RadioButton-not-correctly-r
etrieved-by-CustomAction-tp1465421p1465957.html
Sent from the wix-users mailing list archive at Nabble.com.


------------------------------------------------------------------------
-
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge Build the coolest Linux based applications with Moblin SDK &
win great prizes Grand prize is a trip for two to an Open Source event
anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------
-
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge Build the coolest Linux based applications with Moblin SDK &
win great prizes Grand prize is a trip for two to an Open Source event
anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------
-
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge Build the coolest Linux based applications with Moblin SDK &
win great prizes Grand prize is a trip for two to an Open Source event
anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
This e-mail is confidential and the information contained in it may be 
privileged.  It should not be read, copied or used by anyone other than the 
intended recipient.  If you have received it in error, please contact the 
sender immediately by telephoning +44 (0)20 7623 8000 or by return email, and 
delete the e-mail and do not disclose its contents to any person.  We believe, 
but do not warrant, that this e-mail and any attachments are virus free, but 
you must take full responsibility for virus checking.  Please refer to 
http://www.dresdnerkleinwort.com/disc/email/ and read our e-mail disclaimer 
statement and monitoring policy.

Dresdner Kleinwort is the trading name of the investment banking division of 
Dresdner Bank AG, and operates through Dresdner Bank AG, Dresdner Kleinwort 
Limited and their affiliated or associated companies. Dresdner Bank AG is a 
company incorporated in Germany with limited liability and registered in 
England (registered no. FC007638, place of business 30 Gresham Street, London 
EC2V 7PG), and is authorised by the German Federal Financial Supervisory 
Authority and authorised and subject to limited regulation by the Financial 
Services Authority ("FSA"). Details about the extent of our authorisation and 
regulation by the FSA are available from us on request.  Dresdner Kleinwort 
Limited is a company incorporated in England (registered no. 551334, registered 
office 30 Gresham Street, London EC2V 7PG), and is authorised and regulated by 
the FSA. 
--


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to