cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
JancyJamesKoch
Level 2

Reboot prompt during a deferred custom action

Hello, 

Is there a way to schedule a reboot at the end of the installation from a deferred custom action?

If I am not wrong I cannot access the secure custom properties in deferred custom action function.

How can I prompt for a reboot(or set a property that can be accessed by the "schedulereboot Custom action") at the end of an installation 

Thank You

Labels (1)
0 Kudos
(1) Reply
varul
Revenera Moderator Revenera Moderator
Revenera Moderator

Hi @JancyJamesKoch :

I Understand that your query is regarding force reboot after installation completes.

There is a Windows Installer property called REBOOT. If you set REBOOT to "Force" the Windows Installer will force a reboot.
More information link:
https://learn.microsoft.com/en-us/windows/win32/msi/reboot

Kindly try using this property and check if you able to achieve the required behavior.

 You can also try to reboot the machine your using custom action directly, or write a different custom action and sequence it after your deferred CA and that should reboot your machine, Please refer below community post which discusses similar issue, 

https://community.flexera.com/t5/InstallShield-Forum/quot-Schedule-Reboot-at-End-quot-disabled/td-p/88413

https://www.itninja.com/question/msi-force-boot

0 Kudos