Hi,
Is there the possibility to launch both install and uninstall actions on
different packages during one bootstrapper run?
I use the following code to launch the actions:
The declaration of the commands I use:
this.InstallCommand = new DelegateCommand(() =>
this.model.PlanAction(LaunchAction.Install/*,
this.UninstallCommand = new DelegateCommand(() =>
this.model.PlanAction(LaunchAction.Uninstall))/*,
And the UI code backend:
private void InstallProgressPage_OnEnter(object sender,
RoutedEventArgs e)
{
if (this.viewModel.UninstallRadioButton==0)
{
this.viewModel.InstallCommand.Execute(this);
}
this.viewModel.UninstallCommand.Execute(this);
}
The problem is that there are packages being uninstalled which shouldn't be.
Before i added in the UI the possibility for installing and uninstalling
packages in the same run, everything worked fine.
--
View this message in context:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Install-a-package-and-uninstall-another-tp7597757.html
Sent from the wix-users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users