Любой в будущем, кто изучит это и спросит, как заставить этот [% HOMEPATH] работать, то, надеюсь, это поможет вам:
<!-- Declare an action which binds the 'user home' to UserFolder
(You can replace [%HOMEDRIVE][%HOMEPATH] with [%USERPROFILE], read the difference from internet.) -->
<CustomAction
Id='SpecifyUserFolder'
Directory='UserFolder'
Value="[%HOMEDRIVE][%HOMEPATH]" />
<!-- put this before installation process -->
<InstallExecuteSequence>
<Custom Action="SpecifyUserFolder" Before="InstallFiles" />
</InstallExecuteSequence>
<!-- User home then becomes available here, because the ID matches the declared ID in CustomAction above. -->
<Directory Id='UserFolder'>
</Directory>'