Hi Mikhail,
I checked with our development team and it seems that the "Company Name" field in the "Module Details" page is used for the Summary Information of the Merge Module (it is not accessible through a property). Therefore, in a merge module project you cannot have immediate access to the manufacturer information.
The folder names are stored as text inside the MSM file, so you can use only pseudo-formatted properties for them (they are resolved when the project is built). Since there is no immediate access to the manufacturer information, I'm afraid that you cannot use it for a folder name.
A solution would be to use a custom name for the folder and a custom action to rename it before it is created. Here are the steps you can try:
- create your folder using a custom name instead of the Manufacturer property, for example "MyManufacturerFolder"
- add your files and folders in it
- in the "Custom Actions" page show the "InstallUISequence" -> "CostFinalize" standard action
- under it create a new "Directory set with formatted" custom action
- when prompted about an installation folder select your custom folder ("MyManufacturerFolder")
- in the "Custom Action Properties" page set the "Formatted Text" field to:
Code: Select all
[ProgramFilesFolder][Manufacturer]
- set the "Expression" field to "Not Installed"
- while the SHIFT key is pressed, drag this custom action over "InstallExecuteSequence" -> "CostFinalize" (this way it will run even if the installation is silent)
With this approach the custom folder in the merge module should be renamed by the custom action during install.
Regards,
Cosmin