Are you trying to modify the UninstallString for the current installer or creating a new ARP entry? You can't modify the UninstallString for the current installer because your registry change will be overwritten when the product registers itself on the system at the end of the installation. Instead, you can set your installer to a system component and then write your own ARP entry.
-Brian Simoneau -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nilkund Aseef Sent: Thursday, August 21, 2008 1:53 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Unable to write the UninstallString value Hello, I am writing an installer and one of the requirement is to call my own executable when the user wants to uninstall the msi from ARP. In order to do this, I have updated the .wxs file so that it modifies the UninstallString registry key to point to my custom exe (as below). <Component Win64="$(var.win64_yesno)" Id="Bootstrapper" Guid="44F6160D-8DD7-44DC-B6D2-F154F33D9ABA"> <File Id="DeployUCMASDK.exe" ShortName="DUCMASDK.exe" Name="DeployUCMASDK.exe" KeyPath="yes" /> <RegistryValue Id="BootStrapperReg1" Root="HKLM" Key="SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$(var.UCMASDKBO OTSTRAPPER_PRODUCT_ID_STR)" Name="UninstallString" Value=""[INSTALLDIR]setup\DeployUCMASDK.exe" /home "UninstallUCMASDK.xml"" Type="expandable" /> </Component> However this is not working. Can someone help me on what I could be missing Secondly if there is a better way to do this ( like directly accessing a Wix property )? Thanks for your time, Aseef. ------------------------------------------------------------------------ - 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