ktoś w przyszłości, patrząc na to, i zastanawiasz się, jak to zrobić [% HOMEPATH] poskutkuje, to mam nadzieję, że to pomaga:
<!-- 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>'
PersonalFolder to folder Dokumenty dla bieżącego użytkownika, szukam rzeczywisty folder użytkownika. Zrobimy jednak folder Documents, dzięki! – Rob
Ah! Przepraszam za to. Cieszę się, że i tak się udało. – gymbrall