How to set Property value in WIX
Usually, we can set this value as a text, while what I need is a directory name, which means I 开发者_如何学运维need set ProgramFilesFolder
to this value.
Any suggestion will be appreciated!
Take a closer look at the Directory table. Pay attention to Remarks section, especially to this sentence:
Note that when the directories are resolved during the CostFinalize action, the keys in the Directory table become properties set to directory paths.
This means that after CostFinalize action you can address any directory defined in your Directory table the way you do for properties.
精彩评论