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
-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 required
:
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 the WiX toolset.
Subject: Re: [WiX-users] Reboots
Rob
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
WiX uses a method similar to what's described in this post:
http://forum.installsite.net/index.php?showtopic=7745p=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
, 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 required
: 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 work
I have two questions related to reboots.
1. How do I tell Windows Installer from custom action written in C that reboot
is required?
2. I need to show some custom UI at the end of installation if reboot is
pending (pure WIX, no Burn).
8 matches
Mail list logo