I'm confused by your description of what you've done. You say your CA is C# but it looks like a property setting CA. Also you say its run before LaunchConditions but it says before InstallFiles. As far as I'm aware, any custom action that's run will be mentioned in a verbose log, whatever it does. Component conditions are evaluated during CostFinalize. If your custom action changes the property before InstallFiles, it will not alter the result of the condition. http://msdn.microsoft.com/en-us/library/windows/desktop/aa368007%28v=vs.85%29 .aspx
-----Original Message----- From: StevenOgilvie [mailto:sogil...@msn.com] Sent: 10 October 2012 17:57 To: wix-users@lists.sourceforge.net Subject: [WiX-users] silly question... re properties... Hi all, I feel like a dork asking but... If a property is a assigned value 'x' and then a custom action changes the value to same ('x') will the MSI log file just show that the custom action was run? i.e. MSI (s) (CC:90) [12:48:12:634]: Doing action: CA_TITUS_FOUNDPRODUCTPLATFORM.SetProperty Action 12:48:12: CA_TITUS_FOUNDPRODUCTPLATFORM.SetProperty. CA: Set TITUS_FOUNDPRODUCTPLATFORM property... Action start 12:48:12: CA_TITUS_FOUNDPRODUCTPLATFORM.SetProperty. Action ended 12:48:12: CA_TITUS_FOUNDPRODUCTPLATFORM.SetProperty. Return value 1. I have set the property: <Property Id="TITUS_FOUNDPRODUCTPLATFORM" Secure="yes" Value="x86"/> run the custom action, a C# custom action project which is run before launchconditions on both execute and UI sequences, the log file shows: TITUS Common Setup Toolkit: TITUS_FOUNDPRODUCTPLATFORM: x86 set the property as: <CustomAction Id="CA_TITUS_FOUNDPRODUCTPLATFORM.SetProperty" Property="TITUS_FOUNDPRODUCTPLATFORM" Value="[TITUS_FOUNDPRODUCTPLATFORM]" /> run the custom action: <Custom Action="CA_TITUS_FOUNDPRODUCTPLATFORM.SetProperty" Before="InstallFiles">NOT Installed</Custom> I have 6 components that are conditioned: <Condition></Condition> but all 6 components (6 files) are installed :( what am I doing wrong? thanks, Steve aka the noob -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/silly-question- re-properties-tp7581268.html Sent from the wix-users mailing list archive at Nabble.com. ----------------------------------------------------------------------------- - Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users SDL PLC confidential, all rights reserved. If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us. SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207. Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users