Hey Edwin, did as you said and no go... got this in the merge module: SetEALNBService.CA23A0DC_B2DE_4F2C_9E74_FD373F99E9D7 51 EALNBService.CA23A0DC_B2DE_4F2C_9E74_FD373F99E9D7 """[ProgramFilesFolder.CA23A0DC_B2DE_4F2C_9E74_FD373F99E9D7]\MyCompany\MyProduct\Services\EnterpriseAuditLogService\NServiceBus.Host.exe"" /installInfrastructure"
code was: <CustomAction Id="SetEALNBService" Property="EALNBService" Value=""[$(var.PlatformProgramFilesFolder)]\MyCompany\MyProduct\Services\EnterpriseAuditLogService\NServiceBus.Host.exe" /installInfrastructure" Execute="immediate" /> in include: <?if $(var.Platform) = x64 ?> <?define PlatformProductName = "$(var.ProductName) (64 bit)" ?> <?define Win64 = "yes" ?> <?define DotNetFramework40Folder ="[%SystemRoot]\Microsoft.NET\Framework64\v4.0.30319\" ?> <?define PlatformProgramFilesFolder = "ProgramFiles64Folder" ?> <?else ?> <?define PlatformProductName = "$(var.ProductName)" ?> <?define Win64 = "no" ?> <?define DotNetFramework40Folder ="[%SystemRoot]\Microsoft.NET\Framework\v4.0.30319\" ?> <?define PlatformProgramFilesFolder = "ProgramFilesFolder" ?> <?endif ?> Logfile results: PROPERTY CHANGE: Adding EALNBService.CA23A0DC_B2DE_4F2C_9E74_FD373F99E9D7 property. Its value is '"\MyCompany\MyProduct\Services\EnterpriseAuditLogService\NServiceBus.Host.exe" /installInfrastructure'. ** Moving that out of the merge module and placing the custom action into the product.wxs it works... ** thanks, Steve -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/define-element-for-ProgramFilesFolder-not-working-in-include-file-tp7580463p7580484.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users