Thanks for your answers!
eventually I ended up doing this:
from CA:
session.SetMode(InstallRunMode.RebootNow, true);
return ActionResult.SkipRemainingActions;
and from CBA:
private void BootstrapperApplication_ExecutePackageComplete(object
sender, ExecutePackageCompleteEventArgs eventAr
>>Is it possible .and to check it from my WPF custom bootstrapper
application?
In the ApplyComplete handler (see WixBA InstallationViewModel of wix src) in
code similar to this:
if (this.root.State != this.root.PreApplyState)
{
this.root.State = Hresult.Succeeded(
If you can call MsiSetMode (installation handle,
MSIRUNMODE_REBOOTATEND) then that will result in a
ERROR_SUCCESS_REBOOT_REQUIRED returned (assuming no other errors).
---
Phil Wilson
On Mon, Apr 27, 2015 at 7:05 AM, ronif wrote:
> Hi,
>
> Is it possible to set in my c# Custom action
Hi,
Is it possible to set in my c# Custom action that a restart is required and
to check it from my WPF custom bootstrapper application?
--
View this message in context:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Restart-setting-from-CA-and-checking-from-Custon-BA-tp7600110.
4 matches
Mail list logo