Re: [WiX-users] Publish Event is acting like Publish Property

2007-05-28 Thread Bob Arnson

Don Tasanasanta wrote:


I have the following 2 commands inside a next button control:

 

Publish Event=Remove Value=LoggingFeaturePROPERTY1=1 
OR PROPERTY2=1/Publish


Publish Event=AddLocal Value=LoggingFeaturePROPERTY1=0 
AND PROPERTY2=0/Publish


 

But instead of adding and removing the feature LoggingFeature I end 
up with 2 properties REMOVE and ADDLOCAL




That's how MSI records the features being removed and installed during 
an installation transaction -- as a comma-delimited list of features in 
those properties. See the MSI SDK doc on those properties for the 
complete list.


--
sig://boB
http://joyofsetup.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


[WiX-users] Publish Event is acting like Publish Property

2007-05-25 Thread Don Tasanasanta
I have the following 2 commands inside a next button control: 

 

Publish Event=Remove Value=LoggingFeaturePROPERTY1=1 OR
PROPERTY2=1/Publish

Publish Event=AddLocal Value=LoggingFeaturePROPERTY1=0
AND PROPERTY2=0/Publish

 

But instead of adding and removing the feature LoggingFeature I end up
with 2 properties REMOVE and ADDLOCAL

 

REMOVE ends up equaling LoggingFeature

ADDLOCAL ends up equaling a comma deliminated list of all my features. 

 

When I comment out these two lines everything seems to work fine (except
for the functionality I'm trying to achieve). 

 

Any ideas? 

-
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] Publish Event is acting like Publish Property

2007-05-25 Thread Don Tasanasanta
As an addition/follow-up question... LoggingFeature is a sub-feature
of a feature called Shared

 

Is there a certain syntax for declaring a sub-feature when using Publish
Event?

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Don
Tasanasanta
Sent: Friday, May 25, 2007 1:23 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Publish Event is acting like Publish Property

 

I have the following 2 commands inside a next button control: 

 

Publish Event=Remove Value=LoggingFeaturePROPERTY1=1 OR
PROPERTY2=1/Publish

Publish Event=AddLocal Value=LoggingFeaturePROPERTY1=0
AND PROPERTY2=0/Publish

 

But instead of adding and removing the feature LoggingFeature I end up
with 2 properties REMOVE and ADDLOCAL

 

REMOVE ends up equaling LoggingFeature

ADDLOCAL ends up equaling a comma deliminated list of all my features. 

 

When I comment out these two lines everything seems to work fine (except
for the functionality I'm trying to achieve). 

 

Any ideas? 

-
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] Publish Event is acting like Publish Property

2007-05-25 Thread Alexei Boukirev
Hello Don,

It's too late to change feature list at that time (GUI part of
install).  Asign Level attribute for your LoggingFeature and in
publish events set INSTALLLEVEL property to value above or below the
Level attribute of your feature to control whether it should be
installed or not.  Something like that :)

Friday, May 25, 2007, 3:23:15 PM, you wrote:

 I have the following 2 commands inside a “next” button control: 
  
 Publish Event=Remove
 Value=LoggingFeaturePROPERTY1=1 OR PROPERTY2=1/Publish
 Publish Event=AddLocal
 Value=LoggingFeaturePROPERTY1=0 AND PROPERTY2=0/Publish
  
 But instead of adding and removing the feature “LoggingFeature” I
 end up with 2 properties REMOVE and ADDLOCAL
  
 REMOVE ends up equaling “LoggingFeature”
 ADDLOCAL ends up equaling a comma deliminated list of all my features.
  
 When I comment out these two lines everything seems to work fine
 (except for the functionality I’m trying to achieve). 
  
 Any ideas? 




-- 
Best regards,
 Alexei Boukirev



-
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