Okay this is wierd... if I remove the custom action from the Merge Module and place it in my product.wxs the path is "created" properly by using <CustomAction Id="SetEALNBService" Property="EALNBService" Value=""[ProgramFilesFolder]\MyCompany\MyProduct\Services\EnterpriseAuditLogService\NServiceBus.Host.exe" /installInfrastructure" Execute="immediate" />
This gets properly changed: [ProgramFilesFolder] BUT the same line as above in my merge module does NOT... Line from log file: PROPERTY CHANGE: Adding EALNBService.CA23A0DC_B2DE_4F2C_9E74_FD373F99E9D7 property. Its value is '"\MyCompany\MyProduct\Services\EnterpriseAuditLogService\NServiceBus.Host.exe" /installInfrastructure'. as a work around I have moved my custom action for the services from the merge modules to the product.wxs BUT it should work in a merge module!! -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/define-element-for-ProgramFilesFolder-not-working-in-include-file-tp7580463p7580481.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