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.UCMASDKBOOTSTRAPPER_PRODUCT_ID_STR)"
Name="UninstallString"
Value="&quot;[INSTALLDIR]setup\DeployUCMASDK.exe&quot; /home 
&quot;UninstallUCMASDK.xml&quot;"
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

Reply via email to