Hey Dominik,

The Component/@Guid="*" is the valid way to auto generate GUIDs. There is
another switch -gg that generates GUIDs for you. What issue are using seeing
using the "*"?



Hi Brian,

sorry for mixing Component/@Guid and Heat issue in my first message

yes but not if only a <CreateFolder> Element is places in Component:
<Directory Id="dir1" Name="EmptyDir">
    <Component Id="cmp1" Guid="*" KeyPath="yes">
        <CreateFolder />
    </Component>
</Directory>

I'll get following error:
"The Component/@Guid attribute's value '*' is not valid for this component 
because it does not meet the some of the criteria for having an automatically 
generated guid.  Only components with no ODBCDataSource child elements and 
either exactly one file which is the key path or no files and a registry with 
no Property substitutions as the key path may use an automatically generated 
guid."

So my solution is to remove the asterisk from Component/@Guid
    <Component Id="cmp1" Guid="" KeyPath="yes">
        <CreateFolder />
    </Component>

My very first question is: Is it valid to use an empty Component/@Guid for 
CreateFolder (and RemoveFolder as I use this too)

Side Note: I also tried -gg switch on Heat, but then I always get different 
guids on each run. Where Guid="*" is supposed to created stable Guids as long 
as the path remains stable.

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


------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to