Just to check, is it a DLL custom action you're using?  I probably should have 
pointed that out in 
my first post.

Rob

Stefan Pavlik wrote:
> Thanks for the answer.
> 
> Problem is that I can not set the public property from the deferred
> custom action. The result is the same as with MsiDoAction or
> MsiSetMode -  error 6 - Invalid handle.
> 
> Am I missing something?
> 
> Stefan
> 
> 
> Rob Hamflett wrote:
>> You could scheduled ForceReboot with a condition that is false using a 
>> property.  In the Custom 
>> Action you could change the property so that the condition became true if 
>> you needed a reboot.
>>
>> Rob
>>
>> Stefan Pavlik wrote:
>>> Hi
>>>
>>> I am installing some drivers (intermediate filter driver).
>>> During update of the product the driver needs to be uninstalled and
>>> installed again (I am not sure why).
>>> My problem is that the uninstallation of the driver sometimes ends
>>> with NETCFG_S_REBOOT error (success but reboot is required to complete).
>>>
>>> My question is:
>>> Is it possible to call the ForceReboot action from deferred Custom
>>> Action?
>>>
>>> I have tried MsiDoAction(hMsiHandle, L"ForceReboot") but if it is
>>> called from deferred custom action it ends with error 6 (invalid
>>> handle).
>>> I am able to schedule the ForceReboot action (e.g. MsiDoAction -
>>> from immediate custom action) but in this time I do not know whether
>>> the Reboot will be necessary.
>>>
>>> Thanks in advance
>>>
>>> Stefan
>>>
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by DB2 Express
>> Download DB2 Express C - the FREE version of DB2 express and take
>> control of your XML. No limits. Just data. Click to get it now.
>> http://sourceforge.net/powerbar/db2/
>> _______________________________________________
>> WiX-users mailing list
>> WiX-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>
>>
> 


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to