I've lost track of the original requirement here but.........
If you want to know afterwards (in your app) which features from your
product were installed (and I assume you know their names) why not just
call MsiGetFeatureState (or equivalent)?
Phil Wilson
________________________________
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Wednesday, April 25, 2007 11:23 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] CustomAction : Find out which feature
hasbeenchoosen
Carl,
If I understand correctly, you're using a single registry item, and need
it to have a different value based on which feature(s) are installed.
I suspect what you probably want is to use the feature installation
state and/or feature action state property (e.g [&FeatureKey] and
[!FeatureKey] - see
http://msdn2.microsoft.com/en-us/library/aa368012.aspx for more
details).
Regards,
Richard
________________________________
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Carl
Quirion
Sent: Wednesday, April 25, 2007 1:04 PM
To: Gareth at Serif; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] CustomAction : Find out which feature has
beenchoosen
Actually, that doesnt work, it complains about duplicate registry values
On 4/25/07, Gareth at Serif <[EMAIL PROTECTED] > wrote:
I think all you want is a pair of components with the required registry
values you want in each feature... the installation will choose which
registry value to write automatically.
Regards,
Gareth
--
View this message in context:
http://www.nabble.com/CustomAction-%3A-Find-out-which-feature-has-been-c
hoosen-tf3646345.html#a10184450
Sent from the wix-users mailing list archive at Nabble.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-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
--
Carl Quirion
[EMAIL PROTECTED]
________________________________
* C O N F I D E N T I A L I T Y N O T I C E *
-----------------------------------------------------------
The content of this e-mail is intended solely for the use of the
individual or entity to whom it is addressed. If you have received this
communication in error, be aware that forwarding it, copying it, or in
any way disclosing its content to any other person, is strictly
prohibited. Peek Traffic Corporation is neither liable for the contents,
nor for the proper, complete and timely transmission of (the information
contained in) this communication. If you have received this
communication in error, please notify the author by replying to this
e-mail immediately and delete the material from any computer.
-------------------------------------------------------------------------
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-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users