Hi,

Thanks for your quick replay.

>From your update, i have passed the uninstall action as command line. Now i
get the plan action is Uninstall, but unable to uninstall the setup. I used
the following code. 

SyncBA.Model.Engine.Detect();
            
            SyncBA.hwnd = IntPtr.Zero;  

            SyncBA.Model.Engine.Plan(LaunchAction.Uninstall);

            SyncBA.Model.Engine.Apply(SyncBA.hwnd);

            SyncBA.Model.Bootstrapper.ExecuteMsiMessage +=
this.ExecuteMsiMessage;
            SyncBA.Model.Bootstrapper.ExecuteProgress +=
this.ApplyExecuteProgress;
            SyncBA.Model.Bootstrapper.PlanBegin += this.PlanBegin;
            SyncBA.Model.Bootstrapper.DetectPackageComplete +=
this.DetectedPackage;
            SyncBA.Model.Bootstrapper.DetectComplete += this.DetectComplete;
            SyncBA.Model.Bootstrapper.PlanPackageBegin +=
this.PlanPackageBegin;
            SyncBA.Model.Bootstrapper.PlanMsiFeature += this.PlanMsiFeature;
            SyncBA.Model.Bootstrapper.PlanPackageComplete +=
this.PlanPackageComplete;
            SyncBA.Model.Bootstrapper.Progress += this.ApplyProgress;
            SyncBA.Model.Bootstrapper.CacheAcquireProgress +=
this.CacheAcquireProgress;
            SyncBA.Model.Bootstrapper.CacheComplete += this.CacheComplete;
            SyncBA.Model.Bootstrapper.ExecutePackageComplete +=
this.ExecuteComplte;

Please point me to uninstall the setup.

Thanks,
Kannan

--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Burn-Planning-package-customization-tp6040489p7579352.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to