I've been able to install my bundle with Burn, but I'm having trouble uninstalling it. I have an uninstall button on the UI that when clicked calls a method that starts the Plan phase:
public void StartUninstalling(Window mainWindow) { this.mainWindow = mainWindow; this.Engine.Log(LogLevel.Standard, "Starting uninstall..."); CustomBootstrapperApplication.Dispatcher.Invoke((Action)(() => this.Engine.Plan(LaunchAction.Uninstall))); } The other event handlers, PlanComplete (which calls Apply) and ApplyComplete (which calls InvokeShutdown on the Dispatcher), are the same as used for the install. Nothing gets uninstalled though. I see this in the Burn log, as if nothing is happening during the Apply phase. Am I missing something? I also read something that suggests a reboot may be required. I rebooted the machine and after startup, the custom BA's UI shows up again, but I'm pretty much back where I started at that point. [0604:05E8][2012-07-09T00:13:48]: Launching CustomBootstrapper UI [0604:05E8][2012-07-09T00:13:50]: Starting uninstall... [0604:05B0][2012-07-09T00:13:50]: Plan 1 packages, action: Uninstall [0604:05B0][2012-07-09T00:13:50]: Setting string variable 'WixBundleRollbackLog_WindowsApp.Installer.msi' to value 'C:\Users\Win7\AppData\Local\Temp\WindowsApp.Bootstrapper_20120709001347_0_WindowsApp.Installer.msi_rollback.log' [0604:05B0][2012-07-09T00:13:50]: Setting string variable 'msilog' to value 'C:\Users\Win7\AppData\Local\Temp\WindowsApp.Bootstrapper_20120709001347_0_WindowsApp.Installer.msi.log' [0604:05B0][2012-07-09T00:13:50]: Planned package: WindowsApp.Installer.msi, state: Present, default requested: Absent, ba requested: Absent, execute: Uninstall, rollback: Install, cache: No, uncache: Yes, dependency: Unregister [0604:05B0][2012-07-09T00:13:50]: Calling PlanComplete [0604:05B0][2012-07-09T00:13:50]: Plan complete, result: 0x0 *[0604:05B0][2012-07-09T00:13:50]: Apply begin [0604:05B0][2012-07-09T00:13:50]: Calling ApplyComplete* [0604:05B0][2012-07-09T00:13:50]: *Apply complete, result: 0x8007015e, restart: Required*, ba requested restart: No [0604:05B0][2012-07-09T00:13:50]: Shutting down, exit code: 0x0 [0604:05B0][2012-07-09T00:13:50]: Variable: msilog = C:\Users\Win7\AppData\Local\Temp\WindowsApp.Bootstrapper_20120709001347_0_WindowsApp.Installer.msi.log [0604:05B0][2012-07-09T00:13:50]: Variable: WixBundleAction = 3 [0604:05B0][2012-07-09T00:13:50]: Variable: WixBundleElevated = 0 [0604:05B0][2012-07-09T00:13:50]: Variable: WixBundleForcedRestartPackage = WindowsApp.Installer.msi [0604:05B0][2012-07-09T00:13:50]: Variable: WixBundleLog = C:\Users\Win7\AppData\Local\Temp\WindowsApp.Bootstrapper_20120709001347.log [0604:05B0][2012-07-09T00:13:50]: Variable: WixBundleName = WindowsApp.Bootstrapper [0604:05B0][2012-07-09T00:13:50]: Variable: WixBundleOriginalSource = C:\Users\Win7\Desktop\WindowsApp.Bootstrapper.exe [0604:05B0][2012-07-09T00:13:50]: Variable: WixBundleProviderKey = {982b848f-535a-4c62-9143-bbe31b3fa981} [0604:05B0][2012-07-09T00:13:50]: Variable: WixBundleRollbackLog_WindowsApp.Installer.msi = C:\Users\Win7\AppData\Local\Temp\WindowsApp.Bootstrapper_20120709001347_0_WindowsApp.Installer.msi_rollback.log [0604:05B0][2012-07-09T00:13:50]: Variable: WixBundleTag = [0604:05B0][2012-07-09T00:13:50]: Variable: WixBundleVersion = 1.0.0.0 [0604:05B0][2012-07-09T00:13:50]: Exit code: 0x0, restarting: No -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-uninstall-Burn-bundle-tp7579345.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