Hi Following is my custom action
<Component Id="COMP0005" Guid="0C02E2A0-B676-41DE-9484-9C6CCAEC0BE2"> <File Id="abcreg.exe" Name="abcreg" LongName="abcreg.exe" DiskId="1" Source="C:\Program Files\Application\abcreg.exe"/> <Registry Id="registry0" Root="HKLM" Key="SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinLogon\Notify\abcguard" Name="DllName" Action="write" Value="C:\Program Files\Client\logonhandler.dll" Type="string" /> </Component> <InstallExecuteSequence> <Custom Action="abcreg" After="InstallFiles" /> </InstallExecuteSequence> <CustomAction Id="abcreg" FileKey="abcreg.exe" ExeCommand="" Execute="deferred" Return="check" /> After installing, when I try to Un install this it is giving error as "There ia a problem with this windows installer package. A program reuired for this install to complete could not be run. Contact your support personnel or packaage vendor". I think I should write custom action for un install and roll back. Correct me if I wrong. Can any one tell me how to write custom actions for un install and roll back. -- View this message in context: http://www.nabble.com/Error-while-un-installing-tf4750485.html#a13583732 Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users