Hi there, I have a question about the following piece of Wix code. I am finding that all components added by the following foreach loop has the same GUID. Is there a way to guarantee a unique and stable GUID for each competent and still use the foreach loop?
<?foreach INST in $(var.InstList)?> <Component Id="Application.exe_$(var.INST)" Directory="DIR_$(var.INST)" > <Condition><![CDATA[INSTANCE="$(var.INST)"]]></Condition> <File Id="application.exe_$(var.INST)" Name="Application.exe" KeyPath="yes" Source="PARENT_FOLDER/Application/Application.exe" /> </Component> <?endforeach?> Thanks,Samer. ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users