costFinalize maybe too early since the user has'n yet selected which features they want, but it is the only one I can us with getting " light.exe : error LGHT0001 : Found an ActionRow with a non-existent Before action."
-----Original Message----- From: Simon Topley [mailto:simon.top...@mwhsoft.com] Sent: 21 January 2011 11:34 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Set property from feature I don't see why it would be a problem to have it scheduled in both as it amounts to the same thing, the property is set before the last dialog is shown and before the files are installed. Maybe I should clarify my question: I have an installer with 3 features, a b and c, each contain a component a, b, and c. A and B are visible, selectable features, C is hidden. I want C to be installed only with B but it can't be a child feature as it is in another file and used by other installers. I also want to show or hide the "launch app on exit" checkbox, which launches a file in feature C.. how do I do this seemingly simple task? Simon -----Original Message----- From: maksim.vazhe...@emc.com [mailto:maksim.vazhe...@emc.com] Sent: 21 January 2011 11:21 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Set property from feature Read WiX documentation. 'Sequence' attribute controls which sequences the Property assignment is sequenced in. For 'execute', the assignment is scheduled in the InstallExecuteSequence. For 'ui', the assignment is scheduled in the InstallUISequence. For 'both', the assignment is scheduled in both the InstallUISequence and the InstallExecuteSequence. The default is both. Features' selection is independent for non-parent/child features. Maksim -----Original Message----- From: Simon Topley [mailto:simon.top...@mwhsoft.com] Sent: Friday, January 21, 2011 2:12 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Set property from feature I see, so when I ask for CostFinalize I get it in the UI AND execute sequence. Is there any way to tell it to only use one of the other? Would this have a knock on effect on using the same property to enable/disable other features? Simon -----Original Message----- From: maksim.vazhe...@emc.com [mailto:maksim.vazhe...@emc.com] Sent: 21 January 2011 10:46 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Set property from feature The entry in the log MSI (c) (7C:10) [08:01:24:535]: Skipping action: SetCONFIGREQUIRED (condition is false) is written when the custom action runs during InstallUISequence, and MSI (s) (5C:2C) [08:01:43:082]: PROPERTY CHANGE: Modifying CONFIGREQUIRED property. is written during InstallExecuteSequence. If you need you property to show checkbox on UI you don't need SetProperty on InstallExecuteSequence. To correctly set check box you have to run SetProperty before your dialog with checkbox is shown. Maksim -----Original Message----- From: Simon Topley [mailto:simon.top...@mwhsoft.com] Sent: Thursday, January 20, 2011 7:05 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Set property from feature I also seem to get 2 log entries for the same thing: Action ended 08:01:24: CostFinalize. Return value 1. MSI (c) (7C:10) [08:01:24:535]: Skipping action: SetCONFIGREQUIRED (condition is false) and Action ended 08:01:43: CostFinalize. Return value 1. MSI (s) (5C:2C) [08:01:43:067]: Doing action: SetCONFIGREQUIRED Action 08:01:43: SetCONFIGREQUIRED. Action start 08:01:43: SetCONFIGREQUIRED. MSI (s) (5C:2C) [08:01:43:082]: PROPERTY CHANGE: Modifying CONFIGREQUIRED property. Its current value is '0'. Its new value: '1'. Action ended 08:01:43: SetCONFIGREQUIRED. Return value 1. in the same log file. I want to use the selection of a feature to show or hide a checkbox on the exit dialog that will launch it, and to enable/disable some other features that the user will not require if they chose not to install the WIA feature in question. This is driving me bonkers... more so -----Original Message----- From: Simon Topley [mailto:simon.top...@mwhsoft.com] Sent: 20 January 2011 15:45 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Set property from feature tell me about it. I've just tried $cWIAServices=3 and I still get the property set to "1" when that component isn't being installed. I must be missing something but I can't think what. -----Original Message----- From: maksim.vazhe...@emc.com [mailto:maksim.vazhe...@emc.com] Sent: 20 January 2011 15:01 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Set property from feature Conditions <SetProperty ...>$cWIAServices=3</SetProperty> and <SetProperty ...>&feWIA=3</SetProperty> should work correctly. Maksim -----Original Message----- From: Simon Topley [mailto:simon.top...@mwhsoft.com] Sent: Thursday, January 20, 2011 1:03 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Set property from feature just to clarify that this doesn't work for me if I use the component state instead of the feature state Simon -----Original Message----- From: Simon Topley Sent: 19 January 2011 18:10 To: 'wix-users@lists.sourceforge.net' Subject: RE: Set property from feature sorry the first one of them uses the component: <SetProperty Id="CONFIGREQUIRED" Value="1" After="CostFinalize">?cWIAServices>2 OR $cWIAServices>2</SetProperty> but i still get: MSI (s) (64:E8) [10:05:59:199]: PROPERTY CHANGE: Modifying CONFIGREQUIRED property. Its current value is '0'. Its new value: '1'. when the component is not being installed. Simon -----Original Message----- From: Simon Topley Sent: 19 January 2011 17:50 To: wix-users@lists.sourceforge.net Subject: Set property from feature Hello all, I have a simple problem with WIX 3.0 but I just can't solve it. I have a feature "feWIA" and I wish to set a property to "1" when it is selected to be installed. I've tried just about every combination I can think of but they always result in the property being set incorrectly when i do or don't select that feature to be installed: <SetProperty Id="CONFIGREQUIRED" Value="1" After="CostFinalize">?feWIA>2 OR $feWIA>2</SetProperty> <SetProperty Id="CONFIGREQUIRED" Value="1" After="CostFinalize"><![CDATA[&feWIA=3]]></SetProperty> <SetProperty Id="CONFIGREQUIRED" Value="1" After="CostFinalize"><![CDATA[(!feWIA=2) AND (&feWIA=4)]]></SetProperty> <SetProperty Id="CONFIGREQUIRED" Value="1" After="CostFinalize"><![CDATA[NOT Installed AND &feWIA=3 Or &feWIA=4]]></SetProperty> any more offers ladies and gentlemen? Any help will be kindly received. Simon Disclaimer: This electronic communication and its attachments may contain confidential, proprietary and/or legally privileged information which are for the sole use of the intended recipient. If you are not the intended recipient, any use, distribution, or reproduction of this communication is strictly prohibited and may be unlawful; please contact the sender and delete this communication. MWH Soft does not warrant or make any representation regarding this transmission whatsoever nor does it warrant that it is free from viruses or defects, correct or reliable. MWH Soft is not liable for any loss or damage that occurs as a result of this communication entering your computer network. The views expressed in this message are not necessarily those of MWH Soft. This communication cannot form a binding agreement unless that is the express intent of the parties and they are authorized to make such an agreement. MWH Soft reserves all intellectual property rights contained in this transmission. MWH Soft reserves the right to monitor any electronic communication sent or received by its employees. MWH Soft Limited is registered in England with number 6975921. Its registered office is Terriers House, 201 Amersham Rd, High Wycombe, HP13 5AJ. ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users