The keypath is used to generate the guid at compile time, and I assume in your example the registry key is the keypath.
Properties in the registry path will only be resolved at runtime which means that the property name is being used for guid generation. Use your $(var.version) to replace the [VERSION] and you should get a differing guid. Note though that this guid will change every time the $(var.VERSION) changes which may not be what you want between differing releases of an installer. Dave -----Original Message----- From: thomas.debo...@rohde-schwarz.com [mailto:thomas.debo...@rohde-schwarz.com] Sent: 02 December 2011 11:59 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Component GUID * - same for two different builds Hi, I have a problem with an automatic generated GUID. We use "<Component Id="Component.RegistryHKLM" Guid="*">" for our registry component. Now we build two different Versions on two different build systems but get the same GUID generated in both setups. :-( The problem is, that we can install both versions side by side. The registry key contain the version to seperate the values for both versions like <RegistryValue Action="write" Id="ContestInstallDir" Key="SOFTWARE\ Company\Product\[VERSION]" Name="InstallDir" Root="HKLM" Type="string" Value="[INSTALLLOCATION]$(var.VERSION)\bin" /> But when I now uninstall one of these version the registry values will not be removed as the component with same name and GUID is referenced from the other version as well. What is the way the GUID will be generated or what can I do to get a different GUID generated for the different versions? Many thanks, Thomas ----------------------------------------------------------------------------- - All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users SDL PLC confidential, all rights reserved. If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us. SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207. Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users