This is the code... <Component Id=3D"RemoveLicenseAgreementRead" Guid="{0A820032-635B-4f23-AF53-F1832F866525}"> <CreateFolder/> <RemoveRegistryKey Action="removeOnUninstall" Root="HKCU" Key="Software\Siemens\GMS\LicenceAgreementRead"/> </Component>
Thanks and Regards, Surekha -----Original Message----- From: Vuchuru, Surekha (SBT US EXT) Sent: Wednesday, November 19, 2008 12:48 PM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Removing registry key that is under HKCU fails tocompile Hello Everyone, I am trying to remove a registryentry which is under HKCU. <Component Id=3D"RemoveLicenseAgreementRead" Guid=3D"{0A820032-635B-4f23-AF53-F1832F866525}"> <CreateFolder/> <RemoveRegistryKey Action=3D"removeOnUninstall" Root=3D"HKCU" Key=3D"Software\Test\LicenceAgreementRead"/> </Component> This throws an error during compilation LGHT0204: ICE57: Component 'RemoveLicenseAgreementRead' has both per-user and per-machine data with a per-machine KeyPath. The installer is not creating the registry entry during installation. Someother application is doing that, so I cannot give "createAndRemoveOnUninstall" option during its creation. Please help me with this... Thanks and Regards, ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users