WiX uses a method similar to what's described in this post:
http://forum.installsite.net/index.php?showtopic=7745&p=20726
Only instead of using a file with a predefined name in %TMP% dir it uses a
global atom-table string.
To use it call WcaDeferredActionRequiresReboot from your deferred CA code
(
ilure(hr, "Failed to SetProperty for Foo");
}
LExit:
er = SUCCEEDED(hr) ? ERROR_SUCCESS : ERROR_INSTALL_FAILURE;
return WcaFinalize(er);
}
-Original Message-
From: Ivanoff, Alex [mailto:alex.ivan...@shavlik.com]
Sent: Thursday, March 12, 2015 2:25 PM
To: General discussion about
Rob,
Can you be more specific? I am not that familiar with wcautil.lib.
-Original Message-
From: Phil Wilson [mailto:phildgwil...@gmail.com]
Sent: Thursday, March 12, 2015 12:08
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] Reboots
MsiDoAction() on
sm to do that.
>
> _
> Short replies here. Complete answers over there: http://www.firegiant.com/
>
>
> -Original Message-
> From: Ivanoff, Alex [mailto:alex.ivan...@shavlik.com]
> Sent: Wednesday, March 11, 2015 11:42 AM
> To: General discussion about th
, 2015 11:42 AM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] Reboots
MsiSetMode does not seem to work when called from deferred custom action. So,
my question should have been "How do I tell Windows Installer from deferred
custom action written in C that reboot is req
1. Call MsiSetMode (..) with one of the reboot choices depending
on when you want the reboot to happen.
2. Condition the dialog on the ReplacedInUseFiles property. That
should work, if not use MsiGetMode() to see if a reboot is pending.
However Windows Installer will show a dialog anyway and o
com]
Sent: Wednesday, March 11, 2015 12:18
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] Reboots
1. Call MsiSetMode (..) with one of the reboot choices depending on when
you want the reboot to happen.
2. Condition the dialog on the ReplacedInUseFiles property. That should
: General discussion about the WiX toolset.
Subject: Re: [WiX-users] Reboots
1. Call MsiSetMode (..) with one of the reboot choices depending on when
you want the reboot to happen.
2. Condition the dialog on the ReplacedInUseFiles property. That should work,
if not use MsiGetMode() to see if a
8 matches
Mail list logo