Re: [WiX-users] Conditional Property Value

2008-08-01 Thread Sajid1105

Thanks Alex..

Regards,
Sajid


Alexander Shevchuk wrote:
 
 Custom Action Type 51 is your friend:
 
 CustomAction Id=AisOne Property=B Value=A is one /
 CustomAction Id=AisNotOne Property=B Value=A is not one /
 
 XXXSequence
   Custom Action=AisOne After=...A=1/Custom
   Custom Action=AisNotOne After=...A1 OR NOT A/Custom
 /XXXSequence
 
 Obviously, XXXSequence - whatever sequence table you need to schedule
 these actions in, for example, InstallExecuteSequence.
 
 Regards,
 Alex Shevchuk
 

-- 
View this message in context: 
http://www.nabble.com/Conditional-Property-Value-tp18704186p18768756.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=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Conditional Property Value

2008-07-29 Thread Sajid1105

Thanks. But, I do not have a UI. does this work if I want to build without
UI?



ramya ragupathy wrote:
 
   Publish Property='B' Value='A is one'![CDATA[A = 1]]/Publish
  Publish Property='B' Value='A is not one'![CDATA[A  1]]/Publish
 
 Sajid1105 wrote:
 
 I want to set a property value depending on a condition.. 
 
 Property Id=A Value=1/
 Property Id=B Value=Some value/
 
 if A == 1 then
B = A is one
 else
B = A is not one
 
 How do I do this?
 
 
 
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Conditional-Property-Value-tp18704186p18707406.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=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Conditional Property Value

2008-07-29 Thread Alexander Shevchuk
Custom Action Type 51 is your friend:

CustomAction Id=AisOne Property=B Value=A is one /
CustomAction Id=AisNotOne Property=B Value=A is not one /

XXXSequence
  Custom Action=AisOne After=...A=1/Custom
  Custom Action=AisNotOne After=...A1 OR NOT A/Custom
/XXXSequence

Obviously, XXXSequence - whatever sequence table you need to schedule these 
actions in, for example, InstallExecuteSequence.

Regards,
Alex Shevchuk


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sajid1105
Sent: Monday, July 28, 2008 8:12 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Conditional Property Value


I want to set a property value depending on a condition..

Property Id=A Value=1/
Property Id=B Value=Some value/

if A == 1 then
   B = A is one
else
   B = A is not one

How do I do this?



--
View this message in context: 
http://www.nabble.com/Conditional-Property-Value-tp18704186p18704186.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=100url=/
___
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=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Conditional Property Value

2008-07-28 Thread Sajid1105

I want to set a property value depending on a condition.. 

Property Id=A Value=1/
Property Id=B Value=Some value/

if A == 1 then
   B = A is one
else
   B = A is not one

How do I do this?



-- 
View this message in context: 
http://www.nabble.com/Conditional-Property-Value-tp18704186p18704186.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=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Conditional Property Value

2008-07-28 Thread ramya ragupathy

  Publish Property='B' Value='A is one'![CDATA[A = 1]]/Publish
 Publish Property='B' Value='A is not one'![CDATA[A  1]]/Publish

Sajid1105 wrote:
 
 I want to set a property value depending on a condition.. 
 
 Property Id=A Value=1/
 Property Id=B Value=Some value/
 
 if A == 1 then
B = A is one
 else
B = A is not one
 
 How do I do this?
 
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Conditional-Property-Value-tp18704186p18704562.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=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users