Hi all

After a week away, I'm back on evaluating Burn. Installation - and even 
choosing which MSI features to install - is working great.

I'm having trouble uninstalling my Burn-based test application.

I'm using the ARP "Uninstall" command.

When I install, here's what I notice:

- Command.Action = Install
- Command.Resume = None

I have one MSI package with two features. When I run Detect(), the 
DetectPackageComplete event and DetectMsiFeature event tell me that the package 
and features are all absent (as expected).

When I run Plan(), I pass in LaunchAction.Install and use the PlanMsiFeature 
event to specify which features I want installed by setting e.State = 
FeatureState.Local. Works great - and it only installs the features I specify.

Uninstall is where I have an issue.

When I run "Uninstall" on the bootstrapper from ARP, I get:

- Command.Action = Uninstall
- Command.Resume = Arp

So far so good.

When I run Detect(), the DetectPackageComplete event and DetectMsiFeature event 
tell me that the package and features are all absent, even though the package 
is installed and at least one of the features is installed. So this *seems* to 
be wrong.

I then run Plan(), passing in LaunchAction.Uninstall. I've tried ignoring 
PlanPackageBegin, PlanMsiFeature, PlanPackageComplete and PlanTargetMsiPackage. 
PlanTargetMsiPackage doesn't fire. PlanPackageComplete has e.Execute = None 
(and it's read-only). With PlanPackageBegin, e.Status is already set to Absent 
(even though it is already installed). Nothing that I do to the event args in 
PlanMsiFeature helps to uninstall.

When all is done, the ARP entry is gone (for the Burn-based bootstrapper). But 
the MSI itself is still installed internally. Takes bunch of registry mods to 
get the application "uninstalled". It even leaves the installed files behind in 
program files.

What am I missing? What events do I have to handle and how to do an uninstall?

Thanks
- Shaun



The information in this e-mail is intended solely for the addressee and access 
by anyone else is unauthorized.  Omnivex accepts no liability for the content 
of this e-mail, or for the consequences of any actions taken on the basis of 
the information provided. Any views or opinions presented in this e-mail are 
solely those of the author and do not necessarily represent those of the 
company.   Omnivex makes no warranties, express or implied and is not 
responsible for errors or omissions.

------------------------------------------------------------------------------
Malware Security Report: Protecting Your Business, Customers, and the 
Bottom Line. Protect your business and customers by understanding the 
threat from malware and how it can impact your online business. 
http://www.accelacomm.com/jaw/sfnl/114/51427462/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to