Hi folks,

I'm using the new heat dir crawler with following options:
heat.exe dir <checkdir> -ag -ke ...

this will add Guid="*" for empty directories. (see below)
<Directory Id="dirCD72679E1B889C76ED32AD249638C5AE" Name="checkdir">
    <Component Id="cmpC75F771B8B95C273CF288245AAB8D6BF" Guid="*" KeyPath="yes">
        <CreateFolder />
    </Component>
</Directory>
But this is not valid for autogenerated Guids. 

My solution is currently to remove the asterisk and use an empty GUID.
    <Component Id="cmpC75F771B8B95C273CF288245AAB8D6BF" Guid="" KeyPath="yes">

I also use Guid="" for Components which contains only <RemoveFolder> 
<Component Id="C__RemoveShortcutHelp" Guid="">
    <RemoveFolder Id="RemoveShortcutHelp" On="uninstall" />
</Component>

First I'm wondering if this is a proper solution or if this is forbidden by any 
rule (e.g. components rule). 

Second, if this is valid I want to ask if this could be added as default 
bahavior for -ag -ke heat parameter combination.

Many thanks in advance 
Dominik
-- 
View this message in context: 
http://n2.nabble.com/CreateFolder-RemoveFolder-with-Empty-Component-Guid-tp2593449p2593449.html
Sent from the wix-users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to