Re: [WiX-users] CustomAction : Find out which feature has beenchoosen

2007-04-26 Thread Carl Quirion

Hi Richard,

That is exactly what i am doing. I figured that using FeatureKey and
!FeatureKey, as you suggested, would be the best way to do it. However, i
cant get it to work...
I get his error :
error CNDL0104 : Not a valid source file; detail: An error occurred while
parsing EntityName. Line 259, position 65.
Line 259 is : Custom Action=setInstallAMS Before=InstallFinalizeAMS =
3/Custom

Ive tryed with AMS, [AMS], 3 and 3

For reference:
Feature Id=AMS Title=AMS Description=AMS Level=1
CustomAction Id=setInstallAMS Property=INSTALLAMS Value=1/

Please help :(


On 4/25/07, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:


 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-choosen-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.





--
Carl Quirion
[EMAIL PROTECTED]
-
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


Re: [WiX-users] CustomAction : Find out which feature has beenchoosen

2007-04-26 Thread Richard.Foster
Carl,

 

That problem confused me for a couple of minutes too Then I
remembered my XML encoding rules!

 

The correct syntax would be one of the following:

amp;AMS = 3

Or

![CDATA[AMS = 3]]

 

Hope this helps,

Regards,

Richard



From: Carl Quirion [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 26, 2007 10:36 AM
To: Foster, Richard - PAL; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] CustomAction : Find out which feature has
beenchoosen

 

Hi Richard,

That is exactly what i am doing. I figured that using FeatureKey and
!FeatureKey, as you suggested, would be the best way to do it. However,
i cant get it to work...
I get his error : 
error CNDL0104 : Not a valid source file; detail: An error occurred
while parsing EntityName. Line 259, position 65. 
Line 259 is : Custom Action=setInstallAMS
Before=InstallFinalizeAMS = 3/Custom

Ive tryed with AMS, [AMS], 3 and 3

For reference: 
Feature Id=AMS Title=AMS Description=AMS Level=1
CustomAction Id=setInstallAMS Property=INSTALLAMS Value=1/

Please help :(






* 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


Re: [WiX-users] CustomAction : Find out which feature has beenchoosen

2007-04-25 Thread Richard.Foster
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