I've found a problem with setting TARGETDIR Property. I would like to get something like \Program Files\Company\Product.
So I decided to modify Application Information | Project Properties | Target Folder to
$PROGRAMFILES$\Siemens\$TITLE$
But application tries to install into Program Files\ and then Ttile (without Siemens). I started debugging on MSIcode tab. Then I found something strange. Set variable doesn't set to specified value. So I decided to add extra "Set variable" block. And the other one with the same arguments works fine.
Here is a screenshot with watches (slightly modified arguments - without TITLE).
Before entering first set After first set After second set

