Nevermind... I see the problem. It looks like the value of $(var.ProjectName) MUST be all in uppercase. Otherwise, the property value will not be set. This is with 3.5.1623.0. Shall I file a bug? Or this by design?
Thanks, Navid -----Original Message----- From: Navid Azimi-Garakani [mailto:naz...@microsoft.com] Sent: Monday, April 26, 2010 10:23 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Compound Properties using CustomAction? Hello, I am trying to set the value of a property using a compound name. In a nutshell, I want the following line to work: <CustomAction Id="SetUserName" Property="WEBUSERNAME" Value="[$(var.ProjectName)WEBUSERNAME]" /> Where $(var.ProjectName) is TEST and the property TESTWEBUSERNAME is being passed as a property on the command line. I have opened up the MSI using Orca and the custom actions table correctly shows the Action SetUserName with a Source of WEBUSERNAME and Target of [TESTWEBUSERNAME]. I have tried scheduling this as early as possible but yet to no avail. <InstallExecuteSequence> <Custom Action="SetUserName" Before="CostInitialize" /> </InstallExecuteSequence> I am sure that I am missing something simple here. Any help would be appreciated. Thanks, Navid ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users