cpack, wix, It's not possible to patch directories (patch attached)
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
I want to create a shortcut in the startup menu, i have to declare
<Directory Id="StartupFolder" Name="Startup"/>
on TARGETDIR
. I'm not able to do that as directory cannot be patched.
For example, add SET(CPACK_WIX_PATCH_FILE test.xml)
and in test.xml
put
<CPackWiXPatch>
<CPackWiXFragment Id="TARGETDIR">
<Directory Id="StartupFolder" Name="Startup"/>
</CPackWiXFragment>
</CPackWiXPatch>
but directories.xml
is not patched.
Edited by Brad King